summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5985438)
In preparation for quiet mode print empty line before writing the
test description. This is done now in function designed for it --
it will also be called when test fails.
trap - HUP INT TERM
# Report results
trap - HUP INT TERM
# Report results
./aggregate-results.sh test-results/*
ev=$?
./aggregate-results.sh test-results/*
ev=$?
-echo $this_test: "Testing ${test_description}"
+test_description_printed=
+print_test_description ()
+{
+ test -z "$test_description_printed" || return 0
+ echo
+ echo $this_test: "Testing ${test_description}"
+ test_description_printed=1
+}
+print_test_description
echo "failed $test_failure" >> $test_results_path
echo "" >> $test_results_path
echo "failed $test_failure" >> $test_results_path
echo "" >> $test_results_path
[ -n "$EMACS_SERVER" ] && test_emacs '(kill-emacs)'
if [ "$test_failure" = "0" ]; then
[ -n "$EMACS_SERVER" ] && test_emacs '(kill-emacs)'
if [ "$test_failure" = "0" ]; then
test-verbose: Testing the verbosity options of the test framework itself.
PASS print something in test_expect_success and pass
FAIL print something in test_expect_success and fail
test-verbose: Testing the verbosity options of the test framework itself.
PASS print something in test_expect_success and pass
FAIL print something in test_expect_success and fail
test-verbose: Testing the verbosity options of the test framework itself.
hello stdout
hello stderr
test-verbose: Testing the verbosity options of the test framework itself.
hello stdout
hello stderr