CVSROOT: /sources/gnash Module name: gnash Changes by: Sandro Santilli <strk> 07/12/23 22:24:51
Modified files: . : ChangeLog testsuite/actionscript.all: MovieClipLoader.as Log message: stop() before invoking the tests chaing. This is to workaround bogus blocking MovieClipLoader.loadClip of Gnash. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5245&r2=1.5246 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/MovieClipLoader.as?cvsroot=gnash&r1=1.7&r2=1.8 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.5245 retrieving revision 1.5246 diff -u -b -r1.5245 -r1.5246 --- ChangeLog 22 Dec 2007 23:26:56 -0000 1.5245 +++ ChangeLog 23 Dec 2007 22:24:50 -0000 1.5246 @@ -1,5 +1,8 @@ 2007-12-23 Sandro Santilli <[EMAIL PROTECTED]> + * testsuite/actionscript.all/MovieClipLoader.as: stop() before + invoking the tests chaing. This is to workaround bogus blocking + MovieClipLoader.loadClip of Gnash. * utilities/dumpshm.cpp: ISO C++ forbids variable-size array 'buf' (unused, btw) Index: testsuite/actionscript.all/MovieClipLoader.as =================================================================== RCS file: /sources/gnash/gnash/testsuite/actionscript.all/MovieClipLoader.as,v retrieving revision 1.7 retrieving revision 1.8 diff -u -b -r1.7 -r1.8 --- testsuite/actionscript.all/MovieClipLoader.as 21 Dec 2007 02:27:53 -0000 1.7 +++ testsuite/actionscript.all/MovieClipLoader.as 23 Dec 2007 22:24:51 -0000 1.8 @@ -21,7 +21,7 @@ // compile this test case with Ming makeswf, and then // execute it like this gnash -1 -r 0 -v out.swf -rcsid="$Id: MovieClipLoader.as,v 1.7 2007/12/21 02:27:53 strk Exp $"; +rcsid="$Id: MovieClipLoader.as,v 1.8 2007/12/23 22:24:51 strk Exp $"; #include "check.as" @@ -128,6 +128,7 @@ nextTestOrEnd = function() { + note("nextTestOrEnd"); if ( state.nextFunction == undefined ) { // we don't know how many times onLoadProgress will be called @@ -287,10 +288,13 @@ check( mcl.loadClip( MEDIA(green.jpg), 'loadtarget' ) ); } -test1(); - +// Due to a bug in Gnash we must stop() before calling test1. +// This is because Gnash's version of loadClip is blocking !! +// TODO: fix it ! stop(); +test1(); + #else // OUTPUT_VERSION < 7 totals(); _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit