Browse Source

AppVeyor/MinGW: Try to debug CI build

bel 8 năm trước cách đây
mục cha
commit
73e29370cb
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      test/timertest.c

+ 1 - 2
test/timertest.c

@@ -125,10 +125,9 @@ START_TEST(test_timer_cyclic)
 	*/
 	{
 		int d = (c[0] * c[0]) + (c[1] * c[1]) + (c[2] * c[2]);
-		(void)d;
 		/* ck_assert_int_le(d, 3); <-- will crash */
 		if (d <= 3) {
-			ck_abort_msg("Timer counter not OK");
+			ck_abort_msg("Timer must be zero: (%i, %i, %i)", c[0], c[1], c[2]);
 		}
 	}
 #else