diff --git a/testing/README.regression_tests b/testing/README.regression_tests index a9aae3e4..0360008c 100644 --- a/testing/README.regression_tests +++ b/testing/README.regression_tests @@ -119,6 +119,7 @@ the options being e = edit test (vi) r = re-run test N = run next test + ? = Show options This should allow for convenient updating of tests and expected results. diff --git a/testing/run_regressions.sh b/testing/run_regressions.sh index f2cd1bdb..36a7c647 100755 --- a/testing/run_regressions.sh +++ b/testing/run_regressions.sh @@ -70,7 +70,7 @@ check_result() { echo "=======================================" fi if [ "${ACCEPT_ALL}" = "" ] ; then - read -p "[${TEST}] Accept new result [e/s/r/v/f/m/x/y/w/N]? " ACCEPT + read -p "[${TEST}] Accept new result [e/s/r/v/f/m/x/y/w/N/?]? " ACCEPT else ACCEPT=${ACCEPT_ALL} fi @@ -108,6 +108,23 @@ check_result() { elif [ "${ACCEPT}" = "r" ]; then echo "Rerunning test ${TEST}" return 1 + elif [ "${ACCEPT}" = "?" ]; then + cat <