@@ -96,6 +96,7 @@ def run_test(
96
96
test_number , # type: int
97
97
total_tests , # type: int
98
98
timeout , # type: int
99
+ junit_verbose = False , # type: bool
99
100
verbose = False , # type: bool
100
101
): # type: (...) -> TestResult
101
102
@@ -115,7 +116,7 @@ def run_test(
115
116
process = None # type: Optional[subprocess.Popen[str]]
116
117
cwd = os .getcwd ()
117
118
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
119
120
)
120
121
121
122
if test .get ("short_name" ):
@@ -135,6 +136,8 @@ def run_test(
135
136
"%sTest [%i/%i] %s%s\n "
136
137
% (prefix , test_number , total_tests , test .get ("doc" ), suffix )
137
138
)
139
+ if verbose :
140
+ sys .stderr .write (f"Running: { ' ' .join (test_command )} \n " )
138
141
sys .stderr .flush ()
139
142
140
143
start_time = time .time ()
@@ -386,12 +389,7 @@ def main(): # type: () -> int
386
389
"utf-8"
387
390
)
388
391
} # 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 (
395
393
"https://w3id.org/cwl/cwltest/cwltest-schema.yml" , cache = cache
396
394
)
397
395
@@ -500,6 +498,7 @@ def main(): # type: () -> int
500
498
len (tests ),
501
499
args .timeout ,
502
500
args .junit_verbose ,
501
+ args .verbose ,
503
502
)
504
503
for i in ntest
505
504
]
0 commit comments