mirror of
https://github.com/git/git
synced 2024-08-27 11:39:22 +00:00
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
This commit is contained in:
commit
8f6fd086e6
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue