Bug 1079657 (follow-up) - Remove --mode=stress option from |mach run|. r=me.
authorNicholas Nethercote <nnethercote@mozilla.com>
Wed, 08 Oct 2014 18:20:07 -0700
changeset 209507 b37bddc0adfa78fbaadda9925f643602cd6debb4
parent 209506 964eb640d4a8f38096239de314edac18be3385f5
child 209508 628fabf04fdac4f00b5c5e2170a3202ecae4ff1a
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
Bug 1079657 (follow-up) - Remove --mode=stress option from |mach run|. r=me. DONTBUILD because this is NPOTB.
--- a/python/mozbuild/mozbuild/mach_commands.py
+++ b/python/mozbuild/mozbuild/mach_commands.py
@@ -819,17 +819,17 @@ class RunProgram(MachCommandBase):
     @CommandArgument('--dmd', action='store_true', group='DMD',
         help='Enable DMD. The following arguments have no effect without this.')
     @CommandArgument('--sample-below', default=None, type=str, group='DMD',
         help='Sample blocks smaller than this. Use 1 for no sampling. The default is 4093.')
     @CommandArgument('--max-frames', default=None, type=str, group='DMD',
         help='The maximum depth of stack traces. The default and maximum is 24.')
     @CommandArgument('--show-dump-stats', action='store_true', group='DMD',
         help='Show stats when doing dumps.')
-    @CommandArgument('--mode', choices=['normal', 'test', 'stress'], group='DMD',
+    @CommandArgument('--mode', choices=['normal', 'test'], group='DMD',
         help='Mode of operation. The default is normal.')
     def run(self, params, remote, background, noprofile, debug, debugger,
         debugparams, slowscript, dmd, sample_below, max_frames,
         show_dump_stats, mode):
             binpath = self.get_binary_path('app')
         except Exception as e: