Commit 77708d1f authored by Sasa Zhang's avatar Sasa Zhang
Browse files

Replace test_suite.py

parent 88f49937
Pipeline #186936 failed with stage
in 1 minute and 40 seconds
...@@ -482,7 +482,6 @@ def main(): ...@@ -482,7 +482,6 @@ def main():
if not observation_exists: if not observation_exists:
print("\t\t\t\t\t'observation.xml'") print("\t\t\t\t\t'observation.xml'")
num_of_failure += 1 num_of_failure += 1
# list_of_failure_cases.append(folder)
list_of_missing_file_cases.append(folder) list_of_missing_file_cases.append(folder)
print(folder, ' FAILURE! ***') print(folder, ' FAILURE! ***')
if verbosity: if verbosity:
...@@ -506,14 +505,6 @@ def main(): ...@@ -506,14 +505,6 @@ def main():
print(*XmlTree.list_of_diff_case, sep=', ') print(*XmlTree.list_of_diff_case, sep=', ')
print('\n\n\n') print('\n\n\n')
# if (not verbosity) and (len(list_of_failure_cases) != 0):
# print('\n\n\n================================================================================')
# print('\n', ' ', 'LIST OF FAILED RUNNING CASES: ')
# print('\n================================================================================')
# for case in list_of_failure_cases:
# print(case)
# print('\n\n\n')
if (len(list_of_failure_cases) != 0) and verbosity: if (len(list_of_failure_cases) != 0) and verbosity:
print('\n\n\n================================================================================') print('\n\n\n================================================================================')
print('\n', ' ', 'FAILED RUNNING CASE(S): ') print('\n', ' ', 'FAILED RUNNING CASE(S): ')
......
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