annotate 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
rev   line source
208
4cb47d80fd1f Added zcc test
Windel Bouwman
parents:
diff changeset
1 import unittest
4cb47d80fd1f Added zcc test
Windel Bouwman
parents:
diff changeset
2 import zcc
4cb47d80fd1f Added zcc test
Windel Bouwman
parents:
diff changeset
3
4cb47d80fd1f Added zcc test
Windel Bouwman
parents:
diff changeset
4 class ZccTestCase(unittest.TestCase):
4cb47d80fd1f Added zcc test
Windel Bouwman
parents:
diff changeset
5 """ Tests the compiler driver """
4cb47d80fd1f Added zcc test
Windel Bouwman
parents:
diff changeset
6
4cb47d80fd1f Added zcc test
Windel Bouwman
parents:
diff changeset
7 def testBlinkDemo(self):
4cb47d80fd1f Added zcc test
Windel Bouwman
parents:
diff changeset
8 """ Compile blink.c3 """
235
ff40407c0240 Fix ALabel to Label
Windel Bouwman
parents: 208
diff changeset
9 #args = zcc.parser.parse_args(['-d', 'stm32f4/blink.c3'])
ff40407c0240 Fix ALabel to Label
Windel Bouwman
parents: 208
diff changeset
10 args = zcc.parser.parse_args(['stm32f4/blink.c3'])
208
4cb47d80fd1f Added zcc test
Windel Bouwman
parents:
diff changeset
11 zcc.main(args)
4cb47d80fd1f Added zcc test
Windel Bouwman
parents:
diff changeset
12
4cb47d80fd1f Added zcc test
Windel Bouwman
parents:
diff changeset
13 if __name__ == '__main__':
4cb47d80fd1f Added zcc test
Windel Bouwman
parents:
diff changeset
14 unittest.main()
4cb47d80fd1f Added zcc test
Windel Bouwman
parents:
diff changeset
15