gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/trunk r11689: Additional test to try impor


From: Sandro Santilli
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r11689: Additional test to try importing from a movie which imports itself from another (still for bug #28269)
Date: Sat, 12 Dec 2009 12:13:08 +0100
User-agent: Bazaar (2.0.2)

------------------------------------------------------------
revno: 11689
committer: Sandro Santilli <address@hidden>
branch nick: trunk
timestamp: Sat 2009-12-12 12:13:08 +0100
message:
  Additional test to try importing from a movie which imports itself from 
another (still for bug #28269)
added:
  testsuite/misc-ming.all/attachExtImported.as
modified:
  testsuite/misc-ming.all/Makefile.am
=== modified file 'testsuite/misc-ming.all/Makefile.am'
--- a/testsuite/misc-ming.all/Makefile.am       2009-12-12 11:04:44 +0000
+++ b/testsuite/misc-ming.all/Makefile.am       2009-12-12 11:13:08 +0000
@@ -316,6 +316,7 @@
        gotoFrame2Test-Runner \
        FlashVarsTest-Runner \
        attachImported-Runner \
+       attachExtImported-Runner \
        SharedObjectTestRunner
 endif
 
@@ -1248,6 +1249,14 @@
        sh $< -r5 $(top_builddir) attachImported.swf > $@
        chmod 755 $@
 
+# This will only work with Ming-0.4.0beta2
+# (support for prebuilt clips inclusion)
+attachExtImported.swf: Dejagnu.swf $(srcdir)/attachExtImported.as 
attachImported.swf attachMovieTest.swf
+       $(MAKESWF) -DOUTPUT_VERSION=6 -v6 -i attachImported.swf:redsquare -o $@ 
Dejagnu.swf $(srcdir)/attachExtImported.as
+attachExtImported-Runner: $(srcdir)/../generic-testrunner.sh 
attachExtImported.swf Makefile
+       sh $< -r5 $(top_builddir) attachExtImported.swf > $@
+       chmod 755 $@
+
 simple_loop_test_SOURCES =     \
        simple_loop_test.c      \
        $(NULL)
@@ -2075,7 +2084,8 @@
        SharedObjectTestRunner \
        intervalTestRunner \
        gotoFrame2Test-Runner \
-       attachImported-Runner
+       attachImported-Runner \
+       attachExtImported-Runner
 endif
 
 if MAKESWF_SUPPORTS_PREBUILT_CLIPS

=== added file 'testsuite/misc-ming.all/attachExtImported.as'
--- a/testsuite/misc-ming.all/attachExtImported.as      1970-01-01 00:00:00 
+0000
+++ b/testsuite/misc-ming.all/attachExtImported.as      2009-12-12 11:13:08 
+0000
@@ -0,0 +1,3 @@
+attachMovie('redsquare', 'rq', 1);
+check_equals(rq._width, 60.1);
+stop();


reply via email to

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