summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-09-12 15:34:33 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-09-12 15:34:33 -0700
commit8f6fd086e644cadd2976d471f65b5ebe11316924 (patch)
tree993454c26dea2eaf7947d469485e42718543caf2
parentMerge branch 'jc/am-read-author-file' (diff)
parenttest-lib: drop PID from test-results/*.count (diff)
downloadtgif-8f6fd086e644cadd2976d471f65b5ebe11316924.tar.xz
Merge branch 'jk/test-lib-drop-pid-from-results'
The test framework left the number of tests and success/failure count in the t/test-results directory, keyed by the name of the test script plus the process ID. The latter however turned out not to serve any useful purpose. The process ID part of the filename has been removed. * jk/test-lib-drop-pid-from-results: test-lib: drop PID from test-results/*.count
-rw-r--r--t/test-lib.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index d731d66e36..eada492d88 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -687,9 +687,9 @@ test_done () {
test_results_dir="$TEST_OUTPUT_DIRECTORY/test-results"
mkdir -p "$test_results_dir"
base=${0##*/}
- test_results_path="$test_results_dir/${base%.sh}-$$.counts"
+ test_results_path="$test_results_dir/${base%.sh}.counts"
- cat >>"$test_results_path" <<-EOF
+ cat >"$test_results_path" <<-EOF
total $test_count
success $test_success
fixed $test_fixed