diff python/testzcc.py @ 276:56d37ed4b4d2

phaa
author Windel Bouwman
date Mon, 16 Sep 2013 21:51:17 +0200
parents f5fba5b554d7
children
line wrap: on
line diff
--- a/python/testzcc.py	Sat Sep 14 17:29:10 2013 +0200
+++ b/python/testzcc.py	Mon Sep 16 21:51:17 2013 +0200
@@ -9,13 +9,12 @@
 
     def do(self, fn):
         """ Compile blink.c3 """
-        #args = zcc.parser.parse_args(['-d', 'stm32f4/blink.c3'])
-        args = zcc.parser.parse_args([fn])
+        args = zcc.parser.parse_args([fn, '--package_dir', './c3/examples'])
         zcc.main(args)
 
     def testExamples(self):
         """ Test all examples in the c3/examples directory """
-        example_filenames = glob.glob('./stm32f4/*.c3')
+        example_filenames = glob.glob('./c3/examples/*.c3')
         for filename in example_filenames:
             self.do(filename)