CVSROOT: /sources/gnash Module name: gnash Changes by: Sandro Santilli <strk> 07/10/20 07:24:20
Modified files: . : ChangeLog testsuite : MovieTester.cpp Log message: * testsuite/MovieTester.cpp: call set_base_url *before* create_movie (fixes make check) CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4652&r2=1.4653 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/MovieTester.cpp?cvsroot=gnash&r1=1.55&r2=1.56 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.4652 retrieving revision 1.4653 diff -u -b -r1.4652 -r1.4653 --- ChangeLog 20 Oct 2007 07:05:16 -0000 1.4652 +++ ChangeLog 20 Oct 2007 07:24:19 -0000 1.4653 @@ -1,5 +1,7 @@ 2007-10-20 Sandro Santilli <[EMAIL PROTECTED]> + * testsuite/MovieTester.cpp: call set_base_url *before* + create_movie* * libbase/rc.h: add a "local sandboxes" configuration. This is not yet allowed to be set in .gnashrc, but can be set by internal calls. Index: testsuite/MovieTester.cpp =================================================================== RCS file: /sources/gnash/gnash/testsuite/MovieTester.cpp,v retrieving revision 1.55 retrieving revision 1.56 diff -u -b -r1.55 -r1.56 --- testsuite/MovieTester.cpp 18 Oct 2007 12:45:41 -0000 1.55 +++ testsuite/MovieTester.cpp 20 Oct 2007 07:24:20 -0000 1.56 @@ -62,6 +62,10 @@ // Initialize gnash code lib gnashInit(); + // Set base url *before* calling create_movie + // TODO: use PWD if url == '-' + set_base_url(url); + if ( url == "-" ) { std::auto_ptr<tu_file> in ( @@ -75,9 +79,6 @@ _movie_def = gnash::create_library_movie(URL(url), NULL, false); } - // TODO: use PWD if url == '-' - set_base_url(url); - if ( ! _movie_def ) { throw GnashException("Could not load movie from "+url); _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit