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-325-g99aadb4
Date: Sat, 30 Apr 2011 09:53:34 +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  99aadb4ecf91182750f2999ac80a5a9997f4069d (commit)
      from  bf1b83496da3cb98b111f8875334876baa91dc3e (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=99aadb4ecf91182750f2999ac80a5a9997f4069d


commit 99aadb4ecf91182750f2999ac80a5a9997f4069d
Author: Sandro Santilli <address@hidden>
Date:   Sat Apr 30 11:16:35 2011 +0200

    Add automated test for bug #33176 (tags after last advertised frame)

diff --git a/testsuite/misc-swfmill.all/Makefile.am 
b/testsuite/misc-swfmill.all/Makefile.am
index 4a0a47f..4721b88 100644
--- a/testsuite/misc-swfmill.all/Makefile.am
+++ b/testsuite/misc-swfmill.all/Makefile.am
@@ -51,6 +51,7 @@ SC_AS2_XMLTESTS = \
        registers.xml \
        Try-without-jump.xml \
        missing_bitmap.xml \
+       tags_after_last_showframe \
        $(NULL)
 
 SC_AS3_XMLTESTS = \
@@ -95,6 +96,7 @@ check_SCRIPTS = \
        zeroframe_definesprite-runner \
        registers-runner \
        Try-without-jump-runner \
+       tags_after_last_showframe-runner \
        $(NULL)
 
 check_PROGRAMS = \
@@ -138,6 +140,10 @@ Try-without-jump-runner: 
$(srcdir)/../generic-testrunner.sh Try-without-jump.swf
        sh $(srcdir)/../generic-testrunner.sh -r 50 -c "END OF TEST" 
$(top_builddir) Try-without-jump.swf > $@
        chmod 755 $@
 
+tags_after_last_showframe-runner: $(srcdir)/../generic-testrunner.sh 
tags_after_last_showframe.swf Makefile
+       sh $(srcdir)/../generic-testrunner.sh -r 50 -C "a1-i1-a2-a3-1" 
$(top_builddir) tags_after_last_showframe.swf > $@
+       chmod 755 $@
+
 backgroundTestRunner_SOURCES = \
        backgroundTestRunner.cpp \
        $(NULL)
diff --git a/testsuite/misc-swfmill.all/tags_after_last_showframe.xml 
b/testsuite/misc-swfmill.all/tags_after_last_showframe.xml
new file mode 100644
index 0000000..0e79da6
--- /dev/null
+++ b/testsuite/misc-swfmill.all/tags_after_last_showframe.xml
@@ -0,0 +1,147 @@
+<?xml version="1.0"?>
+<swf version="6" compressed="1">
+
+<!--
+  |
+  |  This file test that tag after last advertised SHOWFRAME
+  |  are still executed.
+  |
+  |  Current version only tests DOACTION and DOINITACTION tag,
+  |  as per https://savannah.gnu.org/bugs/?33176
+  |
+  |  Expected output is a 'a1-i1-a2-a3-' trace.
+  |
+  |  The test could be expanded to include more tests.
+  |
+-->
+  <Header framerate="12" frames="1">
+
+    <tags>
+
+      <DefineSprite objectID="1" frames="1">
+        <tags>
+          <ShowFrame/>
+          <End/>
+        </tags>
+      </DefineSprite>
+
+      <DoAction>
+        <actions>
+          <PushData>
+            <items>
+              <StackString value="s"/>
+            </items>
+          </PushData>
+          <Duplicate/>
+          <GetVariable/>
+          <PushData>
+            <items>
+              <StackString value="a1-"/>
+            </items>
+          </PushData>
+          <AddTyped/>
+          <SetVariable/>
+          <EndAction/>
+        </actions>
+      </DoAction>
+
+      <ShowFrame/>
+
+      <DoAction>
+        <actions>
+          <PushData>
+            <items>
+              <StackString value="s"/>
+            </items>
+          </PushData>
+          <Duplicate/>
+          <GetVariable/>
+          <PushData>
+            <items>
+              <StackString value="a2-"/>
+            </items>
+          </PushData>
+          <AddTyped/>
+          <SetVariable/>
+          <EndAction/>
+        </actions>
+      </DoAction>
+
+      <DoInitAction sprite="1">
+        <actions>
+          <PushData>
+            <items>
+              <StackString value="s"/>
+            </items>
+          </PushData>
+          <Duplicate/>
+          <GetVariable/>
+          <PushData>
+            <items>
+              <StackString value="i1-"/>
+            </items>
+          </PushData>
+          <AddTyped/>
+          <SetVariable/>
+          <EndAction/>
+        </actions>
+      </DoInitAction>
+
+      <DoAction>
+        <actions>
+          <PushData>
+            <items>
+              <StackString value="s"/>
+            </items>
+          </PushData>
+          <Duplicate/>
+          <GetVariable/>
+          <PushData>
+            <items>
+              <StackString value="a3-"/>
+            </items>
+          </PushData>
+          <AddTyped/>
+          <SetVariable/>
+          <EndAction/>
+        </actions>
+      </DoAction>
+
+      <DoAction>
+        <actions>
+          <PushData>
+            <items>
+              <StackString value="s"/>
+            </items>
+          </PushData>
+          <Duplicate/>
+          <GetVariable/>
+          <PushData>
+            <items>
+              <StackString value="_framesloaded"/>
+            </items>
+          </PushData>
+          <GetVariable/>
+          <AddTyped/>
+          <SetVariable/>
+          <EndAction/>
+        </actions>
+      </DoAction>
+
+      <DoAction>
+        <actions>
+          <PushData>
+            <items>
+              <StackString value="s"/>
+            </items>
+          </PushData>
+          <GetVariable/>
+          <Trace/>
+          <EndAction/>
+        </actions>
+      </DoAction>
+
+      <End/>
+    </tags>
+  </Header>
+</swf>

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

Summary of changes:
 testsuite/misc-swfmill.all/Makefile.am             |    6 +
 .../misc-swfmill.all/tags_after_last_showframe.xml |  147 ++++++++++++++++++++
 2 files changed, 153 insertions(+), 0 deletions(-)
 create mode 100644 testsuite/misc-swfmill.all/tags_after_last_showframe.xml


hooks/post-receive
-- 
Gnash



reply via email to

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