diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2014-09-10 19:16:56 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2014-09-11 10:41:15 -0400 |
| commit | 9a09f954a5ae91b9dfe9621cd2391f613090a9d8 (patch) | |
| tree | a64fd4548ec5f5f10b14fa57418a734edaa865e5 | |
| parent | 555fe2fd109610c832c23c084abeb032cc91152a (diff) | |
| download | jasper-client-9a09f954a5ae91b9dfe9621cd2391f613090a9d8.tar.gz jasper-client-9a09f954a5ae91b9dfe9621cd2391f613090a9d8.zip | |
vocabcompiler unittest can now be enable via command line argument
| -rw-r--r-- | client/test.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/client/test.py b/client/test.py index 14c13e1..98838d6 100644 --- a/client/test.py +++ b/client/test.py @@ -233,11 +233,14 @@ if __name__ == '__main__': description='Test suite for the Jasper client code.') parser.add_argument('--light', action='store_true', help='runs a subset of the tests (only requires Python dependencies)') + parser.add_argument('--vocabcompiler', action='store_true', + help='runs the vocabcompiler test (independently of the --light argument)') args = parser.parse_args() test_cases = [TestBrain, TestModules] - if not args.light: + if args.vocabcompiler: test_cases.append(TestVocabCompiler) + if not args.light: test_cases.append(TestG2P) test_cases.append(TestMic) |
