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


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/ming_ut...
Date: Fri, 12 Jan 2007 14:05:40 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/01/12 14:05:40

Modified files:
        .              : ChangeLog 
        testsuite/misc-ming.all: ming_utils.h 

Log message:
                * testsuite/misc-ming.all/ming_utils.h: fix check_equals and 
xcheck_equals
                  macros so they actually print the "obtained" result.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2101&r2=1.2102
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/ming_utils.h?cvsroot=gnash&r1=1.12&r2=1.13

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2101
retrieving revision 1.2102
diff -u -b -r1.2101 -r1.2102
--- ChangeLog   12 Jan 2007 12:03:40 -0000      1.2101
+++ ChangeLog   12 Jan 2007 14:05:40 -0000      1.2102
@@ -3,7 +3,8 @@
        * server/vm/ASHandlers.cpp (ActionPushData): include 
          dictionary offset when printing actions.
        * testsuite/misc-ming.all/ming_utils.h: cleanup documentation
-         for dejagnu-like macros.
+         for dejagnu-like macros, fix check_equals and xcheck_equals
+         macros so they actually print the "obtained" result.
        * testsuite/misc-ming.all/Makefile.am: enable run of
          the insane testcase.
 

Index: testsuite/misc-ming.all/ming_utils.h
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/ming_utils.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- testsuite/misc-ming.all/ming_utils.h        12 Jan 2007 12:03:41 -0000      
1.12
+++ testsuite/misc-ming.all/ming_utils.h        12 Jan 2007 14:05:40 -0000      
1.13
@@ -120,8 +120,8 @@
 #define check_equals(m, obt, exp)  \
        SWFMovie_add(m, (SWFBlock)compile_actions("\
                if ( %s == %s ) pass( \"%s  ==  %s [%s:%d]\"); \
-               else fail( \"expected: %s obtained: \" + obt + \" [%s:%d] \"); \
-               ", obt, exp, obt, exp, __FILE__, __LINE__, exp, __FILE__, 
__LINE__));
+               else fail( \"expected: %s obtained: \" + %s + \" [%s:%d] \"); \
+               ", obt, exp, obt, exp, __FILE__, __LINE__, exp, obt, __FILE__, 
__LINE__));
 
 /** \brief
  * Evaluate equality of two ActionScript expressions updating the global
@@ -141,8 +141,8 @@
 #define xcheck_equals(m, obt, exp)  \
        SWFMovie_add(m, (SWFBlock)compile_actions("\
                if ( %s == %s ) xpass( \"%s  ==  %s [%s:%d]\"); \
-               else xfail( \"expected: %s obtained: \" + obt + \" [%s:%d] \"); 
\
-               ", obt, exp, obt, exp, __FILE__, __LINE__, exp, __FILE__, 
__LINE__));
+               else xfail( \"expected: %s obtained: \" + %s + \" [%s:%d] \"); \
+               ", obt, exp, obt, exp, __FILE__, __LINE__, exp, obt, __FILE__, 
__LINE__));
 
 
 




reply via email to

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