Use --schema-base-dir setting of ./Build test for all tests

so instead of
PERL5LIB="$SCHEMA_LOCATION/lib" ./Build test --schema-base-dir=$SCHEMA_LOCATION
it should now be possible to just do
./Build test --schema-base-dir=$SCHEMA_LOCATION
agranig/peering-route
Gerhard Jungwirth 13 years ago
parent 38e31a6ac8
commit 5c5e41cf9c

@ -76,6 +76,11 @@ sub _test_preconditions {
'ngcp_panel.psgi';
} stdout => $debug_fh;
};
if ($opt{'schema-base-dir'}) {
require blib;
blib->import($opt{'schema-base-dir'})
}
$self->wait_socket($uri->host, $uri->port);
$ENV{CATALYST_SERVER} = $opt{server};
}

Loading…
Cancel
Save