mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-04 04:32:20 +02:00
Make large-reorg tests optional in block-tester
This commit is contained 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
|
||||
|
Reference in New Issue
Block a user