Commits

Philip Jenvey committed 92e51c3

skip these under appdirect

  • Participants
  • Parent commits 153e509
  • Branches py3k

Comments (0)

Files changed (2)

File pypy/module/_ffi/test/test_funcptr.py

         pow = libm.getfunc('pow', [types.double, types.double], types.double)
         assert pow(2, 3) == 8
 
+    @py.test.mark.skipif("py.test.config.option.runappdirect")
     def test_getaddr(self):
         from _ffi import CDLL, types
         libm = CDLL(self.libm_name)
         pow = libm.getfunc('pow', [types.double, types.double], types.double)
         assert pow.getaddr() == self.pow_addr
 
+    @py.test.mark.skipif("py.test.config.option.runappdirect")
     def test_getaddressindll(self):
         import sys
         from _ffi import CDLL

File pypy/module/gc/test/test_referents.py

             if x is l7t:
                 break   # found
         else:
-            assert 0, "the tuple (7,) is not found as gc.get_referrers(7)"
+            if i7 is self.ALL_ROOTS[3][0]: # not the case under runappdirect
+                assert 0, "the tuple (7,) is not found as gc.get_referrers(7)"