diff options
author | bptato <nincsnevem662@gmail.com> | 2024-06-23 13:44:25 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-06-23 13:47:32 +0200 |
commit | 34690f5ba45c5d67f8a59ecb09c40da07481c40f (patch) | |
tree | 14b5e9ba90125fc6c2408761908046c6527becf4 | |
parent | 041ebc4534088e5d550e9cc628a17c93ca087d2b (diff) | |
download | chawan-34690f5ba45c5d67f8a59ecb09c40da07481c40f.tar.gz |
test: print running test names to the same line
-rwxr-xr-x | test/js/run_js_tests.sh | 2 | ||||
-rwxr-xr-x | test/layout/run_layout_tests.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/js/run_js_tests.sh b/test/js/run_js_tests.sh index 8e1adeb3..2a3f7be8 100755 --- a/test/js/run_js_tests.sh +++ b/test/js/run_js_tests.sh @@ -4,7 +4,7 @@ then test -f ../../cha && CHA_TEST_BIN=../../cha || CHA_TEST_BIN=cha fi failed=0 for h in *.html -do printf '%s\n' "$h" +do printf '%s\r' "$h" if ! "$CHA_TEST_BIN" -C config.toml "$h" | diff all.expected - then failed=$(($failed+1)) printf 'FAIL: %s\n' "$h" diff --git a/test/layout/run_layout_tests.sh b/test/layout/run_layout_tests.sh index 6a6c7e4f..2e2bfa7b 100755 --- a/test/layout/run_layout_tests.sh +++ b/test/layout/run_layout_tests.sh @@ -4,7 +4,7 @@ then test -f ../../cha && CHA_TEST_BIN=../../cha || CHA_TEST_BIN=cha fi failed=0 for h in *.html -do printf '%s\n' "$h" +do printf '%s\r' "$h" expected="$(basename "$h" .html).expected" color_expected="$(basename "$h" .html).color.expected" if test -f "$expected" |