[ros-diffs] [gschneider] 42430: [Temp] add some checkpoints to narrow the mysterious buildserver msvcrt test crash position #2

gschneider at svn.reactos.org gschneider at svn.reactos.org
Thu Aug 6 18:08:50 CEST 2009


Author: gschneider
Date: Thu Aug  6 18:08:49 2009
New Revision: 42430

URL: http://svn.reactos.org/svn/reactos?rev=42430&view=rev
Log:
[Temp] add some checkpoints to narrow the mysterious buildserver msvcrt test crash position #2

Modified:
    trunk/rostests/winetests/msvcrt/time.c

Modified: trunk/rostests/winetests/msvcrt/time.c
URL: http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/msvcrt/time.c?rev=42430&r1=42429&r2=42430&view=diff
==============================================================================
--- trunk/rostests/winetests/msvcrt/time.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/msvcrt/time.c [iso-8859-1] Thu Aug  6 18:08:49 2009
@@ -91,6 +91,7 @@
     WideCharToMultiByte( CP_ACP, 0, tzinfo.StandardName, -1, buffer, sizeof(buffer), NULL, NULL );
     trace( "bias %d std %d dst %d zone %s\n",
            tzinfo.Bias, tzinfo.StandardBias, tzinfo.DaylightBias, buffer );
+DPRINT1("Finshed 1st\n");
     /* Bias may be positive or negative, to use offset of one day */
     my_tm = *localtime(&ref);  /* retrieve current dst flag */
     secs = SECSPERDAY - tzinfo.Bias * SECSPERMIN;
@@ -111,6 +112,7 @@
     local_time = mktime(&my_tm);
     ok(local_time == ref, "mktime returned %u, expected %u\n",
        (DWORD)local_time, (DWORD)ref);
+DPRINT1("Finshed 2nd\n");
     /* now test some unnormalized struct tm's */
     my_tm = sav_tm;
     my_tm.tm_sec += 60;
@@ -126,6 +128,7 @@
             my_tm.tm_hour,my_tm.tm_sec,
             sav_tm.tm_year,sav_tm.tm_mon,sav_tm.tm_mday,
             sav_tm.tm_hour,sav_tm.tm_sec);
+DPRINT1("Finshed 3rd\n");
     my_tm = sav_tm;
     my_tm.tm_min -= 60;
     my_tm.tm_hour += 1;
@@ -140,6 +143,7 @@
             my_tm.tm_hour,my_tm.tm_sec,
             sav_tm.tm_year,sav_tm.tm_mon,sav_tm.tm_mday,
             sav_tm.tm_hour,sav_tm.tm_sec);
+DPRINT1("Finshed 4th\n");
     my_tm = sav_tm;
     my_tm.tm_mon -= 12;
     my_tm.tm_year += 1;
@@ -154,6 +158,7 @@
             my_tm.tm_hour,my_tm.tm_sec,
             sav_tm.tm_year,sav_tm.tm_mon,sav_tm.tm_mday,
             sav_tm.tm_hour,sav_tm.tm_sec);
+DPRINT1("Finshed 5th\n");
     my_tm = sav_tm;
     my_tm.tm_mon += 12;
     my_tm.tm_year -= 1;
@@ -168,12 +173,13 @@
             my_tm.tm_hour,my_tm.tm_sec,
             sav_tm.tm_year,sav_tm.tm_mon,sav_tm.tm_mday,
             sav_tm.tm_hour,sav_tm.tm_sec);
+DPRINT1("Finshed 6th\n");
     /* now a bad time example */
     my_tm = sav_tm;
     my_tm.tm_year = 69;
     local_time = mktime(&my_tm);
     ok((local_time == -1), "(bad time) mktime returned %d, expected -1\n", (int)local_time);
-
+DPRINT1("Finshed 7th\n");
     my_tm = sav_tm;
     /* TEST that we are independent from the TZ variable */
     /*Argh, msvcrt doesn't have setenv() */
@@ -181,6 +187,7 @@
     putenv("TZ=GMT");
     nulltime = mktime(&my_tm);
     ok(nulltime == ref,"mktime returned 0x%08x\n",(DWORD)nulltime);
+DPRINT1("Finshed 8th\n");
     putenv(TZ_env);
 }
 




More information about the Ros-diffs mailing list