Author: David Schneider <[email protected]>
Branch:
Changeset: r703:a0e1acb66eda
Date: 2012-10-04 12:46 -0300
http://bitbucket.org/pypy/buildbot/changeset/a0e1acb66eda/
Log: add a step to move generated and copied header files to the checkout
used to run the app-level tests
diff --git a/bot2/pypybuildbot/builds.py b/bot2/pypybuildbot/builds.py
--- a/bot2/pypybuildbot/builds.py
+++ b/bot2/pypybuildbot/builds.py
@@ -415,7 +415,11 @@
workdir='.',
blocksize=100 * 1024))
+
class TranslatedTests(factory.BuildFactory):
+ '''
+ Download a pypy nightly build and run the app-level tests on the binary
+ '''
def __init__(self, platform='linux',
app_tests=False,
@@ -455,10 +459,15 @@
command=['tar', '--extract', '--file=pypy_build'+ extension,
'--strip-components=1', '--directory=.'],
workdir='pypy-c'))
- # copy pypy-c to the expected location within the pypy source checkout
+ # copy pypy-c to the expected location within the pypy source checkout
self.addStep(ShellCmd(
description="move pypy-c",
- command=['cp', 'pypy-c/bin/pypy',
'build/pypy/translator/goal/pypy-c'],
+ command=['cp', '-v', 'pypy-c/bin/pypy',
'build/pypy/translator/goal/pypy-c'],
+ workdir='.'))
+ # copy generated and copied header files
+ self.addStep(ShellCmd(
+ description="move header files",
+ command=['cp', '-vr', 'pypy-c/include/', 'build/include/'],
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