Print

Print


Commit in java/trunk/steering-files/src/main/scripts on MAIN
test_steering_files.py+8-3408 -> 409
Make verbose output the default.

java/trunk/steering-files/src/main/scripts
test_steering_files.py 408 -> 409
--- java/trunk/steering-files/src/main/scripts/test_steering_files.py	2014-03-28 00:09:48 UTC (rev 408)
+++ java/trunk/steering-files/src/main/scripts/test_steering_files.py	2014-03-28 00:32:53 UTC (rev 409)
@@ -11,9 +11,13 @@
 if len(sys.argv) > 1:
   jar = sys.argv[1]
 
+# verbosity
+verbose = True
+
 # basic command to run the steering file
-run_cmd = "java -jar %s -x" % jar    
+run_cmd = "java -jar %s -x -v" % jar    
 print "base run command: %s" % run_cmd 
+print
 
 # make a list of steering files to check
 steering_files = []
@@ -64,11 +68,12 @@
     # print out lines with exceptions and all subsequent output
     if 'Exception' in line:
       printLine = True
-    if printLine:
+    if printLine or verbose:
       print "  %s" % line,
       
   # print the return value
   retval = process.wait()
+  print
   print "  return value: %d" % retval
   print
   
@@ -86,4 +91,4 @@
 print 
 print "Files with errors: "
 for bad_file in bad_files:
-  print "  %s" % bad_file
\ No newline at end of file
+  print "  %s" % bad_file
SVNspam 0.1