Author: David Schneider <[email protected]>
Branch: buildbot-update
Changeset: r847:974cf627bd32
Date: 2013-08-30 16:32 +0200
http://bitbucket.org/pypy/buildbot/changeset/974cf627bd32/
Log: add haltOnFailure to some ShellCmd instances
diff --git a/bot2/pypybuildbot/builds.py b/bot2/pypybuildbot/builds.py
--- a/bot2/pypybuildbot/builds.py
+++ b/bot2/pypybuildbot/builds.py
@@ -390,22 +390,27 @@
self.addStep(ShellCmd(
description="decompress pypy-c",
command=['tar', '--extract', '--file=pypy_build'+ extension,
'--strip-components=1', '--directory=.'],
- workdir='pypy-c'))
+ workdir='pypy-c',
+ haltOnFailure=True,
+ ))
# copy pypy-c to the expected location within the pypy source checkout
self.addStep(ShellCmd(
description="move pypy-c",
command=['cp', '-v', 'pypy-c/bin/pypy', 'build/pypy/goal/pypy-c'],
+ haltOnFailure=True,
workdir='.'))
# copy generated and copied header files to build/include
self.addStep(ShellCmd(
description="move header files",
command=['cp', '-vr', 'pypy-c/include', 'build'],
+ haltOnFailure=True,
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'],
+ haltOnFailure=True,
workdir='.'))
add_translated_tests(self, prefix, platform, app_tests, lib_python,
pypyjit)
@@ -430,6 +435,7 @@
command=prefix + ["python", "pypy/tool/release/package.py",
".", WithProperties(name), 'pypy',
'.'],
+ haltOnFailure=True,
workdir='build'))
nightly = '~/nightly/'
extension = get_extension(platform)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit