aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGravatar Tom Willemse2021-04-08 16:04:47 -0700
committerGravatar Tom Willemse2021-04-08 16:04:47 -0700
commitdab6d0bd70e975334a356d831f5639a75c7e1a18 (patch)
tree33fbed692073d1f968011c69697940479fce052d /test
parentfcdabae3fd30e1c36969217924f69371422eece8 (diff)
downloademacs-config-dab6d0bd70e975334a356d831f5639a75c7e1a18.tar.gz
emacs-config-dab6d0bd70e975334a356d831f5639a75c7e1a18.zip
[oni-scheme] Print output of integration tests for debugging
In bats, when you print to stdout during a test, if the test fails bats will show the output that was generated. If everything succeeds it hides the output.
Diffstat (limited to 'test')
-rwxr-xr-x[-rw-r--r--]test/integration/oni-scheme.bats4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/integration/oni-scheme.bats b/test/integration/oni-scheme.bats
index e3f7f50..3bd9ec4 100644..100755
--- a/test/integration/oni-scheme.bats
+++ b/test/integration/oni-scheme.bats
@@ -5,6 +5,8 @@
-visit test.scm \
-eval "(prin1 (featurep 'oni-scheme))"
+ echo "$output"
+
[ "$output" = "t" ]
}
@@ -19,5 +21,7 @@
rm "$filename"
+ echo "$output"
+
[ "$output" = "scheme-mode" ]
}