runtests: tightened servers package exports

The defaults are intended for runtests.pl, whereas runner.pm needs to
explicitly specify them.
This commit is contained in:
Dan Fandrich 2023-04-21 14:07:06 -07:00
parent 8da49c9e38
commit 640f4c2267
3 changed files with 29 additions and 9 deletions

View File

@ -49,7 +49,12 @@ BEGIN {
}
use globalconfig;
use servers;
use servers qw(
initserverconfig
protoport
serverfortest
stopservers
);
use runner qw(
readtestkeywords
singletest_preprocess

View File

@ -33,19 +33,19 @@ BEGIN {
use base qw(Exporter);
our @EXPORT = qw(
checktestcmd
prepro
restore_test_env
runner_test_preprocess
runner_test_run
checktestcmd
$DBGCURL
$gdb
$gdbthis
$gdbxwin
$shallow
$tortalloc
$valgrind_logfile
$valgrind_tool
$gdb
);
# these are for debugging only
@ -61,8 +61,13 @@ use pathhelp qw(
use processhelp qw(
portable_sleep
);
use servers;
use servers qw(
checkcmd
serverfortest
stopserver
stopservers
subvariables
);
use getpart;
use globalconfig;
use testutil;

View File

@ -54,14 +54,24 @@ BEGIN {
# functions
qw(
initserverconfig
checkcmd
clearlocks
protoport
initserverconfig
stopservers
)
);
our @EXPORT_OK = (
# functions
qw(
checkcmd
serverfortest
stopserver
stopservers
subvariables
),
# for debugging only
qw(
protoport
)
);
}