From 9a09f954a5ae91b9dfe9621cd2391f613090a9d8 Mon Sep 17 00:00:00 2001 From: schneefux Date: Wed, 10 Sep 2014 19:16:56 +0200 Subject: vocabcompiler unittest can now be enable via command line argument --- client/test.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) -- cgit v1.3.1