[pypy-svn] r67833 - pypy/branch/remove-plfbid/pypy

arigo at codespeak.net arigo at codespeak.net
Mon Sep 21 19:41:48 CEST 2009


Author: arigo
Date: Mon Sep 21 19:41:48 2009
New Revision: 67833

Modified:
   pypy/branch/remove-plfbid/pypy/testrunner_cfg.py
Log:
(pedronis, arigo)
Add support for an env variable, PYPYCHERRYPICK, passed from buildbot's
builders to select specific directories to run test in.


Modified: pypy/branch/remove-plfbid/pypy/testrunner_cfg.py
==============================================================================
--- pypy/branch/remove-plfbid/pypy/testrunner_cfg.py	(original)
+++ pypy/branch/remove-plfbid/pypy/testrunner_cfg.py	Mon Sep 21 19:41:48 2009
@@ -1,4 +1,5 @@
 # nightly test configuration for the paraller runner
+import os
 
 def collect_one_testdir(testdirs, reldir, tests):
     if (reldir.startswith('translator/c/') or 
@@ -10,4 +11,7 @@
     else:
         testdirs.append(reldir)
 
-    
+
+_cherrypick = os.getenv('PYPYCHERRYPICK', '')
+if _cherrypick:
+    cherrypick = _cherrypick.split(':')



More information about the Pypy-commit mailing list