Skip to content

Commit be2c068

Browse files
authored
Merge pull request #3889 from forejtv/forejtv/test-pl-var-separator
Variable in test.desc file can be also separated by ':' or ';'
2 parents 502d7e6 + f127bf4 commit be2c068

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

regression/test.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ ($$$$$$$$$$)
7474
foreach my $key (@keys) {
7575
my $value = $defines->{$key};
7676
$options =~ s/(\$$key$|\$$key )/$value /g;
77+
$options =~ s/\$$key([:;])/$value\1/g; # Variables in --classpath are separated by (semi)colons
7778
}
7879
if (scalar @keys) {
7980
foreach my $word (split(/\s/, $options)) {

0 commit comments

Comments
 (0)