diff options
| -rwxr-xr-x | test/c-testsuite.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/c-testsuite.sh b/test/c-testsuite.sh index 4fbc49f..92f78d3 100755 --- a/test/c-testsuite.sh +++ b/test/c-testsuite.sh @@ -1,6 +1,8 @@ #!/bin/env sh +wd="$(pwd)" cd $(dirname "$0")/external/c-testsuite test -d .tmsu/ || (./scripts/make-search-index && ./single-exec antcc-x86_64 2>/dev/null >/dev/null) -./single-exec antcc-x86_64 | ./scripts/tapsummary | tee log.txt | head -n 5 -echo '... >> log.txt' +./single-exec antcc-x86_64 | ./scripts/tapsummary > log.txt +head -n 5 log.txt +echo "... >> $(realpath --relative-to "$wd" log.txt)" |