Author: David Schneider <[email protected]>
Branch: 
Changeset: r709:72f31d60f4cf
Date: 2012-10-15 16:12 -0300
http://bitbucket.org/pypy/buildbot/changeset/72f31d60f4cf/

Log:    copy ctypes_resource_cache to checkout used for testing

diff --git a/bot2/pypybuildbot/builds.py b/bot2/pypybuildbot/builds.py
--- a/bot2/pypybuildbot/builds.py
+++ b/bot2/pypybuildbot/builds.py
@@ -440,7 +440,7 @@
         # download corresponding nightly build
         self.addStep(ShellCmd(
             description="Clear pypy-c",
-            command= ['rm', '-rf', 'pypy-c'],
+            command=['rm', '-rf', 'pypy-c'],
             workdir='.'))
         extension = get_extension(platform)
         name = build_name(platform, pypyjit, translationArgs, 
placeholder='%(revision)s') + extension
@@ -469,6 +469,11 @@
             description="move header files",
             command=['cp', '-vr', 'pypy-c/include', 'build'],
             workdir='.'))
+        # copy ctypes_resource_cache generated during translation
+        self.addStep(ShellCmd(
+            description="move ctypes resource cache",
+            command=['cp', '-rv', 'pypy-c/lib_pypy/ctypes_config_cache', 
'build/lib_pypy'],
+            workdir='.'))
 
         add_translated_tests(self, prefix, platform, app_tests, lib_python, 
pypyjit)
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to