summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-11-12 16:24:22 +0200
committerLars Wirzenius <liw@liw.fi>2020-11-13 09:35:19 +0200
commit4737919229d6785a08bbf4b54c12c20b20359e7b (patch)
treea07bfe68cf62b64740a64f5c24f9ae541f14f8db /check
parent39e23fb3b16cb6777d8e63e9e2dc59ab6f908d67 (diff)
downloadobnam2-4737919229d6785a08bbf4b54c12c20b20359e7b.tar.gz
test: update check to format subplot and generate&run test program
Also drop now-obsolete format.sh.
Diffstat (limited to 'check')
-rwxr-xr-xcheck7
1 files changed, 6 insertions, 1 deletions
diff --git a/check b/check
index 4196811..0dc71cc 100755
--- a/check
+++ b/check
@@ -21,6 +21,11 @@ cargo clippy $quiet
cargo fmt -- --check
$hideok cargo test $quiet
-./format.sh
+sp-docgen obnam.md -o obnam.html
+sp-docgen obnam.md -o obnam.pdf
+
+sp-codegen obnam.md -o test.py
+rm -f test.log
+$hideok python3 test.py --log test.log "$@"
echo "Everything seems to be in order."