We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39f67dd commit 63e1b2aCopy full SHA for 63e1b2a
src/tests_exhaustive.c
@@ -353,6 +353,14 @@ int main(int argc, char** argv) {
353
unsigned char rand32[32];
354
secp256k1_context *ctx;
355
356
+ /* Disable buffering for stdout to improve reliability of getting
357
+ * diagnostic information. Happens right at the start of main because
358
+ * setbuf must be used before any other operation on the stream. */
359
+ setbuf(stdout, NULL);
360
+ /* Also disable buffering for stderr because it's not guaranteed that it's
361
+ * unbuffered on all systems. */
362
+ setbuf(stderr, NULL);
363
+
364
printf("Exhaustive tests for order %lu\n", (unsigned long)EXHAUSTIVE_TEST_ORDER);
365
366
/* find iteration count */
0 commit comments