[pypy-svn] r58369 - pypy/build/testrunner

pedronis at codespeak.net pedronis at codespeak.net
Tue Sep 23 12:00:30 CEST 2008


Author: pedronis
Date: Tue Sep 23 12:00:30 2008
New Revision: 58369

Modified:
   pypy/build/testrunner/runner.py
Log:
(iko, pedronis)

don't die on missing configs, show which one are used



Modified: pypy/build/testrunner/runner.py
==============================================================================
--- pypy/build/testrunner/runner.py	(original)
+++ pypy/build/testrunner/runner.py	Tue Sep 23 12:00:30 2008
@@ -213,7 +213,9 @@
     # in that code function overriding method should not take self
     # though a self and self.__class__ are available if needed
     for config_py_file in opts.config:
-        execfile(config_py_file, run_param.__dict__)
+        if py.path.local(config_py_file).check(file=1):
+            print >>out, "using config", config_py_file
+            execfile(config_py_file, run_param.__dict__)
     
     run_param.collect_testdirs(testdirs)
 



More information about the Pypy-commit mailing list