You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Rick Myers <ri...@sumthin.nu> on 2001/12/22 01:27:46 UTC
this fixes a little problem with ``make testdb''
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
Re: this fixes a little problem with ``make testdb''
Posted by Doug MacEachern <do...@covalent.net>.
On Fri, 21 Dec 2001, Rick Myers wrote:
> I realize work is currently underway for Apache::Test
more than underway, it is very far along. have you tried it yet?
time would be much better spent there rather than Apache::test.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org