1. Pypy
  2. Untitled project
  3. pypy

Commits

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/support.py

View file
  • Ignore whitespace
     cw = codewriter.CodeWriter(cpu, [FakeJitDriverSD()])
     cw.debug = True
     testself.cw = 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()
     policy.set_supports_floats(supports_floats)
     policy.set_supports_longlong(supports_longlong)