gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-


From: Sandro Santilli
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1638-gfb23f4d
Date: Thu, 04 Jul 2013 13:20:00 +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  fb23f4d20960522c4130991567bd7dbace87a8b1 (commit)
      from  b97684dbca5d50358e82f72adb64f32b0c1fb702 (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=fb23f4d20960522c4130991567bd7dbace87a8b1


commit fb23f4d20960522c4130991567bd7dbace87a8b1
Author: Sandro Santilli <address@hidden>
Date:   Thu Jul 4 15:14:38 2013 +0200

    Add test for savannah bug #39404
    
    The test would not necessarely fail on "make check", even in presence
    of the bug, but a valgrind run would catch it. It would be nice to
    add a "valgrind-check" rule to run all tests under valgrind...
    
    I verified that valgrind is only happy after Bastiaan patch

diff --git a/testsuite/actionscript.all/XMLNode.as 
b/testsuite/actionscript.all/XMLNode.as
index ae1b054..bcc254b 100644
--- a/testsuite/actionscript.all/XMLNode.as
+++ b/testsuite/actionscript.all/XMLNode.as
@@ -406,5 +406,13 @@ check_equals(xn.toString(), "");
 xn = new XMLNode(7, "");
 check_equals(xn.toString(), "");
 
+// Test for https://savannah.gnu.org/bugs/index.php?39404
+// NOTE: you need to run under valgrind to determine 
+//       if the test was successful or not...
+x = new XML('<t></t>'); x.appendChild(new XML('<t></t>'));
+var x2 = new XML('<t></t>'); x2.appendChild(x); delete x2;
+// many allocations force GC run
+for (var i=0; i<256; ++i) x = {};
+
 
 check_totals(182);

-----------------------------------------------------------------------

Summary of changes:
 testsuite/actionscript.all/XMLNode.as |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]