浏览代码

tests/datawizard/scratch.c: print message on error

Nathalie Furmento 13 年之前
父节点
当前提交
8a6d726e45
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tests/datawizard/scratch.c

+ 1 - 0
tests/datawizard/scratch.c

@@ -125,6 +125,7 @@ int main(int argc, char **argv)
 	{
 		if (A[i] != NLOOPS)
 		{
+			FPRINTF(stderr, "Error: Incorrect value A[%d] = %u != %d\n", i, A[i], NLOOPS);
 			ret = EXIT_FAILURE;
 			break;
 		}