[pypy-svn] r45636 - pypy/dist/pypy/lang/test

fijal at codespeak.net fijal at codespeak.net
Mon Aug 13 18:58:36 CEST 2007


Author: fijal
Date: Mon Aug 13 18:58:36 2007
New Revision: 45636

Modified:
   pypy/dist/pypy/lang/test/test_translation.py
Log:
use boehm by default, disallow creating targets in current dir


Modified: pypy/dist/pypy/lang/test/test_translation.py
==============================================================================
--- pypy/dist/pypy/lang/test/test_translation.py	(original)
+++ pypy/dist/pypy/lang/test/test_translation.py	Mon Aug 13 18:58:36 2007
@@ -14,12 +14,14 @@
     def translate(self, targetname):
         config = get_combined_translation_config(translating=True)
         config.translation.backend = 'c'
+        config.translation.gc = 'boehm'
         targetspec = 'pypy.translator.goal.' + targetname
         mod = __import__(targetspec)
         targetspec_dic = sys.modules[targetspec].__dict__
         t = translator.TranslationContext()
         drv = driver.TranslationDriver.from_targetspec(targetspec_dic, config, [],
                                                        empty_translator=t)
+        drv.exe_name = None
         drv.proceed('compile')
 
     def test_scheme(self):



More information about the Pypy-commit mailing list