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-442-g57974d2
Date: Thu, 07 Jul 2011 12:51:10 +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  57974d28142ea95c25eebe104258b6c0e0836913 (commit)
      from  c67f4af02a42a79724536ea4f5020060dea970b6 (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=57974d28142ea95c25eebe104258b6c0e0836913


commit 57974d28142ea95c25eebe104258b6c0e0836913
Author: Sandro Santilli <address@hidden>
Date:   Thu Jul 7 14:50:23 2011 +0200

    Fix runner for the new func_dict.xml test, add an afunc_dict.xml test for 
testing the constant pool bug with anonymous functions.

diff --git a/testsuite/misc-swfmill.all/Makefile.am 
b/testsuite/misc-swfmill.all/Makefile.am
index 131241b..47e8c96 100644
--- a/testsuite/misc-swfmill.all/Makefile.am
+++ b/testsuite/misc-swfmill.all/Makefile.am
@@ -46,6 +46,7 @@ SC_AS2_XMLTESTS = \
        jump_to_prev_block.xml \
        dict_override.xml \
        func_dict.xml \
+       afunc_dict.xml \
        initaction_in_definesprite.xml \
        zeroframe_definesprite.xml \
        background.xml \
@@ -94,6 +95,7 @@ check_SCRIPTS = \
        jump_to_prev_block-runner \
        dict_override-runner \
        func_dict-runner \
+       afunc_dict-runner \
        initaction_in_definesprite-runner \
        zeroframe_definesprite-runner \
        registers-runner \
@@ -126,8 +128,12 @@ dict_override-runner: $(srcdir)/../generic-testrunner.sh 
dict_override.swf Makef
        sh $(srcdir)/../generic-testrunner.sh -r 50 -c "END OF TEST" 
$(top_builddir) dict_override.swf > $@
        chmod 755 $@
 
-func_dict-runner: $(srcdir)/../generic-testrunner.sh dict_override.swf Makefile
-       sh $(srcdir)/../generic-testrunner.sh -r 50 -c "END OF TEST" 
$(top_builddir) dict_override.swf > $@
+func_dict-runner: $(srcdir)/../generic-testrunner.sh func_dict.swf Makefile
+       sh $(srcdir)/../generic-testrunner.sh -r 50 -c "END OF TEST" 
$(top_builddir) func_dict.swf > $@
+       chmod 755 $@
+
+afunc_dict-runner: $(srcdir)/../generic-testrunner.sh afunc_dict.swf Makefile
+       sh $(srcdir)/../generic-testrunner.sh -r 50 -c "END OF TEST" 
$(top_builddir) afunc_dict.swf > $@
        chmod 755 $@
 
 initaction_in_definesprite-runner: $(srcdir)/../generic-testrunner.sh 
initaction_in_definesprite.swf Makefile
diff --git a/testsuite/misc-swfmill.all/func_dict.xml 
b/testsuite/misc-swfmill.all/afunc_dict.xml
similarity index 88%
copy from testsuite/misc-swfmill.all/func_dict.xml
copy to testsuite/misc-swfmill.all/afunc_dict.xml
index ecb23c5..2cc54b5 100644
--- a/testsuite/misc-swfmill.all/func_dict.xml
+++ b/testsuite/misc-swfmill.all/afunc_dict.xml
@@ -10,6 +10,9 @@
  the pool in the action buffer is overridden at time
  of function call.
 
+ This file uses anonymous function, see func_dict.xml 
+ for a named function.
+
 -->
 
   <Header framerate="12" frames="1">
@@ -27,8 +30,15 @@
             </strings>
           </Dictionary>
 
+       <!-- Name we'll assign to the function -->
+          <PushData>
+            <items>
+              <StackString value="f"/>
+            </items>
+          </PushData>
+
        <!-- Function code -->
-          <DeclareFunction name="f" argc="0" length="15">
+          <DeclareFunction name="" argc="0" length="15">
             <args/>
           </DeclareFunction>
           <PushData>
@@ -46,6 +56,9 @@
           <AddTyped/>
           <SetVariable/>
 
+       <!-- Assigning the anonymous function to the variable `f' -->
+          <SetVariable/>
+
        <!-- Dictionary after function definition -->
           <Dictionary>
             <strings>
diff --git a/testsuite/misc-swfmill.all/func_dict.xml 
b/testsuite/misc-swfmill.all/func_dict.xml
index ecb23c5..69e74bb 100644
--- a/testsuite/misc-swfmill.all/func_dict.xml
+++ b/testsuite/misc-swfmill.all/func_dict.xml
@@ -10,6 +10,9 @@
  the pool in the action buffer is overridden at time
  of function call.
 
+ This file uses named function, see afunc_dict.xml 
+ for an anonymous function.
+
 -->
 
   <Header framerate="12" frames="1">

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

Summary of changes:
 testsuite/misc-swfmill.all/Makefile.am             |   10 ++++++++--
 .../{func_dict.xml => afunc_dict.xml}              |   15 ++++++++++++++-
 testsuite/misc-swfmill.all/func_dict.xml           |    3 +++
 3 files changed, 25 insertions(+), 3 deletions(-)
 copy testsuite/misc-swfmill.all/{func_dict.xml => afunc_dict.xml} (88%)


hooks/post-receive
-- 
Gnash



reply via email to

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