CVSROOT: /sources/gnash Module name: gnash Changes by: Sandro Santilli <strk> 07/11/29 08:44:12
Modified files: . : ChangeLog testsuite/misc-mtasc.all: enum.as exception.as function_test.as hello.as implementsOpTest.as inheritance.as super_test1.as Log message: Add total run test checking. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5011&r2=1.5012 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/enum.as?cvsroot=gnash&r1=1.2&r2=1.3 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/exception.as?cvsroot=gnash&r1=1.4&r2=1.5 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/function_test.as?cvsroot=gnash&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/hello.as?cvsroot=gnash&r1=1.4&r2=1.5 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/implementsOpTest.as?cvsroot=gnash&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/inheritance.as?cvsroot=gnash&r1=1.4&r2=1.5 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/super_test1.as?cvsroot=gnash&r1=1.3&r2=1.4 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.5011 retrieving revision 1.5012 diff -u -b -r1.5011 -r1.5012 --- ChangeLog 29 Nov 2007 08:32:38 -0000 1.5011 +++ ChangeLog 29 Nov 2007 08:44:11 -0000 1.5012 @@ -1,5 +1,11 @@ 2007-11-29 Sandro Santilli <[EMAIL PROTECTED]> + * testsuite/misc-mtasc.all/: enum.as, exception.as, function_test.as, + hello.as, implementsOpTest.as, inheritance.as, super_test1.as: + Add total run test checking. + +2007-11-29 Sandro Santilli <[EMAIL PROTECTED]> + * testsuite/misc-mtasc.all/: Dejagnu.as, check.as: add support for check_totals, xcheck_totals. * testsuite/misc-mtasc.all/: level5.as, level99.as, levels.as: Index: testsuite/misc-mtasc.all/enum.as =================================================================== RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/enum.as,v retrieving revision 1.2 retrieving revision 1.3 diff -u -b -r1.2 -r1.3 --- testsuite/misc-mtasc.all/enum.as 12 Jul 2007 22:03:38 -0000 1.2 +++ testsuite/misc-mtasc.all/enum.as 29 Nov 2007 08:44:12 -0000 1.3 @@ -77,6 +77,7 @@ var myTest = new Test; myTest.test_all(); + check_totals(12); Dejagnu.done(); } Index: testsuite/misc-mtasc.all/exception.as =================================================================== RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/exception.as,v retrieving revision 1.4 retrieving revision 1.5 diff -u -b -r1.4 -r1.5 --- testsuite/misc-mtasc.all/exception.as 11 Sep 2007 22:03:06 -0000 1.4 +++ testsuite/misc-mtasc.all/exception.as 29 Nov 2007 08:44:12 -0000 1.5 @@ -164,6 +164,7 @@ var myTest = new Test; myTest.test_all(); + check_totals(15); Dejagnu.done(); } Index: testsuite/misc-mtasc.all/function_test.as =================================================================== RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/function_test.as,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- testsuite/misc-mtasc.all/function_test.as 10 Oct 2007 05:20:54 -0000 1.1 +++ testsuite/misc-mtasc.all/function_test.as 29 Nov 2007 08:44:12 -0000 1.2 @@ -55,6 +55,7 @@ check_equals(myTest.x, 2); check_equals(typeof(myTest.__proto__.x), 'undefined'); + check_totals(18); Dejagnu.done(); } } Index: testsuite/misc-mtasc.all/hello.as =================================================================== RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/hello.as,v retrieving revision 1.4 retrieving revision 1.5 diff -u -b -r1.4 -r1.5 --- testsuite/misc-mtasc.all/hello.as 12 Jul 2007 22:03:38 -0000 1.4 +++ testsuite/misc-mtasc.all/hello.as 29 Nov 2007 08:44:12 -0000 1.5 @@ -25,6 +25,9 @@ // This is how you print notes (trace + visual trace) note("Hello world"); + // Check number of tests run (for consistency) + check_totals(2); + // Call this after finishing all tests. It prints out the totals. Dejagnu.done(); } Index: testsuite/misc-mtasc.all/implementsOpTest.as =================================================================== RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/implementsOpTest.as,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- testsuite/misc-mtasc.all/implementsOpTest.as 27 Nov 2007 15:17:04 -0000 1.1 +++ testsuite/misc-mtasc.all/implementsOpTest.as 29 Nov 2007 08:44:12 -0000 1.2 @@ -58,6 +58,7 @@ var myTest = new implementsOpTest; myTest.test_all(); + check_totals(7); Dejagnu.done(); } } Index: testsuite/misc-mtasc.all/inheritance.as =================================================================== RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/inheritance.as,v retrieving revision 1.4 retrieving revision 1.5 diff -u -b -r1.4 -r1.5 --- testsuite/misc-mtasc.all/inheritance.as 12 Jul 2007 22:03:38 -0000 1.4 +++ testsuite/misc-mtasc.all/inheritance.as 29 Nov 2007 08:44:12 -0000 1.5 @@ -63,6 +63,7 @@ var myTest = new Test; myTest.test_all(); + check_totals(13); Dejagnu.done(); } Index: testsuite/misc-mtasc.all/super_test1.as =================================================================== RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/super_test1.as,v retrieving revision 1.3 retrieving revision 1.4 diff -u -b -r1.3 -r1.4 --- testsuite/misc-mtasc.all/super_test1.as 10 Oct 2007 09:13:55 -0000 1.3 +++ testsuite/misc-mtasc.all/super_test1.as 29 Nov 2007 08:44:12 -0000 1.4 @@ -52,6 +52,8 @@ check_equals(derivedObj.thisPtr, derivedObj); check_equals(derivedObj.derivedThisPtr, derivedObj); check_equals(derivedObj.baseThisPtr, derivedObj); + + check_totals(6); Dejagnu.done(); } } _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit