|
From: Jeremy F. <je...@go...> - 2005-01-17 22:33:47
|
CVS commit by fitzhardinge:
Allow .vgtest files to have comments and blank lines.
M +3 -1 vg_regtest.in 1.28
--- valgrind/tests/vg_regtest.in #1.27:1.28
@@ -182,5 +182,7 @@
while (my $line = <INPUTFILE>) {
- if ($line =~ /^\s*vgopts:\s*(.*)$/) {
+ if ($line =~ /^\s*#/ || $line =~ /^\s*$/) {
+ next;
+ } elsif ($line =~ /^\s*vgopts:\s*(.*)$/) {
$vgopts = $1;
} elsif ($line =~ /^\s*prog:\s*(.*)$/) {
|