aboutsummaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2013-10-28 01:16:41 -0400
committerMatt Corallo <git@bluematt.me>2013-10-28 01:16:41 -0400
commit47b9374e39a00d6e981aa1f4d0175d9426d91ac8 (patch)
tree3f5c66dc6bdfba373ba194a9d28db307236222ef /qa
parent95fa14da69b6345f087991ceedcc34c73e66bab8 (diff)
downloadbitcoin-47b9374e39a00d6e981aa1f4d0175d9426d91ac8.tar.xz
Make large-reorg tests optional in block-tester
Diffstat (limited to 'qa')
-rwxr-xr-xqa/pull-tester/build-tests.sh.in11
1 files changed, 8 insertions, 3 deletions
diff --git a/qa/pull-tester/build-tests.sh.in b/qa/pull-tester/build-tests.sh.in
index 392ff12dc6..9640bcaf67 100755
--- a/qa/pull-tester/build-tests.sh.in
+++ b/qa/pull-tester/build-tests.sh.in
@@ -9,8 +9,9 @@ set -o xtrace
MINGWPREFIX=$1
JAVA_COMPARISON_TOOL=$2
-JOBS=${3-1}
-OUT_DIR=${4-}
+RUN_LARGE_REORGS=$3
+JOBS=${4-1}
+OUT_DIR=${5-}
if [ $# -lt 2 ]; then
echo "Usage: $0 [mingw-prefix] [java-comparison-tool] <make jobs> <save output dir>"
@@ -32,7 +33,11 @@ cd @abs_top_srcdir@
make distdir
mv $DISTDIR linux-build
cd linux-build
-./configure --disable-silent-rules --disable-ccache --with-comparison-tool="$JAVA_COMPARISON_TOOL"
+if [ $RUN_LARGE_REORGS = 1 ]; then
+ ./configure --disable-silent-rules --disable-ccache --with-comparison-tool="$JAVA_COMPARISON_TOOL" --enable-comparison-tool-reorg-tests
+else
+ ./configure --disable-silent-rules --disable-ccache --with-comparison-tool="$JAVA_COMPARISON_TOOL"
+fi
make -j$JOBS
# link interesting binaries to parent out/ directory, if it exists. Do this before