aboutsummaryrefslogtreecommitdiff
path: root/scripts/bench.pl
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2013-12-04 18:20:32 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2013-12-04 18:20:32 +0530
commitecaf142d3d70630a0d7f028d334b5339ff2b996d (patch)
treeb749a7bc2f30bf0c7f2c75c764ce7ded841ebb45 /scripts/bench.pl
parentfbf964ae8b52fb10ebe5f43996f53ddab53c08ed (diff)
downloadglibc-ecaf142d3d70630a0d7f028d334b5339ff2b996d.zip
glibc-ecaf142d3d70630a0d7f028d334b5339ff2b996d.tar.gz
glibc-ecaf142d3d70630a0d7f028d334b5339ff2b996d.tar.bz2
benchtests: skip over blank lines in benchmark input files
Diffstat (limited to 'scripts/bench.pl')
-rwxr-xr-xscripts/bench.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/bench.pl b/scripts/bench.pl
index 492ab81..6ad93fa 100755
--- a/scripts/bench.pl
+++ b/scripts/bench.pl
@@ -83,8 +83,8 @@ LINE:while (<INPUTS>) {
}
}
- # Skip over comments.
- if (/^#/) {
+ # Skip over comments and blank lines.
+ if (/^#/ || /^$/) {
next LINE;
}
push (@curvals, $_);