Bladeren bron

AppVeyor/MinGW: Try to debug CI build

bel 8 jaren geleden
bovenliggende
commit
a6396ee523
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      test/timertest.c

+ 2 - 2
test/timertest.c

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