So that the order of test messages and gallivm/llvmpipe debug output is
preserved.
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
printf("%s(%.9g): ref = %.9g, out = %.9g, precision = %f bits, %s\n",
test->name, in[i], ref, out[i], precision,
pass ? "PASS" : "FAIL");
+ fflush(stdout);
}
if (!pass) {
if (first) {
printf("Testing %s (float) ...\n",
desc->name);
+ fflush(stdout);
first = FALSE;
}
test->unpacked[i][j][1],
test->unpacked[i][j][2],
test->unpacked[i][j][3]);
+ fflush(stdout);
success = FALSE;
}
}