summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-07-22 12:57:07 +0300
committerLars Wirzenius <liw@liw.fi>2021-07-22 13:04:27 +0300
commita6cd8fb0c3f8310ffd86d00a63dff5b593a13446 (patch)
tree148ac646fe4fad1c4fc6d4319af94ec4de25e32c
parent41c1a815c517472e2f3a076a307c2fc1d0175a10 (diff)
downloadewww-a6cd8fb0c3f8310ffd86d00a63dff5b593a13446.tar.gz
test: run test.py so it creates a log
Sponsored-by: author
-rwxr-xr-xcheck14
1 files changed, 3 insertions, 11 deletions
diff --git a/check b/check
index 606241e..272ee63 100755
--- a/check
+++ b/check
@@ -3,7 +3,6 @@
set -eu
verbose=false
-runtest=true
moar=true
while [ "$#" -gt 0 ] && $moar
do
@@ -12,10 +11,6 @@ do
verbose=true
shift 1
;;
- -c | --codegen)
- runtest=false
- shift 1
- ;;
esac
done
@@ -33,12 +28,9 @@ fi
codegen() {
- local run=
- if $runtest
- then
- run=--run
- fi
- $hideok subplot codegen "$1" --output "$2" $run
+ $hideok subplot codegen "$1" --output "$2"
+ rm -f test.log
+ $hideok python3 test.py --log test.log
}
docgen() {