Gitweb links:
...log
http://git.netsurf-browser.org/buildsystem.git/shortlog/0d348add42028c233efead8ea6ce45503fe29c35
...commit
http://git.netsurf-browser.org/buildsystem.git/commit/0d348add42028c233efead8ea6ce45503fe29c35
...tree
http://git.netsurf-browser.org/buildsystem.git/tree/0d348add42028c233efead8ea6ce45503fe29c35
The branch, master has been updated
via 0d348add42028c233efead8ea6ce45503fe29c35 (commit)
from d204212f8855997428324607b19fb0bd33881f37 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/buildsystem.git/commit/?id=0d348add42028c233efead8ea6ce45503fe29c35
commit 0d348add42028c233efead8ea6ce45503fe29c35
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>
Test runner: Fix handling of empty output lines.
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);
-----------------------------------------------------------------------
Summary of changes:
testtools/testrunner.pl | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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);
--
NetSurf Project build system
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org