diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2011-02-19 19:16:19 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-02-21 10:38:40 -0800 |
commit | 49151d8b2cde68bc110a8bb899b8610631430941 (patch) | |
tree | b90ddb8d2472a48ffd798f89bf744be834079e63 /Documentation/gitcli.txt | |
parent | gitweb/gitweb.perl: don't call S_ISREG() with undef (diff) | |
download | tgif-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 'Documentation/gitcli.txt')
0 files changed, 0 insertions, 0 deletions