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 <crc@liblime.com> Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
156cbf4eb6
commit
6530b683f8
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue