Fixed that unit.pcre_test works again.
This commit is contained in:
parent
bcd160753c
commit
ecc1cd219d
@ -48,10 +48,10 @@ sub start_test {
|
|||||||
my ($command, %tests, $prefix);
|
my ($command, %tests, $prefix);
|
||||||
for (@ctest_list) {
|
for (@ctest_list) {
|
||||||
chomp;
|
chomp;
|
||||||
if (/^\d+: Test command: +([^ \t]+)/) {
|
if (/^\d+: Test command: +([^ \t]+.*)/) {
|
||||||
$command= $1;
|
$command= $1;
|
||||||
$prefix= /libmariadb/ ? 'conc_' : '';
|
$prefix= /libmariadb/ ? 'conc_' : '';
|
||||||
} elsif (/^ +Test +#\d+: ([^ \t]+)/) {
|
} elsif (/^ +Test +#\d+: ([^ \t]+.*)/) {
|
||||||
if ($command ne "NOT_AVAILABLE" && $command ne "/bin/sh") {
|
if ($command ne "NOT_AVAILABLE" && $command ne "/bin/sh") {
|
||||||
$tests{$prefix.$1}=$command;
|
$tests{$prefix.$1}=$command;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user