3 # Copyright (c) 2010 Jakub Narebski
6 test_description
='gitweb capturing interface
8 This test checks capturing interface used for capturing gitweb output
9 in gitweb caching (GitwebCache::Capture* modules).'
11 # for now we are running only cache interface tests
14 # this test is present in gitweb-lib.sh
15 if ! test_have_prereq PERL
; then
16 skip_all
='perl not available, skipping test'
20 "$PERL_PATH" -MTest::More
-e 0 >/dev
/null
2>&1 ||
{
21 skip_all
='perl module Test::More unavailable, skipping test'
25 # ----------------------------------------------------------------------
27 # The external test will outputs its own plan
28 test_external_has_tap
=1
31 'GitwebCache::Capture Perl API (in gitweb/lib/)' \
32 "$PERL_PATH" "$TEST_DIRECTORY"/t9504
/test_capture_interface.pl