From b47be0c6e2a7b0dbf4d9b5f21b21efb569579d44 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 7 Nov 2026 08:13:44 -1000 Subject: Keep the test results where the library puts them Only the counts were re-pointed at results/. The --tee, --verbose-log and --stress logs, the leak logs and the counts of a script skipped through GIT_SKIP_TESTS still went to test-results/, which nothing ignored or cleaned, so a summary read from one place would miss them. --- tests/Makefile | 2 +- tests/setup.sh | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) (limited to 'tests') diff --git a/tests/Makefile b/tests/Makefile index 3f2f83e..e165b01 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -30,4 +30,4 @@ $(TESTS): .PHONY: clean clean: - $(RM) -r trash results + $(RM) -r trash test-results diff --git a/tests/setup.sh b/tests/setup.sh index 4eab52c..d69fce7 100755 --- a/tests/setup.sh +++ b/tests/setup.sh @@ -49,13 +49,6 @@ export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME TEST_NO_CREATE_REPO=YesPlease . "$TEST_DIRECTORY"/test-lib.sh -# The library spells its results directory test-results and derives these -# variables before it can be told otherwise, so they are re-pointed at the -# plainer results/. The --tee and --stress raw logs and the leak logs write -# earlier and keep the library's name. -TEST_RESULTS_DIR="$TEST_OUTPUT_DIRECTORY/results" -TEST_RESULTS_BASE="$TEST_RESULTS_DIR/$TEST_NAME$TEST_STRESS_JOB_SFX" - # cgit reads the CGI variables and a few of its own from the environment, and # the library clears only Git's, so a developer's shell could hand any of them # to every request. LUA_INIT runs code in each standalone interpreter. The Lua -- cgit 2.12.1