Closed
Bug 848757
Opened 12 years ago
Closed 9 years ago
Mach command for `make package-tests`
Categories
(Firefox Build System :: Mach Core, enhancement)
Firefox Build System
Mach Core
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: emorley, Unassigned)
References
Details
Attachments
(1 file)
1.09 KB,
patch
|
chmanchester
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #820179 +++
Comment 1•9 years ago
|
||
Attachment #8699475 -
Flags: review?(cmanchester)
Comment 2•9 years ago
|
||
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+
Comment 3•9 years ago
|
||
Figured out at some point that |./mach build package-tests| works fine for this.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•