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: Sun, 31 Dec 2006 11:12:18 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  06/12/31 11:12:18

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

Log message:
                * testsuite/misc-ming.all/ming_utils.h:
                  Include filename in test result messages.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2021&r2=1.2022
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/ming_utils.h?cvsroot=gnash&r1=1.10&r2=1.11

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2021
retrieving revision 1.2022
diff -u -b -r1.2021 -r1.2022
--- ChangeLog   30 Dec 2006 23:55:04 -0000      1.2021
+++ ChangeLog   31 Dec 2006 11:12:18 -0000      1.2022
@@ -1,3 +1,8 @@
+2006-12-31 Sandro Santilli <address@hidden>
+
+       * testsuite/misc-ming.all/ming_utils.h:
+         Include filename in test result messages.
+
 2006-12-30 Sandro Santilli <address@hidden>
 
        * testsuite/misc-ming.all/: Makefile.am,

Index: testsuite/misc-ming.all/ming_utils.h
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/ming_utils.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- testsuite/misc-ming.all/ming_utils.h        30 Dec 2006 23:39:04 -0000      
1.10
+++ testsuite/misc-ming.all/ming_utils.h        31 Dec 2006 11:12:18 -0000      
1.11
@@ -84,15 +84,15 @@
 //void check(SWFMovie mo, const char* expr, int expected_failure);
 #define check(m, expr)  \
        SWFMovie_add(m, (SWFBlock)compile_actions("\
-               if ( %s ) pass( \"%s [%d]\"); \
-               else fail( \"%s [%d] \"); \
-               ", expr, expr, __LINE__, expr, __LINE__));
+               if ( %s ) pass( \"%s [%s:%d]\"); \
+               else fail( \"%s [%s:%d] \"); \
+               ", expr, expr, __FILE__, __LINE__, expr, __FILE__, __LINE__));
 
 #define xcheck(m, expr)  \
        SWFMovie_add(m, (SWFBlock)compile_actions("\
-               if ( %s ) xpass( \"%s [%d]\"); \
-               else xfail( \"%s [%d] \"); \
-               ", expr, expr, __LINE__, expr, __LINE__));
+               if ( %s ) xpass( \"%s [%s:%d]\"); \
+               else xfail( \"%s [%s:%d] \"); \
+               ", expr, expr, __FILE__, __LINE__, expr, __FILE__, __LINE__));
 
 
 /** \brief
@@ -115,15 +115,15 @@
 //void check_equals(SWFMovie mo, const char* obtained, const char* expected, 
int expected_failure);
 #define check_equals(m, obt, exp)  \
        SWFMovie_add(m, (SWFBlock)compile_actions("\
-               if ( %s == %s ) pass( \"%s  ==  %s  [%d]\"); \
-               else fail( \"expected: %s obtained: \" + obt + \" [%d] \"); \
-               ", obt, exp, obt, exp, __LINE__, exp, __LINE__));
+               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__));
 
 #define xcheck_equals(m, obt, exp)  \
        SWFMovie_add(m, (SWFBlock)compile_actions("\
-               if ( %s == %s ) xpass( \"%s  ==  %s  [%d]\"); \
-               else xfail( \"expected: %s obtained: \" + obt + \" [%d] \"); \
-               ", obt, exp, obt, exp, __LINE__, exp, __LINE__));
+               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__));
 
 
 




reply via email to

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