Mercurial > lcfOS
diff test/testasm.py @ 290:7b38782ed496
File moves
author | Windel Bouwman |
---|---|
date | Sun, 24 Nov 2013 11:24:15 +0100 |
parents | 05184b95fa16 |
children | 534b94b40aa8 |
line wrap: on
line diff
--- a/test/testasm.py Thu Nov 21 15:46:50 2013 +0100 +++ b/test/testasm.py Sun Nov 24 11:24:15 2013 +0100 @@ -4,11 +4,11 @@ from ppci import CompilerError from asmnodes import AInstruction, ABinop, AUnop, ASymbol, ALabel, ANumber from asm import tokenize, Assembler -import msp430 -import cortexm3 as arm +import target.armtarget as arm import outstream from target import Label + class AssemblerLexingCase(unittest.TestCase): """ Tests the assemblers lexer """ @@ -33,6 +33,7 @@ with self.assertRaises(CompilerError): list(tokenize(asmline)) + class AssemblerParsingTestCase(unittest.TestCase): """ Tests the assembler parts @@ -313,6 +314,4 @@ self.check('32b41519 94420198 049332bc a340ab42 f6d0f5d1 f4e7') if __name__ == '__main__': - #cProfile.run('unittest.main()') unittest.main() -