Browse Source

AppVeyor/MinGW: Try to debug CI build

bel 8 năm trước cách đây
mục cha
commit
a6396ee523
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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();