From 6a6e46c1a3480420e83895bcded8996a4c32b890 Mon Sep 17 00:00:00 2001 From: atmyers Date: Wed, 29 Apr 2020 08:48:02 -0700 Subject: [PATCH] add check_file_name option --- regtest.py | 4 ++-- suite.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/regtest.py b/regtest.py index ee27dae..5aa790b 100755 --- a/regtest.py +++ b/regtest.py @@ -661,8 +661,8 @@ def test_suite(argv): if suite.sourceTree == "C_Src" or test.testSrcTree == "C_Src": - base_cmd = "./{} {} {}={}_plt amr.check_file={}_chk".format( - executable, test.inputFile, suite.plot_file_name, test.name, test.name) + base_cmd = "./{} {} {}={}_plt {}={}_chk".format( + executable, test.inputFile, suite.plot_file_name, suite.check_file_name, test.name, test.name) # keep around the checkpoint files only for the restart runs if test.restartTest: diff --git a/suite.py b/suite.py index 30e2de8..58688e7 100644 --- a/suite.py +++ b/suite.py @@ -409,6 +409,7 @@ def __init__(self, args): self.slack_username = "" self.plot_file_name = "amr.plot_file" + self.check_file_name = "amr.check_file" self.globalAddToExecString = ""