[pypy-svn] r17697 - pypy/dist/lib-python

ac at codespeak.net ac at codespeak.net
Tue Sep 20 17:16:07 CEST 2005


Author: ac
Date: Tue Sep 20 17:16:07 2005
New Revision: 17697

Modified:
   pypy/dist/lib-python/conftest.py
Log:
Use ast compiler for test_global

Modified: pypy/dist/lib-python/conftest.py
==============================================================================
--- pypy/dist/lib-python/conftest.py	(original)
+++ pypy/dist/lib-python/conftest.py	Tue Sep 20 17:16:07 2005
@@ -514,11 +514,7 @@
 
     RegrTest('test_gl.py', enabled=False, dumbtest=1),
     RegrTest('test_glob.py', enabled=True, core=True),
-    RegrTest('test_global.py', enabled=True, core=True, compiler='_stable'),
-        # this fails because it relies on the warnings module 
-        # turning a warning into an exception, but PyPy's
-        # interplevel doesn't call into the app-level warnings
-        # module 
+    RegrTest('test_global.py', enabled=True, core=True, compiler='ast'),
     RegrTest('test_grammar.py', enabled=True, core=True),
     RegrTest('test_grp.py', enabled=False),
         #rev 10840: ImportError: grp
@@ -876,8 +872,9 @@
             pypy_options.append('--oldstyle') 
         if regrtest.uselibfile: 
             pypy_options.append('--uselibfile')
-        if regrtest.compiler:
-            pypy_options.append('--compiler=%s' % regrtest.compiler)
+        #if regrtest.compiler:
+        #    pypy_options.append('--compiler=%s' % regrtest.compiler)
+        pypy_options.append('--compiler=ast')
         pypy_options.extend(
             ['--usemodules=%s' % mod for mod in regrtest.usemodules])
         sopt = " ".join(pypy_options) 



More information about the Pypy-commit mailing list