Mercurial > lcfOS
annotate python/testzcc.py @ 232:e621e3ba78d2
Added left shift instruction
author | Windel Bouwman |
---|---|
date | Sun, 14 Jul 2013 11:50:58 +0200 |
parents | 4cb47d80fd1f |
children | ff40407c0240 |
rev | line source |
---|---|
208 | 1 import unittest |
2 import zcc | |
3 | |
4 class ZccTestCase(unittest.TestCase): | |
5 """ Tests the compiler driver """ | |
6 | |
7 def testBlinkDemo(self): | |
8 """ Compile blink.c3 """ | |
9 args = zcc.parser.parse_args(['-d', 'stm32f4/blink.c3']) | |
10 zcc.main(args) | |
11 | |
12 if __name__ == '__main__': | |
13 unittest.main() | |
14 |