Armin Rigo  committed 5afd0cd

I *think* this should skip tests when running from the backend/*/test
directory and the tests require some more support that what the real
cpu provides.

  • Participants
  • Parent commits e23dbce
  • Branches default

Comments (0)

Files changed (1)

File rpython/jit/metainterp/test/

     cw = codewriter.CodeWriter(cpu, [FakeJitDriverSD()])
     cw.debug = True = cw
+    if supports_floats and not cpu.supports_floats:
+        py.test.skip("this test requires supports_floats=True")
+    if supports_longlong and not cpu.supports_longlong:
+        py.test.skip("this test requires supports_longlong=True")
+    if supports_singlefloats and not cpu.supports_singlefloats:
+        py.test.skip("this test requires supports_singlefloats=True")
     policy = JitPolicy()