perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Myers <...@sumthin.nu>
Subject this fixes a little problem with ``make testdb''
Date Sat, 22 Dec 2001 00:27:46 GMT
I realize work is currently underway for Apache::Test, but
this might help out anyone using the old Apache::test
stuff. It wasn't setting the PORT envar, or rather, it was
setting it to 8529 every time -- regardless of
configuration.

Severe line wrappage ahead. :)

diff -ur modperl/lib/Apache/test.pm modperl~/lib/Apache/test.pm
--- modperl/lib/Apache/test.pm  Sun Aug 26 18:17:26 2001
+++ modperl~/lib/Apache/test.pm Fri Dec 21 19:04:27 2001
@@ -402,7 +402,12 @@
  $(FULLPERL) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -e 'use Test::Harness
qw(&runtests $$verbose); $$verbose=$(TEST_VERBOSE); runtests @ARGV;' $(TEST_FILES)

 run_testsdb :: pure_all
-       PERL_DL_NONLAZY=1 $(FULLPERL) $(TESTDB_SW) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB)
-I$(PERL_LIB) $(TEST_FILE)
+       PERL_DL_NONLAZY=1 PORT=$conf{port}
+EOF
+       chomp $section;
+
+       $section .= <<'EOF';
+ $(FULLPERL) $(TESTDB_SW) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB)
$(TEST_FILE)

 EOF


Rick Myers                            rik@sumthin.nu
----------------------------------------------------
The Feynman Problem       1) Write down the problem.
Solving Algorithm         2) Think real hard.
                          3) Write down the answer.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message