Explorar o código

AppVeyor/MinGW: Try to debug CI build

bel %!s(int64=8) %!d(string=hai) anos
pai
achega
a6396ee523
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      test/timertest.c

+ 2 - 2
test/timertest.c

@@ -99,6 +99,8 @@ START_TEST(test_timer_cyclic)
 
 	mark_point();
 
+	mg_sleep(1000); /* Sleep 1 second - timer will run */
+
 #if defined(__MINGW32__)
     /* Try to find "***Exception: SegFault" that occurs only with MinGW builds 
      * on AppVeyor/Windows, not with gcc/Linux and not MinGW/local.
@@ -108,8 +110,6 @@ START_TEST(test_timer_cyclic)
     ck_abort_msg("Abort here (instead of SegFault)");
 #endif
 
-	mg_sleep(1000); /* Sleep 1 second - timer will run */
-
 	mark_point();
 	ctx.stop_flag = 99; /* End timer thread */
 	mark_point();