Skip to content

Commit 1492ee9

Browse files
committed
Remove module purge cmd line arg
1 parent 3ecffe6 commit 1492ee9

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

lib/pavilion/commands/run.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,6 @@ def _generic_arguments(parser):
107107
"should be necessary only if the system or user environment "
108108
"under which Pavilion runs has changed."
109109
)
110-
parser.add_argument(
111-
'--no-purge', action='store_false', default=True, dest='purge',
112-
help="Do not perform a module purge before running tests. Modules "
113-
"are purged by default."
114-
)
115110
parser.add_argument(
116111
'tests', nargs='*', action='store', metavar='TEST_NAME',
117112
help='The name of the tests to run. These may be suite names (in '
@@ -198,8 +193,7 @@ def run(self, pav_cfg, args):
198193
series_obj.run(
199194
build_only=self.BUILD_ONLY,
200195
rebuild=args.rebuild,
201-
local_builds_only=local_builds_only,
202-
purge=args.purge)
196+
local_builds_only=local_builds_only)
203197
self.last_tests = list(series_obj.tests.values())
204198
except TestSeriesError as err:
205199
self.last_tests = list(series_obj.tests.values())

lib/pavilion/test_run/test_attrs.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -374,9 +374,6 @@ def _get_status_file(self) -> Optional[TestStatusFile]:
374374
name = basic_attr(
375375
name='name',
376376
doc="The full name of the test.")
377-
purge = basic_attr(
378-
name='purge',
379-
doc="Whether or not the test will perform a module purge before building/running.")
380377
rebuild = basic_attr(
381378
name='rebuild',
382379
doc="Whether or not this test will rebuild it's build.")

0 commit comments

Comments
 (0)