diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-07-22 12:57:07 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-07-22 13:04:27 +0300 |
commit | a6cd8fb0c3f8310ffd86d00a63dff5b593a13446 (patch) | |
tree | 148ac646fe4fad1c4fc6d4319af94ec4de25e32c | |
parent | 41c1a815c517472e2f3a076a307c2fc1d0175a10 (diff) | |
download | ewww-a6cd8fb0c3f8310ffd86d00a63dff5b593a13446.tar.gz |
test: run test.py so it creates a log
Sponsored-by: author
-rwxr-xr-x | check | 14 |
1 files changed, 3 insertions, 11 deletions
@@ -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() { |