Explorar o código

AppVeyor/MinGW: Try to debug CI build

bel %!s(int64=8) %!d(string=hai) anos
pai
achega
73e29370cb
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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]);
 		int d = (c[0] * c[0]) + (c[1] * c[1]) + (c[2] * c[2]);
-		(void)d;
 		/* ck_assert_int_le(d, 3); <-- will crash */
 		/* ck_assert_int_le(d, 3); <-- will crash */
 		if (d <= 3) {
 		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
 #else