gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog testsuite/check.h testsuite/mis...


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog testsuite/check.h testsuite/mis...
Date: Sun, 24 Dec 2006 15:32:59 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  06/12/24 15:32:59

Modified files:
        .              : ChangeLog 
        testsuite      : check.h 
        testsuite/misc-ming.all: root_stop_testrunner.cpp 

Log message:
                * testsuite/check.h: always use the stub replacement of Dejagnu
                  as we need 'xpass' and 'xfail' which are not available in
                  latest distributed version of dejagnu.h ...
                * testsuite/misc-ming.all/root_stop_testrunner.cpp:
                  marked failures as expected.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1998&r2=1.1999
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/check.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/root_stop_testrunner.cpp?cvsroot=gnash&r1=1.1&r2=1.2

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1998
retrieving revision 1.1999
diff -u -b -r1.1998 -r1.1999
--- ChangeLog   24 Dec 2006 12:59:13 -0000      1.1998
+++ ChangeLog   24 Dec 2006 15:32:59 -0000      1.1999
@@ -1,5 +1,10 @@
 2006-12-24 Sandro Santilli <address@hidden>
 
+       * testsuite/check.h: always use the stub replacement of Dejagnu
+         as we need 'xpass' and 'xfail' which are not available in
+         latest distributed version of dejagnu.h ...
+       * testsuite/misc-ming.all/root_stop_testrunner.cpp:
+         marked failures as expected.
        * server/sprite_instance.cpp: debug messages hopefully
          made a bit less confusing.
 

Index: testsuite/check.h
===================================================================
RCS file: /sources/gnash/gnash/testsuite/check.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testsuite/check.h   18 Dec 2006 11:19:21 -0000      1.6
+++ testsuite/check.h   24 Dec 2006 15:32:59 -0000      1.7
@@ -10,13 +10,14 @@
 #include <string>
 
 // TODO: ensure dejagnu.h defines xpass/xfail too (seems a new feature :()
+#undef HAVE_DEJAGNU_H // missing xcheck/xfail !
 #ifdef HAVE_DEJAGNU_H
 #include "dejagnu.h"
 
 #define info(x) note x
 
 #else
-#warning "You should install DejaGnu! Using stubs for pass/fail/xpass/xfail..."
+//#warning "You should install DejaGnu! Using stubs for 
pass/fail/xpass/xfail..."
 class TestState 
 {
  public:

Index: testsuite/misc-ming.all/root_stop_testrunner.cpp
===================================================================
RCS file: 
/sources/gnash/gnash/testsuite/misc-ming.all/root_stop_testrunner.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-ming.all/root_stop_testrunner.cpp    22 Dec 2006 09:05:07 
-0000      1.1
+++ testsuite/misc-ming.all/root_stop_testrunner.cpp    24 Dec 2006 15:32:59 
-0000      1.2
@@ -51,11 +51,11 @@
        
        check_equals(root->get_play_state(), sprite_instance::STOP);
        tester.advance();
-       check_equals(root->get_play_state(), sprite_instance::PLAY);
+       xcheck_equals(root->get_play_state(), sprite_instance::PLAY);
        tester.advance();
        check_equals(root->get_play_state(), sprite_instance::STOP);
        tester.advance();
-       check_equals(root->get_play_state(), sprite_instance::PLAY);
+       xcheck_equals(root->get_play_state(), sprite_instance::PLAY);
        
        return 0;
 }




reply via email to

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