@@ -96,6 +96,7 @@ def run_test(
9696 test_number , # type: int
9797 total_tests , # type: int
9898 timeout , # type: int
99+ junit_verbose = False , # type: bool
99100 verbose = False , # type: bool
100101): # type: (...) -> TestResult
101102
@@ -115,7 +116,7 @@ def run_test(
115116 process = None # type: Optional[subprocess.Popen[str]]
116117 cwd = os .getcwd ()
117118 test_command = prepare_test_command (
118- args .tool , args .args , args .testargs , test , cwd , verbose
119+ args .tool , args .args , args .testargs , test , cwd , junit_verbose
119120 )
120121
121122 if test .get ("short_name" ):
@@ -135,6 +136,8 @@ def run_test(
135136 "%sTest [%i/%i] %s%s\n "
136137 % (prefix , test_number , total_tests , test .get ("doc" ), suffix )
137138 )
139+ if verbose :
140+ sys .stderr .write (f"Running: { ' ' .join (test_command )} \n " )
138141 sys .stderr .flush ()
139142
140143 start_time = time .time ()
@@ -386,12 +389,7 @@ def main(): # type: () -> int
386389 "utf-8"
387390 )
388391 } # type: Optional[Dict[str, Union[str, Graph, bool]]]
389- (
390- document_loader ,
391- avsc_names ,
392- _ ,
393- _ ,
394- ) = schema_salad .schema .load_schema (
392+ (document_loader , avsc_names , _ , _ ,) = schema_salad .schema .load_schema (
395393 "https://w3id.org/cwl/cwltest/cwltest-schema.yml" , cache = cache
396394 )
397395
@@ -500,6 +498,7 @@ def main(): # type: () -> int
500498 len (tests ),
501499 args .timeout ,
502500 args .junit_verbose ,
501+ args .verbose ,
503502 )
504503 for i in ntest
505504 ]
0 commit comments