summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2023-04-18 13:47:32 +0000
committerLars Wirzenius <liw@liw.fi>2023-04-18 13:47:32 +0000
commit4a5f847d87f6e625b61672c572c06aa002ef85e2 (patch)
tree75d4490d19bd3b936690a0f25708be204442fa61
parent43868859acb212d6005edb34f6b102532c251af9 (diff)
parentdbc3b099bde0e0a8b1dffe885ab74818cd2ad59e (diff)
downloadjt2-4a5f847d87f6e625b61672c572c06aa002ef85e2.tar.gz
Merge branch 'debuggable' into 'main'
chore: don't produce PDF with Subplot See merge request larswirzenius/jt!36
-rwxr-xr-xcheck5
-rwxr-xr-xdebian/rules2
2 files changed, 4 insertions, 3 deletions
diff --git a/check b/check
index 0a75438..3151caa 100755
--- a/check
+++ b/check
@@ -31,11 +31,12 @@ $hideok cargo fmt -- --check
$hideok find . -type f -name '*.py' ! -name test.py -exec black --check '{}' +
$hideok subplot docgen jt.subplot --output jt.html
-$hideok subplot docgen jt.subplot --output jt.pdf
$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."
diff --git a/debian/rules b/debian/rules
index e80a0aa..6589e45 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,4 +11,4 @@ override_dh_auto_install:
find debian/jt -name '.crates*' -delete
override_dh_auto_test:
- ./check
+ ./check -v