From 31f56fc1ecfe7e5131cf31a30a74dcc0803d32d0 Mon Sep 17 00:00:00 2001 From: John Keeping Date: Sun, 14 Apr 2013 17:59:30 +0100 Subject: tests: set TEST_OUTPUT_DIRECTORY to the CGit test directory By default, Git's test suite puts the trash directories and test-results directory into its own directory, not that containing the tests being run. This is less convenient for inspecting test failures, so set the output directory to CGit's tests/ directory instead. Note that there is currently a bug in Git whereby it will create the trash directories in our tests/ directory regardless of the value of TEST_OUTPUT_DIRECTORY, and then fail to remove them once the tests are done. This change does currently affect the location of the test-results/ directory though. Signed-off-by: John Keeping --- tests/setup.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/setup.sh') diff --git a/tests/setup.sh b/tests/setup.sh index 81e7220..a573444 100755 --- a/tests/setup.sh +++ b/tests/setup.sh @@ -16,6 +16,7 @@ # run_test 'repo summary' 'cgit_url "/foo" | tidy -e' : ${TEST_DIRECTORY=$(pwd)/../git/t} +: ${TEST_OUTPUT_DIRECTORY=$(pwd)} TEST_NO_CREATE_REPO=YesPlease . "$TEST_DIRECTORY"/test-lib.sh -- cgit 1.4.1 0651eb572010be117ce342692e45fdebdb3&follow=1'>commit diff
Commit message (Expand)Author
2022-06-02Set TABSIZE=4June McEnroe
2022-06-02Do basic match highlightingJune McEnroe
2022-06-02Clean up parsing a littleJune McEnroe
2022-06-02Don't duplicate path stringJune McEnroe
2022-06-02Use stderr instead of /dev/tty, realloc buffer if lines too longJune McEnroe
2022-06-02Add initial working version of qfJune McEnroe
2022-05-29Set prompt for okshJune McEnroe