summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-04-22 15:27:40 +0300
committerLars Wirzenius <liw@liw.fi>2021-04-22 15:53:40 +0300
commit3698b429c140dcc9837a21479b2d72b810c34ed4 (patch)
treed0831f3a474750a24bfd4e2db15bd6e81ec7ae41 /check
parent66602d50ded863e04ae94d0c97805d80e33a98c4 (diff)
downloadbumper-rs-3698b429c140dcc9837a21479b2d72b810c34ed4.tar.gz
fix: add build-dependency on python3-distutils
Diffstat (limited to 'check')
-rwxr-xr-xcheck11
1 files changed, 10 insertions, 1 deletions
diff --git a/check b/check
index 599d9e8..a20fe4e 100755
--- a/check
+++ b/check
@@ -30,6 +30,15 @@ subplot docgen bumper.md -o bumper.pdf
subplot codegen bumper.md -o test.py
rm -f test.log
-$hideok python3 test.py --log test.log "$@"
+if $hideok python3 test.py --log test.log "$@"
+then
+ echo "test program OK"
+else
+ echo "test program FAILED, log file follows"
+ echo ==================================================================
+ cat test.log
+ echo ==================================================================
+ exit 42
+fi
echo "Everything seems to be in order."