summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLloyd Hilaiel <lloyd@hilaiel.com>2009-04-01 18:22:55 +0300
committerLloyd Hilaiel <lloyd@hilaiel.com>2009-04-01 18:22:55 +0300
commit735ac9f42168c1ec7492358a5b1debcd8cb05525 (patch)
treeb820f91445c33d4480226e6d3e16ea94bc2598c3 /test
parentb78dd790825e3347422ef8ac56d2ad557a473e8f (diff)
downloadyajl-735ac9f42168c1ec7492358a5b1debcd8cb05525.tar.gz
fflush output in yajl_test to attempt to get deterministic output ordering across systems (msys+win32 being the problem child)1.0.0
Diffstat (limited to 'test')
-rw-r--r--test/yajl_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/yajl_test.c b/test/yajl_test.c
index 77281a5..3554f1b 100644
--- a/test/yajl_test.c
+++ b/test/yajl_test.c
@@ -283,6 +283,8 @@ main(int argc, char ** argv)
* printf("allocations:\t%u\n", memCtx.numMallocs);
* printf("frees:\t\t%u\n", memCtx.numFrees);
*/
+ fflush(stderr);
+ fflush(stdout);
printf("memory leaks:\t%u\n", memCtx.numMallocs - memCtx.numFrees);
return 0;