Commit 1acf0590 authored by Bichen Li's avatar Bichen Li

Add specific error infomation in Validationtools

parent 59d34e22
Pipeline #50788 canceled with stage
......@@ -55,7 +55,8 @@ def assert_modelia_neplan_results(net_name): # Assert the model using the funct
print("\033[1;36;40mModel %s Passed\033[0m" % net_name)
else:
for name in fail_list:
print("\033[1;31;40mTest on %s Failed\033[0m" % name)
print("\033[1;31;40mTest on %s of %s Failed\033[0m" % (name,net_name))
raise ValueError('Test is not passed!')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment