Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
---|---|---|---|---|---|---|
no-standalone-test-but-autopkgtests.patch | Reuse $ACK_TEST_STANDALONE to switch between build-/installed-time tests ack's test suite originally runs twice, once for the normal version (called "classic") and once for the standalone version. Since Debian doesn't ship the standalone version, we don't need to test it either. But instead we want installed-time tests via the autopkgtest infrastructure. . So we change (nearly) all occurrences of the ACK_TEST_STANDALONE environment variable of ack's test suite to AUTOPKGTEST_TMP and switch between build-time and installed-time testing with it. Which fits perfectly because -Mblib is usually not used or unset if $ENV{ACK_TEST_STANDALONE} is set. . So we skip the test_standalone target, but pass $AUTOPKGTEST_TMP instead of a hardcoded 0 to t/runtests.pl to trigger the switch. That way it should even work when running "make test" after "perl Makefile.PL" has run. |
Axel Beckert <abe@debian.org> | not-needed | 2017-03-05 |