Explorar o código

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

Nathalie Furmento %!s(int64=13) %!d(string=hai) anos
pai
achega
8a6d726e45
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;
 		}