orcc: make the test program quieter
authorDavid Schleef <ds@schleef.org>
Tue, 15 Jun 2010 19:21:04 +0000 (12:21 -0700)
committerDavid Schleef <ds@schleef.org>
Tue, 15 Jun 2010 19:21:04 +0000 (12:21 -0700)
tools/orcc.c

index 0ad4878..d0ab73a 100644 (file)
@@ -800,7 +800,7 @@ output_code_test (OrcProgram *p, FILE *output)
 
   fprintf(output, "\n");
   fprintf(output, "    if (verbose) printf (\"  cycles (backup):   \");\n");
-  fprintf(output, "    orc_test_performance (p, ORC_TEST_FLAGS_BACKUP);\n");
+  fprintf(output, "    if (verbose) orc_test_performance (p, ORC_TEST_FLAGS_BACKUP);\n");
   fprintf(output, "\n");
   fprintf(output, "    ret = orc_test_compare_output_backup (p);\n");
   fprintf(output, "    if (!ret) {\n");
@@ -813,7 +813,7 @@ output_code_test (OrcProgram *p, FILE *output)
   fprintf(output, "    }\n");
   fprintf(output, "\n");
   fprintf(output, "    if (verbose) printf (\"  cycles (compiled): \");\n");
-  fprintf(output, "    orc_test_performance (p, 0);\n");
+  fprintf(output, "    if (verbose) orc_test_performance (p, 0);\n");
   fprintf(output, "\n");
   fprintf(output, "    orc_program_free (p);\n");
   fprintf(output, "  }\n");