浏览代码

AppVeyor/MinGW: Try to debug CI build

bel 8 年之前
父节点
当前提交
73e29370cb
共有 1 个文件被更改,包括 1 次插入2 次删除
  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