Changeset View
Changeset View
Standalone View
Standalone View
test/functional/test_framework/tests/run_self_tests.sh
Show All 34 Lines | |||||
# Go to where the tests are located | # Go to where the tests are located | ||||
cd $RPC_TESTS_DIR/test_framework/tests | cd $RPC_TESTS_DIR/test_framework/tests | ||||
echo "Running test framework self-tests..." | echo "Running test framework self-tests..." | ||||
# Run all the Python tests we find there. | # Run all the Python tests we find there. | ||||
for t in *.py | for t in *.py | ||||
do | do | ||||
echo "`date -u`: Starting self-test: $t" | echo "$(date -u): Starting self-test: $t" | ||||
SRCDIR=$RPC_TESTS_DIR/../.. python3 ./$t | SRCDIR=$RPC_TESTS_DIR/../.. python3 ./$t | ||||
echo "`date -u`: Finished self-test: $t" | echo "$(date -u): Finished self-test: $t" | ||||
echo | echo | ||||
done | done | ||||
# Return to calling folder | # Return to calling folder | ||||
cd "$start_folder" | cd "$start_folder" | ||||
echo "Completed test framework self-tests." | echo "Completed test framework self-tests." |