You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test.add_argument("-r", "--relentless", action="store_true", default=False, help="Run all tests, even if multiple fail.")
72
+
test.add_argument("-a", "--test-all", action="store_true", default=False, help="Run the Post Process Tests too.")
72
73
test.add_argument("--case-optimization", action="store_true", default=False, help="(GPU Optimization) Compile MFC targets with some case parameters hard-coded.")
raiseMFCException(f"""Test {test}: Failed to execute MFC. You can find the run's output in {out_filepath}, and the case dictionary in {os.path.join(test.get_dirpath(), "case.py")}.""")
cons.print(f"[bold red]Failed test {test}.[/bold red]")
248
+
cons.print(f"{exc}")
249
+
250
+
defcheck_data(data):
251
+
ifisinstance(data, np.ndarray):
252
+
forsubdataindata:
253
+
check_data(subdata)
254
+
else:
255
+
ifnp.isnan(data):
256
+
raiseMFCException(f"""Test {test}: Post Process has detected a NaN. You can find the run's output in {out_filepath}, and the case dictionary in {os.path.join(test.get_dirpath(), "case.py")}.""")
257
+
ifnp.isinf(data):
258
+
raiseMFCException(f"""Test {test}: Post Process has detected an Infinity. You can find the run's output in {out_filepath}, and the case dictionary in {os.path.join(test.get_dirpath(), "case.py")}.""")
0 commit comments