Mercurial > lcfOS
diff python/testc3.py @ 191:6b2bec5653f1
Added assembler testset
author | Windel Bouwman |
---|---|
date | Sun, 26 May 2013 15:28:07 +0200 |
parents | bf5ab358f43a |
children | b01429a5d695 |
line wrap: on
line diff
--- a/python/testc3.py Sat May 25 15:15:42 2013 +0200 +++ b/python/testc3.py Sun May 26 15:28:07 2013 +0200 @@ -201,8 +201,10 @@ return b; } """ - ir = self.builder.build(snippet) - self.assertTrue(ir) + ircode = self.builder.build(snippet) + if not ircode: + self.diag.printErrors(snippet) + self.assertTrue(ircode) def test2(self): # testsrc2 is valid code: self.diag.clear()