Mercurial > lcfOS
comparison python/testzcc.py @ 235:ff40407c0240
Fix ALabel to Label
author | Windel Bouwman |
---|---|
date | Mon, 15 Jul 2013 17:20:37 +0200 |
parents | 4cb47d80fd1f |
children | 81752b0f85a5 |
comparison
equal
deleted
inserted
replaced
234:83781bd10fdb | 235:ff40407c0240 |
---|---|
4 class ZccTestCase(unittest.TestCase): | 4 class ZccTestCase(unittest.TestCase): |
5 """ Tests the compiler driver """ | 5 """ Tests the compiler driver """ |
6 | 6 |
7 def testBlinkDemo(self): | 7 def testBlinkDemo(self): |
8 """ Compile blink.c3 """ | 8 """ Compile blink.c3 """ |
9 args = zcc.parser.parse_args(['-d', 'stm32f4/blink.c3']) | 9 #args = zcc.parser.parse_args(['-d', 'stm32f4/blink.c3']) |
10 args = zcc.parser.parse_args(['stm32f4/blink.c3']) | |
10 zcc.main(args) | 11 zcc.main(args) |
11 | 12 |
12 if __name__ == '__main__': | 13 if __name__ == '__main__': |
13 unittest.main() | 14 unittest.main() |
14 | 15 |