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/eventSo...


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/eventSo...
Date: Wed, 06 Jun 2007 13:31:10 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/06/06 13:31:10

Modified files:
        .              : ChangeLog 
        testsuite/misc-ming.all: eventSoundTest1-Runner.cpp 

Log message:
                * testsuite/misc-ming.all/eventSoundTest1-Runner.cpp: don't 
test sound
                  if sound is not supported.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3471&r2=1.3472
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/eventSoundTest1-Runner.cpp?cvsroot=gnash&r1=1.5&r2=1.6

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3471
retrieving revision 1.3472
diff -u -b -r1.3471 -r1.3472
--- ChangeLog   6 Jun 2007 13:24:51 -0000       1.3471
+++ ChangeLog   6 Jun 2007 13:31:09 -0000       1.3472
@@ -1,3 +1,8 @@
+2007-06-06 Sandro Santilli <address@hidden>
+
+       * testsuite/misc-ming.all/eventSoundTest1-Runner.cpp: don't test sound
+         if sound is not supported.
+
 2007-06-06 Udo Giacomozzi <address@hidden>
 
        * backend/render_handler_agg.cpp: apply stage scaling to matrix,

Index: testsuite/misc-ming.all/eventSoundTest1-Runner.cpp
===================================================================
RCS file: 
/sources/gnash/gnash/testsuite/misc-ming.all/eventSoundTest1-Runner.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- testsuite/misc-ming.all/eventSoundTest1-Runner.cpp  28 May 2007 15:41:12 
-0000      1.5
+++ testsuite/misc-ming.all/eventSoundTest1-Runner.cpp  6 Jun 2007 13:31:09 
-0000       1.6
@@ -67,6 +67,12 @@
 
        check_equals(root->get_frame_count(), 20);
 
+       if ( ! tester.canTestSound() )
+       {
+               cout << "UNTESTED: sounds can't be tested with this build." << 
endl;
+               return EXIT_SUCCESS; // so testing doesn't abort
+       } 
+
        // Advance and check...
        int frame = root->get_current_frame(); // 1
        int sounds = 1;




reply via email to

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