mirror of
https://github.com/curl/curl.git
synced 2025-03-01 15:15:34 +08:00
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:
parent
8da49c9e38
commit
640f4c2267
@ -49,7 +49,12 @@ BEGIN {
|
||||
}
|
||||
|
||||
use globalconfig;
|
||||
use servers;
|
||||
use servers qw(
|
||||
initserverconfig
|
||||
protoport
|
||||
serverfortest
|
||||
stopservers
|
||||
);
|
||||
use runner qw(
|
||||
readtestkeywords
|
||||
singletest_preprocess
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
)
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user