diff options
| author | Scott Gasch <[email protected]> | 2021-09-29 15:40:43 -0700 |
|---|---|---|
| committer | Scott Gasch <[email protected]> | 2021-09-29 15:40:43 -0700 |
| commit | 791755ededfc0de84a81b4c7313830efbd27bf8c (patch) | |
| tree | 379c7393218f46c941d88e1b628b8068d59dbff3 /tests | |
| parent | b2eed6fefcfa14b03916c145ad3c0435b25374d0 (diff) | |
Stuff.
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/run_tests.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/run_tests.sh b/tests/run_tests.sh index 57fea28..e4b48a0 100755 --- a/tests/run_tests.sh +++ b/tests/run_tests.sh @@ -97,7 +97,7 @@ if [ ${DOCTEST} -eq 1 ]; then else echo -e "${FAILED}" FAILURES=$((FAILURES+1)) - FAILED_TESTS="${FAILED_TESTS}, ${BASE}" + FAILED_TESTS="${FAILED_TESTS},${BASE} (python3 ${doctest})" fi fi done @@ -111,7 +111,7 @@ if [ ${UNITTEST} -eq 1 ]; then ${test} if [ $? -ne 0 ]; then FAILURES=$((FAILURES+1)) - FAILED_TESTS="${FAILED_TESTS}, ${BASE}" + FAILED_TESTS="${FAILED_TESTS},${BASE} (python3 ${test})" fi done fi @@ -124,13 +124,14 @@ if [ ${INTEGRATION} -eq 1 ]; then ${test} if [ $? -ne 0 ]; then FAILURES=$((FAILURES+1)) - FAILED_TESTS="${FAILED_TESTS}, ${BASE}" + FAILED_TESTS="${FAILED_TESTS},${BASE} (python3 ${test})" fi done fi if [ ${FAILURES} -ne 0 ]; then - FAILED_TESTS=$(echo ${FAILED_TESTS} | sed 's/^, //g') + FAILED_TESTS=$(echo ${FAILED_TESTS} | sed 's/^,/__/g') + FAILED_TESTS=$(echo ${FAILED_TESTS} | sed 's/,/\n__/g') if [ ${FAILURES} -eq 1 ]; then echo -e "${RED}There was ${FAILURES} failure:" else |
