Pārlūkot izejas kodu

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

Nathalie Furmento 13 gadi atpakaļ
vecāks
revīzija
8a6d726e45
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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;
 		}