Commit Graph

5 Commits

Author SHA1 Message Date
Inari Listenmaa 4c02a6c6d1 (unittest) Add option to only use cc, never parse
Usage like before, but add -only-cc as one of the arguments. For example:

`python3 unittest/unittest.py src/somali/unittest/vp.gftest -only-cc`

In order for it to work, the test file has to only contain test cases like this:

```
LangSom: isku BIND ma barto
Lang: PhrUtt NoPConj (UttS (UseCl (TTAnt TPres ASimul) PNeg (PredVP (UsePron youSg_Pron) (ReflVP (SlashV2a teach_V2))))) NoVoc
```

&+ needs to be written as BIND.
2019-08-11 14:34:55 +02:00
John J. Camilleri 2d3d382a41 unittest: create README.md as main documentation 2019-08-05 10:57:26 +02:00
Peter Ljunglöf 7cbe4e7810 unittest: adding support for Python- or GF-style comments 2019-07-12 10:39:16 +02:00
Peter Ljunglöf 29ee6d0d70 unittest: updated the script to be able to work from the unittest directory 2019-07-12 10:39:16 +02:00
Peter Ljunglöf 9646629fb3 unittest: Move script to new directory 2019-07-12 10:39:16 +02:00