Closed Bug 848757 Opened 12 years ago Closed 9 years ago

Mach command for `make package-tests`

Categories

(Firefox Build System :: Mach Core, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: emorley, Unassigned)

References

Details

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #820179 +++
Attached patch bug848757.diffSplinter Review
Attachment #8699475 - Flags: review?(cmanchester)
Comment on attachment 8699475 [details] [diff] [review] bug848757.diff Review of attachment 8699475 [details] [diff] [review]: ----------------------------------------------------------------- ::: python/mozbuild/mozbuild/mach_commands.py @@ +1164,5 @@ > pass_thru=True, append_env=extra_env) > > @CommandProvider > +class PackageTests(MachCommandBase): > + """Package the test files.""" This is ok, but the new way to do this is have a short string in the description argument (shown by |mach help|), and a docstring for the method implementing the command if a longer message is needed (shown by |mach help <command>|). I don't think the short docstrings for the classes around this file are adding anything. @@ +1171,5 @@ > + description='Package the tests into tests.zip files used in CI') > + def package_tests(self): > + ret = self._run_make(directory=".", target='package-tests', ensure_exit_code=False) > + if ret == 0: > + self.notify('Packaging complete') 'Packaging tests complete' ?
Attachment #8699475 - Flags: review?(cmanchester) → review+
Figured out at some point that |./mach build package-tests| works fine for this.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: