gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Video-E...


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Video-E...
Date: Thu, 29 Nov 2007 14:39:40 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/11/29 14:39:40

Modified files:
        .              : ChangeLog 
        testsuite/misc-ming.all: Video-EmbedSquareTestRunner.cpp 

Log message:
        don't test video if built w/out support for it.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5016&r2=1.5017
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/Video-EmbedSquareTestRunner.cpp?cvsroot=gnash&r1=1.6&r2=1.7

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.5016
retrieving revision 1.5017
diff -u -b -r1.5016 -r1.5017
--- ChangeLog   29 Nov 2007 13:03:28 -0000      1.5016
+++ ChangeLog   29 Nov 2007 14:39:40 -0000      1.5017
@@ -1,5 +1,10 @@
 2007-11-29 Sandro Santilli <address@hidden>
 
+       * testsuite/misc-ming.all/Video-EmbedSquareTestRunner.cpp: don't test 
video
+         if built w/out support for it.
+
+2007-11-29 Sandro Santilli <address@hidden>
+
        * testsuite/actionscript.all/MovieClip.as: add test for
          MovieClip._level (gnash fails)
        * testsuite/misc-mtasc.all/Dejagnu.as: print info message on successes 
too.

Index: testsuite/misc-ming.all/Video-EmbedSquareTestRunner.cpp
===================================================================
RCS file: 
/sources/gnash/gnash/testsuite/misc-ming.all/Video-EmbedSquareTestRunner.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testsuite/misc-ming.all/Video-EmbedSquareTestRunner.cpp     1 Jul 2007 
10:54:47 -0000       1.6
+++ testsuite/misc-ming.all/Video-EmbedSquareTestRunner.cpp     29 Nov 2007 
14:39:40 -0000      1.7
@@ -61,6 +61,14 @@
        
        // Just loop twice, so to catch crashes...
        for (int j = 0; j < 2; ++j) {
+
+               if ( ! tester.canTestVideo() )
+               {
+                       // no pixel checking, but we'd still be interested in 
crashes...
+                       tester.advance();
+                       continue;
+               }
+               
                // Frame 1
 
                // Check the color in (1,1) - should be red
@@ -96,6 +104,7 @@
 
                        i += 10;
                }
+
                tester.advance();
        }
 




reply via email to

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