summaryrefslogtreecommitdiff
path: root/yarns/900-implementations.yarn
diff options
context:
space:
mode:
Diffstat (limited to 'yarns/900-implementations.yarn')
-rw-r--r--yarns/900-implementations.yarn19
1 files changed, 2 insertions, 17 deletions
diff --git a/yarns/900-implementations.yarn b/yarns/900-implementations.yarn
index 80798af..a2e149f 100644
--- a/yarns/900-implementations.yarn
+++ b/yarns/900-implementations.yarn
@@ -58,28 +58,13 @@ We run `jt` from the source tree, without any configurations from the
user, and with specific settings to make the test suite run smoother.
IMPLEMENTS WHEN I run jt (.*)
- EDITOR=true \
- "$SRCDIR/jt" --no-default-config \
- --config "$DATADIR/source.conf" \
- --config "$DATADIR/time.conf" \
- --layout=pkb \
- --no-git \
- $MATCH_1
- echo 0 > "$DATADIR/jt.exit"
+ run_jt $MATCH_1
Sometimes we expect `jt` to fail. In that case, the scenario step
shouldn't fail.
IMPLEMENTS WHEN I try to run jt (.*)
- set +e
- EDITOR=true \
- "$SRCDIR/jt" --no-default-config \
- --config "$DATADIR/source.conf" \
- --config "$DATADIR/time.conf" \
- --layout=pkb \
- --no-git \
- $MATCH_1
- echo "$?" > "$DATADIR/jt.exit"
+ run_jt $MATCH_1 || true
Check that the latest invocation of `jt` didn't fail.