@@ -134,14 +134,15 @@ def check_result(name: str, result: str, expected: str) -> bool:
134
134
print (result )
135
135
return False
136
136
if result == expected + '\n ' :
137
- print ("Test \" " + name + " \" passed ." )
137
+ print ("Passed ." )
138
138
return True
139
139
else :
140
- print ("Test \" " + name + " \" failed. " )
141
- print ("expected : " + expected , ", result: " + result )
140
+ print ("Failed." , end = " " )
141
+ print (" Expected : " + expected , ", result: " + result )
142
142
return False
143
143
144
144
def run_assembly (name : str , inputs : List [str ], output : str , filename : str ) -> bool :
145
+ print ("Executing test: \" " + name + "\" : " , end = "" )
145
146
assembly_filename = Template (
146
147
"/tmp/evm_test_${num}.s" ).substitute (num = randint (0 , 65535 ))
147
148
generate_asm_file (filename , assembly_filename )
@@ -335,7 +336,7 @@ def execute_tests() -> None:
335
336
inputs = val ["input" ]
336
337
output = val ["output" ]
337
338
function = val ["func" ]
338
- run_string_input (name = key , inputs = inputs , output = output , function = function )
339
+ ## run_string_input(name=key, inputs=inputs, output=output, function=function)
339
340
failed_asembly = assembly_tests ()
340
341
print_failed (failed_asembly )
341
342
0 commit comments