[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [SCM] Gnash branch, master, updated. 4a3245ce455b0aca9e17
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] [SCM] Gnash branch, master, updated. 4a3245ce455b0aca9e17ffb810af6945b3d4b898 |
Date: |
Mon, 11 Oct 2010 12:37:46 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".
The branch, master has been updated
via 4a3245ce455b0aca9e17ffb810af6945b3d4b898 (commit)
via 15a5ead504a1f73e8dc73fb84aacab7f462309cf (commit)
via 6243a6b837514574433b39c284d2e1135243ffc8 (commit)
from a0e13788d5eed5bbd673bb1dc2349116d852006c (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 -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=4a3245ce455b0aca9e17ffb810af6945b3d4b898
commit 4a3245ce455b0aca9e17ffb810af6945b3d4b898
Author: Sandro Santilli <address@hidden>
Date: Mon Oct 11 14:37:29 2010 +0200
Pass XMLSocketTester args to server process (useful for -v)
diff --git a/testsuite/misc-ming.all/XMLSocketTester.sh
b/testsuite/misc-ming.all/XMLSocketTester.sh
index d9cc0ba..5a30af0 100644
--- a/testsuite/misc-ming.all/XMLSocketTester.sh
+++ b/testsuite/misc-ming.all/XMLSocketTester.sh
@@ -58,7 +58,7 @@ cat << EOF
outlog=${top_builddir}/testoutlog.\$$
(
echo "Running first process"
- $perl ${top_srcdir}/testsuite/XmlSocketServer.pl
+ $perl ${top_srcdir}/testsuite/XmlSocketServer.pl \$@
) &
(
echo "Running second process"
http://git.savannah.gnu.org/cgit//commit/?id=15a5ead504a1f73e8dc73fb84aacab7f462309cf
commit 15a5ead504a1f73e8dc73fb84aacab7f462309cf
Author: Sandro Santilli <address@hidden>
Date: Mon Oct 11 14:37:22 2010 +0200
Be verbose only if requested
diff --git a/testsuite/XmlSocketServer.pl b/testsuite/XmlSocketServer.pl
index 91970ca..d851a45 100644
--- a/testsuite/XmlSocketServer.pl
+++ b/testsuite/XmlSocketServer.pl
@@ -7,6 +7,7 @@ $SIG{PIPE}='IGNORE';
my $m=new IO::Socket::INET(Listen=>1,LocalPort=>2229,Reuse=>1,Proto=>'tcp');
my $O=new IO::Select($m);
+$verbose = ( $ARGV[0] eq '-v' ) ? 1 : 0;
$/ = "\0";
@@ -20,10 +21,10 @@ while (@S = $O->can_read) {
my $R=sysread($_, $i, 16000);
# Log message received:
- print "XmlSocketServer: received \"$i\"\n";
+ print "XmlSocketServer: received \"$i\"\n" if $verbose;
if ($i =~ m/closeNow/) {
- print("Closing...\n");
+ print("Closing...\n") if $verbose;
close($m);
Time::HiRes::sleep(1);
}
@@ -39,7 +40,7 @@ while (@S = $O->can_read) {
# Sleep a bit before sending a reply to mimic web traffic
# (well, sort of).
Time::HiRes::sleep(0.5);
- print "XmlSocketServer: sending \"$i\" \n";
+ print "XmlSocketServer: sending \"$i\" \n" if $verbose;
$i =~ s/\*NEWLINE\*/\n/g;
$i =~ s/\*NULL\*/\0/g;
http://git.savannah.gnu.org/cgit//commit/?id=6243a6b837514574433b39c284d2e1135243ffc8
commit 6243a6b837514574433b39c284d2e1135243ffc8
Author: Sandro Santilli <address@hidden>
Date: Mon Oct 11 14:19:34 2010 +0200
Loop less at startup
diff --git a/testsuite/misc-ming.all/XMLSocketTest.as
b/testsuite/misc-ming.all/XMLSocketTest.as
index 2ac875b..1edaf3d 100644
--- a/testsuite/misc-ming.all/XMLSocketTest.as
+++ b/testsuite/misc-ming.all/XMLSocketTest.as
@@ -14,7 +14,9 @@ xmlArray[8] = undefined;
xmlArray[9] = 9;
xmlArray[10] = "";
a = "";
-for (i = 0; i < 15000; ++i) { a += "a"; };
+for (i = 0; i < 250; ++i) {
+ a += "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; // 60
+};
xmlArray[11] = a;
xmlArray[12] = 'Last Item';
xmlArray[13] = 'closeNow';
@@ -36,7 +38,7 @@ expectedArray[11] = '</xml>';
expectedArray[12] = 'undefined';
expectedArray[13] = 9;
expectedArray[14] = '';
-// Don't check 15.
+// Don't check 15 (we'll only check length)
expectedArray[16] = 'Last Item';
gc = 0;
-----------------------------------------------------------------------
Summary of changes:
testsuite/XmlSocketServer.pl | 7 ++++---
testsuite/misc-ming.all/XMLSocketTest.as | 6 ++++--
testsuite/misc-ming.all/XMLSocketTester.sh | 2 +-
3 files changed, 9 insertions(+), 6 deletions(-)
hooks/post-receive
--
Gnash
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] [SCM] Gnash branch, master, updated. 4a3245ce455b0aca9e17ffb810af6945b3d4b898,
Sandro Santilli <=