ソースを参照

Really print errors

Samuel Thibault 8 年 前
コミット
f6a95d85ad
共有1 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 2 2
      tests/microbenchs/matrix_as_vector.c

+ 2 - 2
tests/microbenchs/matrix_as_vector.c

@@ -166,12 +166,12 @@ int check_size(int nx, struct starpu_codelet *vector_codelet, struct starpu_code
 	}
 	else
 	{
-		FPRINTF(stderr, "Incorrect result nx=%7d --> mean=%7f != %7f\n", nx, matrix[0], mean);
+		fprintf(stderr, "# Incorrect result nx=%7d --> mean=%7f != %7f\n", nx, matrix[0], mean);
 		ret = EXIT_FAILURE;
 	}
 end:
 	if (ret == -ENODEV)
-		FPRINTF(stderr, "Uh, ENODEV?!");
+		fprintf(stderr, "# Uh, ENODEV?!");
 	starpu_free(matrix);
 	return ret;
 }