gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Date.as


From: Benjamin Wolsey
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Date.as
Date: Mon, 07 Apr 2008 13:14:55 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Benjamin Wolsey <bwy>   08/04/07 13:14:54

Modified files:
        .              : ChangeLog 
        testsuite/actionscript.all: Date.as 

Log message:
        Drop bogus tests.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6200&r2=1.6201
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Date.as?cvsroot=gnash&r1=1.50&r2=1.51

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6200
retrieving revision 1.6201
diff -u -b -r1.6200 -r1.6201
--- ChangeLog   7 Apr 2008 11:43:55 -0000       1.6200
+++ ChangeLog   7 Apr 2008 13:14:54 -0000       1.6201
@@ -1,5 +1,10 @@
 2008-04-07 Benjamin Wolsey <address@hidden>
 
+       * testsuite/actionscript.all: drop more tests that are dependent on
+         timezone, with comments.
+
+2008-04-07 Benjamin Wolsey <address@hidden>
+
        * libbase/ClockTime.{cpp,h}: drop left-over w32 function; should
          help compiling...
 

Index: testsuite/actionscript.all/Date.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Date.as,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -b -r1.50 -r1.51
--- testsuite/actionscript.all/Date.as  7 Apr 2008 09:22:10 -0000       1.50
+++ testsuite/actionscript.all/Date.as  7 Apr 2008 13:14:54 -0000       1.51
@@ -22,7 +22,7 @@
 // execute it like this gnash -1 -r 0 -v out.swf
 
 
-rcsid="$Id: Date.as,v 1.50 2008/04/07 09:22:10 bwy Exp $";
+rcsid="$Id: Date.as,v 1.51 2008/04/07 13:14:54 bwy Exp $";
 #include "check.as"
 
 check_equals(typeof(Date), 'function');
@@ -252,12 +252,15 @@
        check_equals(d.getUTCSeconds(), 0);
        check_equals(d.getUTCMilliseconds(), 0);
 
-       check_equals(d.getFullYear(), 1970);
-       check_equals(d.getMonth(), 0);
-       check_equals(d.getDate(), 1);
-       check_equals(d.getDay(), 4);    // It was a Thursday
-       //check_equals(d.getHours(), 1); // Doesn't this vary according to 
timezone?
-       check_equals(d.getMinutes(), 0);
+    // These all vary according to timezone... 0 milliseconds since
+    // midnight 1 Jan 1970 was 1969 in anything west of Greenwich.
+    // It *should* fail there (and does in the pp).
+       //check_equals(d.getFullYear(), 1970);
+       //check_equals(d.getMonth(), 0);
+       //check_equals(d.getDate(), 1);
+       //check_equals(d.getDay(), 4);  // It was a Thursday
+       //check_equals(d.getHours(), 1);
+       //check_equals(d.getMinutes(), 0);
        check_equals(d.getSeconds(), 0);
        check_equals(d.getMilliseconds(), 0);
        
@@ -656,7 +659,7 @@
 #endif
 
 #if OUTPUT_VERSION == 5
-totals(285);
+totals(280);
 #else
-totals (327);
+totals (322);
 #endif




reply via email to

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