mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-01-27 00:33:34 +00:00
Don't moan if we use DATA= without having suite set.
This commit is contained in:
parent
9a0a2c0e91
commit
c68c8f1047
@ -117,7 +117,7 @@ while( <TEST> ) {
|
||||
|
||||
$line =~ /^\s*DATA\s*=\s*(\S.*)$/ && do {
|
||||
my $basename = $1;
|
||||
if ( -e "tests/$suite/$basename.data" ) {
|
||||
if ( defined($suite) && -e "tests/$suite/$basename.data" ) {
|
||||
$datafile="tests/$suite/$basename.data";
|
||||
}
|
||||
elsif ( -e "$basename.data" ) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user