From dab6d0bd70e975334a356d831f5639a75c7e1a18 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 8 Apr 2021 16:04:47 -0700 Subject: [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. --- test/integration/oni-scheme.bats | 4 ++++ 1 file changed, 4 insertions(+) mode change 100644 => 100755 test/integration/oni-scheme.bats (limited to 'test') diff --git a/test/integration/oni-scheme.bats b/test/integration/oni-scheme.bats old mode 100644 new mode 100755 index e3f7f50..3bd9ec4 --- 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" ] } -- cgit v1.2.3-54-g00ecf