changeset 493:1418f225a81e

disabled debug output
author thomask
date Thu, 28 Apr 2005 06:57:27 +0000
parents e56d6f1cb48e
children 03a5d1fe1283
files crashRun.c dstress.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/crashRun.c	Thu Apr 28 06:55:43 2005 +0000
+++ b/crashRun.c	Thu Apr 28 06:57:27 2005 +0000
@@ -74,7 +74,11 @@
 			strcat(cmd, arg[i]);
 			strcat(cmd, "\" ");
 		}
+#ifdef DEBUG
 		printf("cmd[%i s]: %s\n", TIME_OUT, cmd);
+#endif
+		fflush(stdout);
+		fflush(stderr);
 		printf("EXIT CODE: %i\n", system(cmd));
 	}else if (pID < 0){
         	fprintf(stderr, "failed to fork\n");
--- a/dstress.c	Thu Apr 28 06:55:43 2005 +0000
+++ b/dstress.c	Thu Apr 28 06:57:27 2005 +0000
@@ -497,7 +497,7 @@
 	error_line = getCaseFlag(buffer, "__DSTRESS_ELINE__");
 	error_file = getCaseFlag(buffer, "__DSTRESS_EFILE__");
 
-#if 0
+#ifdef DEBUG
 	fprintf(stderr, "case:     \"%s\"\n", case_file);
 	fprintf(stderr, "compiler: \"%s\"\n", compiler);
 	fprintf(stderr, "DFLAGS G: \"%s\"\n", cmd_arg_general);