benchtests: skip over blank lines in benchmark input files
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Wed, 4 Dec 2013 12:50:32 +0000 (18:20 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Wed, 4 Dec 2013 12:50:32 +0000 (18:20 +0530)
ChangeLog
scripts/bench.pl

index 55f2c2d..c191b98 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       * scripts/bench.pl: Skip over blank lines.
+
 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
 
        [BZ #926]
index 492ab81..6ad93fa 100755 (executable)
@@ -83,8 +83,8 @@ LINE:while (<INPUTS>) {
     }
   }
 
-  # Skip over comments.
-  if (/^#/) {
+  # Skip over comments and blank lines.
+  if (/^#/ || /^$/) {
     next LINE;
   }
   push (@curvals, $_);