There was an error while loading. Please reload this page.
1 parent 4dcf75e commit 2efa53aCopy full SHA for 2efa53a
1 file changed
test/run.sh
@@ -80,4 +80,9 @@ done
80
81
# ---- Run BATS ---------------------------------------------------------------
82
83
-"$BATS" -p test_suite.bats
+# Use pretty formatter when stdout is a TTY; fall back to TAP in CI / pipes
84
+if [ -t 1 ]; then
85
+ "$BATS" --pretty test_suite.bats
86
+else
87
+ "$BATS" --formatter tap test_suite.bats
88
+fi
0 commit comments