summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2023-05-06 08:10:22 +0300
committerLars Wirzenius <liw@liw.fi>2023-05-06 08:10:43 +0300
commitc4a2d56fd712c29665043d7700c21a8bbadd934c (patch)
tree2b38104de2ccedec0f42716153f47a01250307e0 /check
parentb7063dc7c0b77912d081632c9908911222ad9215 (diff)
downloadvmdb2-c4a2d56fd712c29665043d7700c21a8bbadd934c.tar.gz
tests: use Subplot
Sponsored-by: author
Diffstat (limited to 'check')
-rwxr-xr-xcheck8
1 files changed, 6 insertions, 2 deletions
diff --git a/check b/check
index 8dd8cd6..3aae052 100755
--- a/check
+++ b/check
@@ -22,9 +22,13 @@ for file in vmdb/plugins/*.py; do
done
echo
-if false && command -v subplot >/dev/null; then
+if command -v subplot >/dev/null; then
echo Running Subplot ============================================
- subplot vmdb2.md -o test.py --run
+ subplot codegen vmdb2.subplot -o test.py
+ rm -f test.log
+ if ! python3 test.py --log test.log; then
+ cat test.log
+ fi
echo
fi