mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
refactor: unify with bitcoin s/RUN_INTEGRATION_TESTS/RUN_FUNCTIONAL_TESTS/
This commit is contained in:
parent
790c3171e7
commit
3e97ad43b1
@ -13,7 +13,7 @@ PASS_ARGS="$*"
|
|||||||
|
|
||||||
source ./ci/dash/matrix.sh
|
source ./ci/dash/matrix.sh
|
||||||
|
|
||||||
if [ "$RUN_INTEGRATION_TESTS" != "true" ]; then
|
if [ "$RUN_FUNCTIONAL_TESTS" != "true" ]; then
|
||||||
echo "Skipping integration tests"
|
echo "Skipping integration tests"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
@ -38,7 +38,7 @@ export HOST=${HOST:-$("$BASE_ROOT_DIR/depends/config.guess")}
|
|||||||
export USE_BUSY_BOX=${USE_BUSY_BOX:-false}
|
export USE_BUSY_BOX=${USE_BUSY_BOX:-false}
|
||||||
|
|
||||||
export RUN_UNIT_TESTS=${RUN_UNIT_TESTS:-true}
|
export RUN_UNIT_TESTS=${RUN_UNIT_TESTS:-true}
|
||||||
export RUN_INTEGRATION_TESTS=${RUN_INTEGRATION_TESTS:-true}
|
export RUN_FUNCTIONAL_TESTS=${RUN_FUNCTIONAL_TESTS:-true}
|
||||||
export RUN_SECURITY_TESTS=${RUN_SECURITY_TESTS:-false}
|
export RUN_SECURITY_TESTS=${RUN_SECURITY_TESTS:-false}
|
||||||
# By how much to scale the test_runner timeouts (option --timeout-factor).
|
# By how much to scale the test_runner timeouts (option --timeout-factor).
|
||||||
# This is needed because some ci machines have slow CPU or disk, so sanitizers
|
# This is needed because some ci machines have slow CPU or disk, so sanitizers
|
||||||
|
@ -21,7 +21,7 @@ export CONTAINER_NAME=ci_arm_linux
|
|||||||
export CHECK_DOC=1
|
export CHECK_DOC=1
|
||||||
export USE_BUSY_BOX=true
|
export USE_BUSY_BOX=true
|
||||||
export RUN_UNIT_TESTS=false
|
export RUN_UNIT_TESTS=false
|
||||||
export RUN_INTEGRATION_TESTS=false
|
export RUN_FUNCTIONAL_TESTS=false
|
||||||
export GOAL="install"
|
export GOAL="install"
|
||||||
# -Wno-psabi is to disable ABI warnings: "note: parameter passing for argument of type ... changed in GCC 7.1"
|
# -Wno-psabi is to disable ABI warnings: "note: parameter passing for argument of type ... changed in GCC 7.1"
|
||||||
# This could be removed once the ABI change warning does not show up by default
|
# This could be removed once the ABI change warning does not show up by default
|
||||||
|
@ -12,6 +12,6 @@ export PACKAGES="cmake libcap-dev libz-dev libbz2-dev python3-setuptools"
|
|||||||
export XCODE_VERSION=12.2
|
export XCODE_VERSION=12.2
|
||||||
export XCODE_BUILD_ID=12B45b
|
export XCODE_BUILD_ID=12B45b
|
||||||
export RUN_UNIT_TESTS=false
|
export RUN_UNIT_TESTS=false
|
||||||
export RUN_INTEGRATION_TESTS=false
|
export RUN_FUNCTIONAL_TESTS=false
|
||||||
export GOAL="all deploy"
|
export GOAL="all deploy"
|
||||||
export BITCOIN_CONFIG="--with-gui --enable-reduce-exports --disable-miner --enable-werror --with-boost-process"
|
export BITCOIN_CONFIG="--with-gui --enable-reduce-exports --disable-miner --enable-werror --with-boost-process"
|
||||||
|
@ -11,7 +11,7 @@ export PACKAGES="python3-zmq qtbase5-dev qttools5-dev-tools libdbus-1-dev libhar
|
|||||||
export DEP_OPTS="NO_UPNP=1 DEBUG=1"
|
export DEP_OPTS="NO_UPNP=1 DEBUG=1"
|
||||||
export CPPFLAGS="-DDEBUG_LOCKORDER -DENABLE_DASH_DEBUG -DARENA_DEBUG"
|
export CPPFLAGS="-DDEBUG_LOCKORDER -DENABLE_DASH_DEBUG -DARENA_DEBUG"
|
||||||
export PYZMQ=true
|
export PYZMQ=true
|
||||||
export RUN_INTEGRATION_TESTS=false
|
export RUN_FUNCTIONAL_TESTS=false
|
||||||
export GOAL="install"
|
export GOAL="install"
|
||||||
export BITCOIN_CONFIG="--enable-zmq --enable-reduce-exports --enable-crash-hooks --enable-c++20 --enable-werror"
|
export BITCOIN_CONFIG="--enable-zmq --enable-reduce-exports --enable-crash-hooks --enable-c++20 --enable-werror"
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ export CPPFLAGS="-DDEBUG_LOCKORDER -DENABLE_DASH_DEBUG -DARENA_DEBUG"
|
|||||||
export CXXFLAGS="-Werror -Wno-unused-command-line-argument -Wno-unused-value -Wno-deprecated-builtins"
|
export CXXFLAGS="-Werror -Wno-unused-command-line-argument -Wno-unused-value -Wno-deprecated-builtins"
|
||||||
export PYZMQ=true
|
export PYZMQ=true
|
||||||
export RUN_UNIT_TESTS=false
|
export RUN_UNIT_TESTS=false
|
||||||
export RUN_INTEGRATION_TESTS=false
|
export RUN_FUNCTIONAL_TESTS=false
|
||||||
export RUN_FUZZ_TESTS=true
|
export RUN_FUZZ_TESTS=true
|
||||||
export GOAL="install"
|
export GOAL="install"
|
||||||
export BITCOIN_CONFIG="--enable-zmq --disable-ccache --enable-fuzz --with-sanitizers=fuzzer,address,undefined --enable-suppress-external-warnings CC=clang-15 CXX=clang++-15 --with-boost-process"
|
export BITCOIN_CONFIG="--enable-zmq --disable-ccache --enable-fuzz --with-sanitizers=fuzzer,address,undefined --enable-suppress-external-warnings CC=clang-15 CXX=clang++-15 --with-boost-process"
|
||||||
|
@ -10,7 +10,7 @@ export CONTAINER_NAME=ci_win64
|
|||||||
export HOST=x86_64-w64-mingw32
|
export HOST=x86_64-w64-mingw32
|
||||||
export PACKAGES="python3 nsis g++-mingw-w64-x86-64 wine-binfmt wine64"
|
export PACKAGES="python3 nsis g++-mingw-w64-x86-64 wine-binfmt wine64"
|
||||||
export DPKG_ADD_ARCH="i386"
|
export DPKG_ADD_ARCH="i386"
|
||||||
export RUN_INTEGRATION_TESTS=false
|
export RUN_FUNCTIONAL_TESTS=false
|
||||||
export RUN_SECURITY_TESTS="false"
|
export RUN_SECURITY_TESTS="false"
|
||||||
export GOAL="deploy"
|
export GOAL="deploy"
|
||||||
export BITCOIN_CONFIG="--enable-gui --enable-reduce-exports --disable-miner --without-boost-process"
|
export BITCOIN_CONFIG="--enable-gui --enable-reduce-exports --disable-miner --without-boost-process"
|
||||||
|
Loading…
Reference in New Issue
Block a user