Skip to content

Commit

Permalink
Rename option rm_testdir to clean_testdir
Browse files Browse the repository at this point in the history
  • Loading branch information
EZoni committed Aug 12, 2024
1 parent 5bd6a57 commit 715ea85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion regtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1227,7 +1227,7 @@ def test_suite(argv):
#----------------------------------------------------------------------
test_successful = (test.return_code == 0 and test.analysis_successful and test.compare_successful)
if (test.ignore_return_code == 1 or test_successful):
if args.rm_testdir:
if args.clean_testdir:
suite.log.log("removing subdirectories from test directory...")
for file_name in os.listdir(output_dir):
file_path = os.path.join(output_dir, file_name)
Expand Down
2 changes: 1 addition & 1 deletion test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ def get_args(arg_string=None):
help="complete report generation from a crashed test suite run named testdir")
suite_options.add_argument("--log_file", type=str, default=None, metavar="logfile",
help="log file to write output to (in addition to stdout")
suite_options.add_argument("--rm_testdir", action="store_true",
suite_options.add_argument("--clean_testdir", action="store_true",
help="remove individual test directory after each passed test")

comp_options = parser.add_argument_group("comparison options",
Expand Down

0 comments on commit 715ea85

Please sign in to comment.