| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |/ /
| | |
| | |
| | | |
Also fixed a bug if run with no arguments.
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
r=metajack
Since default argument to params is None, concatenating it with a
list will raise an error. This behaviour prevents `./mach rustc`
to be called when system-rust is defined in .servobuild.
Currently it will only work when followed by an argument, i.e.
`./mach rustc -arg`.
Testing this patch: `./mach rustc` should not raise an error.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Since default argument to params is None, concatenating it with a
list will raise an error. This behaviour prevents `./mach rustc`
to be called when system-rust is defined in .servobuild.
Currently it will only work when followed by an argument, i.e.
`./mach rustc -arg`.
Testing this patch: `./mach rustc` should not raise an error.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When running commands through Registrar.dispatch, mach does not behave
in the same way it would as if it were running through the command line.
Defaults normally provided through a combination of @CommandArgument and
argparse magic are ignored.
I have some ideas as to how to fix this, but until then, this will allow
`./mach test` to run through test-unit properly.
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | | |
Example usage:
`./mach test-unit -c style`
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Example usage:
`./mach test-unit -c style`
|
| | |
| | |
| | |
| | | |
...so that PyLint stops yelling at me
|
|\ \ \
| | | |
| | | |
| | | | |
Somehow didn't catch this when renaming a variable.
|
| |/ / |
|
|\ \ \
| |/ /
|/| | |
|
| | | |
|
| | | |
|
|/ / |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
There are none, but the contenttest program fails with:
```
task '<main>' panicked at 'Required option 'source-dir' missing.', ../../tests/contenttest.rs:48
```
|
| |
| |
| |
| | |
`ports/android/glut` relies on it executing on the current directory.
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | | |
Minor change, added unit test filter to components so that ./mach test-unit [test-filter] works in line with documentation.
I'd personally like to also make filters on the components as well as the tests. This would change the interface (probably to ./mach test-unit [component-filter] [test-filter]), but change is NOT in this pull request.
|
| | | |
|
|/ /
| |
| |
| |
| | |
No actual change in functionality here. I was just unhappy with the way
test-ref was singled out before, and realized an obvious fix.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
`./mach test-ref` no longer eats the first "-" prefixed argument for test name filtering, instead using an explicit "--name" argument. This should avoid any potential confusion when passing down arguments to servo.
Also allows for ./tests/ref to be included (and trimmed away) for tab completion convenience (`./mach test` has also been updated to take advantage of this when inferring tests from file paths).
(fixes #4091)
|
| | |
| | |
| | |
| | |
| | | |
In addition, `./mach test` will now take advantage of this when
inferring test suites from test files.
|
|/ / |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Usage Example:
```
$ ./mach test tests/wpt/web-platform-tests/dom/interfaces.html
0:00.27 LOG: MainThread INFO Using 1 client processes
...
```
Note that while there is no functionality for `test-ref` to accept
individual files, `./mach test tests/ref` will still trigger `test-ref`.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Borrows two python modules from mozilla-central to give mach the ability
to detect and pass arguments to a system's preferred debugger.
Links to borrowed files:
http://hg.mozilla.org/mozilla-central/file/c9cfa9b91dea/testing/mozbase/mozinfo/mozinfo/mozinfo.py
http://hg.mozilla.org/mozilla-central/file/c9cfa9b91dea/testing/mozbase/mozdebug/mozdebug/mozdebug.py
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Updates the way mach mixes unrecognized arguments and predefined
arguments (see [mozilla bug
1076649](https://bugzilla.mozilla.org/show_bug.cgi?id=1076649) for
details on this change).
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Requested by kmc in IRC.
```
11:36 < kmc> while you're mach-ing about, can you modify build-cef to
accept --release like build does?
```
|
|\ \
| | |
| | |
| | | |
Fixes #3910
|
| | | |
|
|/ / |
|
|/
|
|
| |
Fixes #4055
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As proposed in #3736
Example usage:
``` sh
$ ./mach update-cargo -p rust-xml
.
Updating git repository `https://github.com/netvl/rust-xml`
ports/cef
Updating git repository `https://github.com/netvl/rust-xml`
ports/android/glut_app
Updating git repository `https://github.com/netvl/rust-xml`
```
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| | |
This enables the user to run `./mach serve-docs` (with an optional port
number), starting a local web server that hosts the documentation for
Servo and Rust.
This closes #3807
|
| |
| |
| |
| |
| |
| |
| |
| | |
This enables the user to run `./mach serve-docs` (with an optional port
number), starting a local web server that hosts the documentation for
Servo and Rust.
This closes #3807
|
|\ \
| | |
| | |
| | | |
This is @acmiyaguchi's already-reviewed patch from #3388, rebased and squashed onto servo master. Fixes #3353.
|
| | | |
|
| |/ |
|
|/
|
|
|
|
|
|
| |
Also hints that 32bit snapshots are unavailable on failure
Resolves #3739
fixup! Panic when bootstrap downloads fail
|
|
|
|
| |
non-optimized, debug build of mozjs and rust-mozjs. Update the Cargo snapshot to enable new feature support.
|
| |
|
|
|
|
|
| |
This is mainly just moving code around, in preparation for further changes to
the "windowing" API.
|