1
0
Fork 0

[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.
This commit is contained in:
Tom Willemse 2021-04-08 16:04:47 -07:00
parent fcdabae3fd
commit dab6d0bd70

4
test/integration/oni-scheme.bats Normal file → Executable file
View file

@ -5,6 +5,8 @@
-visit test.scm \ -visit test.scm \
-eval "(prin1 (featurep 'oni-scheme))" -eval "(prin1 (featurep 'oni-scheme))"
echo "$output"
[ "$output" = "t" ] [ "$output" = "t" ]
} }
@ -19,5 +21,7 @@
rm "$filename" rm "$filename"
echo "$output"
[ "$output" = "scheme-mode" ] [ "$output" = "scheme-mode" ]
} }