gitweb/lib - Use CHI compatibile (compute method) caching interface
[git/jnareb-git.git] / t / t9504-gitweb-capture-interface.sh
blob82623f188e122d05d31d154bbfb713d728381243
1 #!/bin/sh
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
12 . ./test-lib.sh
14 # this test is present in gitweb-lib.sh
15 if ! test_have_prereq PERL; then
16 skip_all='perl not available, skipping test'
17 test_done
20 "$PERL_PATH" -MTest::More -e 0 >/dev/null 2>&1 || {
21 skip_all='perl module Test::More unavailable, skipping test'
22 test_done
25 # ----------------------------------------------------------------------
27 # The external test will outputs its own plan
28 test_external_has_tap=1
30 test_external \
31 'GitwebCache::Capture Perl API (in gitweb/lib/)' \
32 "$PERL_PATH" "$TEST_DIRECTORY"/t9504/test_capture_interface.pl
34 test_done