X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Fgitweb-lib.sh;h=b9bb95feaa5088254b002c2806c2c2ae9e9d7be4;hb=016c4b8919a0a58a430f3483aeac35de9dfdc579;hp=1b9523d02f3a8e785b0823a1d58dfaa22837ba39;hpb=598df7bcb775a247cc3f20c5a8b1b36955b16462;p=git.git diff --git a/t/gitweb-lib.sh b/t/gitweb-lib.sh index 1b9523d02..b9bb95fea 100644 --- a/t/gitweb-lib.sh +++ b/t/gitweb-lib.sh @@ -19,9 +19,9 @@ our \$site_name = '[localhost]'; our \$site_header = ''; our \$site_footer = ''; our \$home_text = 'indextext.html'; -our @stylesheets = ('file:///$TEST_DIRECTORY/../gitweb/static/gitweb.css'); -our \$logo = 'file:///$TEST_DIRECTORY/../gitweb/static/git-logo.png'; -our \$favicon = 'file:///$TEST_DIRECTORY/../gitweb/static/git-favicon.png'; +our @stylesheets = ('file:///$GIT_BUILD_DIR/gitweb/static/gitweb.css'); +our \$logo = 'file:///$GIT_BUILD_DIR/gitweb/static/git-logo.png'; +our \$favicon = 'file:///$GIT_BUILD_DIR/gitweb/static/git-favicon.png'; our \$projects_list = ''; our \$export_ok = ''; our \$strict_export = ''; @@ -32,17 +32,34 @@ EOF cat >.git/description </dev/null 2>&1 || { - skip_all='skipping gitweb tests, perl version is too old' - test_done + skip_all='skipping gitweb tests, perl version is too old' + test_done } gitweb_init