From 6530b683f8549f3a5cd703af3108ddac7e9b1636 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Tue, 8 Jan 2008 12:57:32 -0600 Subject: [PATCH] Makefile.PL - set KOHA_CONF for make test KOHA_CONF now set to blib/KOHA_CONF_DIR/koha-conf.xml for the purpose of running the test suite. Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- Makefile.PL | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.PL b/Makefile.PL index deea05989c..1be05001ce 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1108,6 +1108,9 @@ sub test { my $self = shift; my $test = $self->SUPER::test(@_); $test =~ s!\$\(INST_LIB\)!blib/PERL_MODULE_DIR!g; + + # set KOHA_CONF + $test =~ s!\$\(FULLPERLRUN\)!KOHA_CONF=blib/KOHA_CONF_DIR/koha-conf.xml \$(FULLPERLRUN)!g; return $test; } -- 2.39.5