CVSROOT: /sources/gnash Module name: gnash Changes by: Sandro Santilli <strk> 07/10/05 08:25:00
Modified files: . : ChangeLog testsuite/misc-swfmill.all: Makefile.am Added files: testsuite/misc-swfmill.all: jump_after_end.xml Log message: * testsuite/misc-swfmill.all/: Makefile.am, jump_after_end.xml: Test that it is completely fine to jump past the END opcode in an action buffer (thanks Chad). Note that the tests in misc-swfmill.all are not automated yet (need to find out how to make use of the Dejagnu.swf lib) CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4533&r2=1.4534 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-swfmill.all/Makefile.am?cvsroot=gnash&r1=1.4&r2=1.5 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-swfmill.all/jump_after_end.xml?cvsroot=gnash&rev=1.1 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.4533 retrieving revision 1.4534 diff -u -b -r1.4533 -r1.4534 --- ChangeLog 5 Oct 2007 08:13:28 -0000 1.4533 +++ ChangeLog 5 Oct 2007 08:24:59 -0000 1.4534 @@ -1,5 +1,13 @@ 2007-10-05 Sandro Santilli <[EMAIL PROTECTED]> + * testsuite/misc-swfmill.all/: Makefile.am, jump_after_end.xml: + Test that it is completely fine to jump past the END opcode + in an action buffer (thanks Chad). Note that the tests in + misc-swfmill.all are not automated yet (need to find out how + to make use of the Dejagnu.swf lib) + +2007-10-05 Sandro Santilli <[EMAIL PROTECTED]> + * server/movie_root.cpp: catch less ActionLimitException: in setMovieRoot and in advance (both can trigger immediate execution of actions). Basically I removed from setLevel as it can be called Index: testsuite/misc-swfmill.all/Makefile.am =================================================================== RCS file: /sources/gnash/gnash/testsuite/misc-swfmill.all/Makefile.am,v retrieving revision 1.4 retrieving revision 1.5 diff -u -b -r1.4 -r1.5 --- testsuite/misc-swfmill.all/Makefile.am 7 Sep 2007 12:25:41 -0000 1.4 +++ testsuite/misc-swfmill.all/Makefile.am 5 Oct 2007 08:24:59 -0000 1.5 @@ -25,6 +25,7 @@ ## Self-contained XML tests SC_XMLTESTS = \ hello.xml \ + jump_after_end.xml \ $(NULL) ## Path to Dejagnu.swf file @@ -39,8 +40,13 @@ cp ../misc-ming.all/Dejagnu.swf . check_SCRIPTS = \ + alltests-runner \ $(NULL) +alltests-runner: $(srcdir)/../generic-testrunner.sh $(SC_XMLTESTS_OUT) + sh $< -r 50 $(top_builddir) $(SC_XMLTESTS_OUT) > $@ + chmod 755 $@ + .xml.swf: $(SWFMILL) -v simple $(@:%.swf=$(srcdir)/%.xml) $@ Index: testsuite/misc-swfmill.all/jump_after_end.xml =================================================================== RCS file: testsuite/misc-swfmill.all/jump_after_end.xml diff -N testsuite/misc-swfmill.all/jump_after_end.xml --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ testsuite/misc-swfmill.all/jump_after_end.xml 5 Oct 2007 08:24:59 -0000 1.1 @@ -0,0 +1,60 @@ +<?xml version="1.0"?> +<swf version="6" compressed="1"> + +<!-- +This test checks if you can jump after the end opcode in a doaction block + +EXPECTED OUTPUT: + - TRACE: jump target + +TODO: + - Find out how to embed the Dejagnu.swf lib + - Find out how to call the Dejagnu.swf interfaces +--> + + + <Header framerate="12" frames="1"> + <size> + <Rectangle left="0" right="12800" top="0" bottom="9600"/> + </size> + <tags> + <SetBackgroundColor> + <color> + <Color red="255" green="255" blue="255"/> + </color> + </SetBackgroundColor> + <DoAction> + <actions> + <Dictionary> + <strings> + <String value="jump target"/> + </strings> + </Dictionary> + <PushData> + <items> + <StackInteger value="1"/> + </items> + </PushData> + <LogicalNOT/> + <BranchIfTrue byteOffset="7"/> + <PushData> + <items> + <StackDictionaryLookup index="0"/> + </items> + </PushData> + <Trace/> + <EndAction/> + <PushData> + <items> + <StackInteger value="2"/> + </items> + </PushData> + <Trace/> + <EndAction/> + </actions> + </DoAction> + <ShowFrame/> + <End/> + </tags> + </Header> +</swf> _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit