view 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
line wrap: on
line source

import unittest
import zcc

class ZccTestCase(unittest.TestCase):
    """ Tests the compiler driver """

    def testBlinkDemo(self):
        """ Compile blink.c3 """
        #args = zcc.parser.parse_args(['-d', 'stm32f4/blink.c3'])
        args = zcc.parser.parse_args(['stm32f4/blink.c3'])
        zcc.main(args)

if __name__ == '__main__':
    unittest.main()