Mercurial > lcfOS
diff test/testzcc.py @ 286:d9df72971cbf
Changed package to module
author | Windel Bouwman |
---|---|
date | Fri, 15 Nov 2013 13:52:32 +0100 |
parents | 05184b95fa16 |
children | 1c7c1e619be8 |
line wrap: on
line diff
--- a/test/testzcc.py Fri Nov 15 13:45:34 2013 +0100 +++ b/test/testzcc.py Fri Nov 15 13:52:32 2013 +0100 @@ -4,13 +4,14 @@ import outstream import ppci + class ZccTestCase(unittest.TestCase): """ Tests the compiler driver """ def do(self, fn): """ Compile blink.c3 """ - args = zcc.parser.parse_args([fn, '--package_dir', './c3examples']) - zcc.main(args) + args = zcc.parser.parse_args([fn, '--package_dir', './c3examples/']) + self.assertEqual(0, zcc.main(args)) def testExamples(self): """ Test all examples in the c3/examples directory """