diff options
author | Tom Willemse | 2021-04-08 16:04:47 -0700 |
---|---|---|
committer | Tom Willemse | 2021-04-08 16:04:47 -0700 |
commit | dab6d0bd70e975334a356d831f5639a75c7e1a18 (patch) | |
tree | 33fbed692073d1f968011c69697940479fce052d /test/integration | |
parent | fcdabae3fd30e1c36969217924f69371422eece8 (diff) | |
download | emacs-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/integration')
-rwxr-xr-x[-rw-r--r--] | test/integration/oni-scheme.bats | 4 |
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" ] } |