summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
Diffstat (limited to 'check')
-rwxr-xr-xcheck4
1 files changed, 3 insertions, 1 deletions
diff --git a/check b/check
index 5bac0c9..3151caa 100755
--- a/check
+++ b/check
@@ -35,6 +35,8 @@ $hideok subplot docgen jt.subplot --output jt.html
$hideok subplot codegen jt.subplot --output test.py
rm -f test.log
target="$(cargo metadata --format-version=1 | jq -r .target_directory)"
-$hideok python3 test.py --log test.log --env "CARGO_TARGET_DIR=$target" "$@"
+if ! $hideok python3 test.py --log test.log --env "CARGO_TARGET_DIR=$target" "$@"; then
+ cat test.log
+fi
echo "Everything seems to be in order."