From: Gregor Schneider Date: Sat, 8 Aug 2009 16:24:22 +0000 (+0000) Subject: Remove temporary debug code, crash was fixed by r42506 and r42517 X-Git-Tag: ReactOS-0.3.11~1304 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=6ff2cad0ffee14935bda98aa48c8108e3096edbe Remove temporary debug code, crash was fixed by r42506 and r42517 svn path=/trunk/; revision=42523 --- diff --git a/rostests/winetests/msvcrt/time.c b/rostests/winetests/msvcrt/time.c index 8c424d690b4..ac782cab835 100644 --- a/rostests/winetests/msvcrt/time.c +++ b/rostests/winetests/msvcrt/time.c @@ -32,9 +32,6 @@ #define MINSPERHOUR 60 #define HOURSPERDAY 24 -#define NDEBUG -#include - static int get_test_year(time_t *start) { time_t now = time(NULL); @@ -83,12 +80,11 @@ static void test_mktime(void) char buffer[64]; int year; time_t ref, secs; -DPRINT1("Entered test_mktime, getting test year\n"); + year = get_test_year( &ref ); ref += SECSPERDAY; -DPRINT1("Checking return value, testyear=%d, ref=%ld\n", year, ref); + ok (res != TIME_ZONE_ID_INVALID, "GetTimeZoneInformation failed\n"); -DPRINT1("Converting StdName, tzi=%p, res=%ld\n", (char*)&tzinfo, res); 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 ); @@ -288,10 +284,8 @@ static void test_wstrtime(void) START_TEST(time) { -#if 0 test_ctime(); test_gmtime(); -#endif test_mktime(); test_localtime(); test_strdate();