diff test/testir.py @ 317:e30a77ae359b

Added glue blocks
author Windel Bouwman
date Sun, 22 Dec 2013 15:50:59 +0100
parents 68b01c8abf8a
children 86b02c98a717
line wrap: on
line diff
--- a/test/testir.py	Sat Dec 21 13:13:26 2013 +0100
+++ b/test/testir.py	Sun Dec 22 15:50:59 2013 +0100
@@ -27,13 +27,13 @@
         self.b.setBlock(bb)
         self.b.emit(ir.Exp(ir.Const(0)))
         self.b.emit(ir.Jump(f.epiloog))
-        self.m.check()
         # Run interpreter:
         # r = self.m.getFunction('add').call(1, 2)
         #self.assertEqual(3, r)
 
 
 class PatternMatchTestCase(unittest.TestCase):
+    @unittest.skip('Not yet implemented')
     def testSimpleTree(self):
         t = ir.Term('x')
         pat = ir.Binop(ir.Const(2), '+', t)
@@ -42,6 +42,7 @@
         self.assertIn(t, mp)
         self.assertEqual(3, mp[t])
 
+    @unittest.skip('Not yet implemented')
     def testSimpleTree2(self):
         t = ir.Term('x')
         t2 = ir.Term('y')