File: 031-test-extra-args.patch

package info (click to toggle)
libapache2-mod-perl2 2.0.9~1624218-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 11,840 kB
  • sloc: perl: 95,064; ansic: 14,522; makefile: 49; sh: 18
file content (24 lines) | stat: -rw-r--r-- 811 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Author: Niko Tyni <ntyni@debian.org>
Subject: APACHE_TEST_EXTRA
 Honour $(APACHE_TEST_EXTRA_ARGS); Makefile.PL has apparently not been updated
 since this was added to Apache::Test.
Forwarded: http://www.gossamer-threads.com/lists/modperl/dev/105354
Last-Update: 2012-05-19
Reviewed-by: Nicholas Bamber <nicholas@periapt.co.uk>
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -840,12 +840,12 @@ TEST_FILES =
 
 test_clean :
 	$(FULLPERL) -I$(INST_ARCHLIB) -I$(INST_LIB) \
-	t/TEST -clean
+	t/TEST $(APACHE_TEST_EXTRA_ARGS) -clean
 
 run_tests : test_clean
 	$(PASSENV) \
 	$(FULLPERL) -I$(INST_ARCHLIB) -I$(INST_LIB) \
-	t/TEST -bugreport -verbose=$(TEST_VERBOSE) $(TEST_FILES)
+	t/TEST $(APACHE_TEST_EXTRA_ARGS) -bugreport -verbose=$(TEST_VERBOSE) $(TEST_FILES)
 
 run_subtests ::
 	cd ModPerl-Registry && $(MAKE) test