mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00

* Add stability-tests * Fix requires * Fix golint errors * Update README.md * Remove payloadHash from everywhere * don't run vet on kaspad in stability-tests/install_and_test
19 lines
426 B
Bash
Executable File
19 lines
426 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
TEST_EXIT_CODE=1
|
|
BASEDIR=$(dirname "$0")
|
|
if [[ $1 == "slow" ]];
|
|
then
|
|
echo "Running slow stability tests"
|
|
"${BASEDIR}/run-slow.sh"
|
|
TEST_EXIT_CODE=$?
|
|
echo "Done running slow stability tests"
|
|
else
|
|
echo "Running fast stability tests"
|
|
"${BASEDIR}/run-fast.sh"
|
|
TEST_EXIT_CODE=$?
|
|
echo "Done running fast stability tests"
|
|
fi
|
|
|
|
echo "Exit code: $TEST_EXIT_CODE"
|
|
exit $TEST_EXIT_CODE |