summaryrefslogtreecommitdiff
path: root/testtools/testrunner.pl
diff options
context:
space:
mode:
Diffstat (limited to 'testtools/testrunner.pl')
-rw-r--r--testtools/testrunner.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/testtools/testrunner.pl b/testtools/testrunner.pl
index fe55ebe..ad6fcdc 100644
--- a/testtools/testrunner.pl
+++ b/testtools/testrunner.pl
@@ -86,7 +86,7 @@ while (my $line = <TINDEX>) {
# Run testcase
run_test("$builddir/$test",
"$directory/data/$data/$dtest");
- }
+ }
close(DINDEX);
} else {
@@ -148,6 +148,8 @@ sub run_test
# EOF, so remove handle
$selector->remove($fh);
next;
+ } elsif ($len == 1 && $input eq "\n") {
+ # Skip bare new line.
} else {
# Split into lines
my @lines = split('\n', $input);