From ead1b6addd05d94f9c2bc0b7420863aa662f51ad Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 18 Apr 2023 16:43:38 +0300 Subject: chore: don't produce PDF with Subplot Subplot doesn't do that anymore. Sponsored-by: author --- check | 1 - 1 file changed, 1 deletion(-) diff --git a/check b/check index 0a75438..5bac0c9 100755 --- a/check +++ b/check @@ -31,7 +31,6 @@ $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 -- cgit v1.2.1 From 007927348dcc533e8380437c0762098c9eb033a4 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 18 Apr 2023 16:44:19 +0300 Subject: tests: run ./check in verbose mode in debian/rules Sponsored-by: author --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1 From dbc3b099bde0e0a8b1dffe885ab74818cd2ad59e Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 18 Apr 2023 16:44:37 +0300 Subject: tests: if test program fails, cat the log, for CI Sponsored-by: author --- check | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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." -- cgit v1.2.1