at master 28 lines 1.2 kB view raw
1diff --git a/renode-test b/renode-test 2index 0f8f8d0..1fdfe23 100755 3--- a/renode-test 4+++ b/renode-test 5@@ -5,22 +5,17 @@ set -u 6 # this is to support running renode-test from an external directory and via a symlink 7 ROOT_PATH="$(cd $(dirname $(readlink -f $0 2>/dev/null || echo $0)); echo $PWD)" 8 9-TESTS_FILE="$ROOT_PATH/tests/tests.yaml" 10-TESTS_RESULTS="$ROOT_PATH/output/tests" 11 12 . "${ROOT_PATH}/tools/common.sh" 13 14 set +e 15 STTY_CONFIG=`stty -g 2>/dev/null` 16-$PYTHON_RUNNER -u "`get_path "$ROOT_PATH/tests/run_tests.py"`" --exclude "skip_${DETECTED_OS}" --exclude "skip_host_${DETECTED_ARCH}" --properties-file "`get_path "$ROOT_PATH/output/properties.csproj"`" -r "`get_path "$TESTS_RESULTS"`" -t "`get_path "$TESTS_FILE"`" "$@" 17+$PYTHON_RUNNER -u "`get_path "$ROOT_PATH/tests/run_tests.py"`" --exclude "skip_${DETECTED_OS}" -r $(pwd) --runner=dotnet "$@" 18 RESULT_CODE=$? 19 20 set -e 21 if [ -n "${STTY_CONFIG:-}" ] 22 then 23- # SIGTTOU might be sent when trying to change the terminal settings when "renode-test" runs in the background so trap the signal. 24- trap "" SIGTTOU 25 stty "$STTY_CONFIG" 26- trap - SIGTTOU 27 fi 28 exit $RESULT_CODE