summaryrefslogtreecommitdiff
path: root/t/t5516-fetch-push.sh
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2011-02-19 19:16:19 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-02-21 10:38:40 -0800
commit49151d8b2cde68bc110a8bb899b8610631430941 (patch)
treeb90ddb8d2472a48ffd798f89bf744be834079e63 /t/t5516-fetch-push.sh
parentgitweb/gitweb.perl: don't call S_ISREG() with undef (diff)
downloadtgif-49151d8b2cde68bc110a8bb899b8610631430941.tar.xz
t/gitweb-lib.sh: Ensure that errors are shown for --debug --immediate
Because '--immediate' stops test suite after first error, therefore in this mode test_debug 'cat gitweb.log' was never ran, thus in effect negating effect of '--debug' option. This made finidng the cause of errors in gitweb test sute difficult. Modify the gitweb_run test subroutine to run test_debug itself in the case of errors (and also remove "test_debug 'cat gitweb.log'" from gitweb tests). This makes it possible to run *gitweb tests* with --immediate ---debug combination of options; also it makes gitweb tests to not output spurious debug data that is not considered error. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Jakub Narębski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5516-fetch-push.sh')
0 files changed, 0 insertions, 0 deletions