aboutsummaryrefslogtreecommitdiffstats
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Updates `./mach update-cargo` for new path changesMatthew Rasmus2014-12-081-2/+5
| |/ / | | | | | | | | | Also fixed a bug if run with no arguments.
* | | auto merge of #4286 : andreastt/servo/ato/concat_error_on_system_rust, ↵bors-servo2014-12-081-0/+2
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Fix concatentation error on no args to `./mach rustc`Andreas Tolfsen2014-12-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Fix path for CEF build.Glenn Watson2014-12-081-1/+1
| | |
* | | Fix breakage of `./mach test`Matthew Rasmus2014-12-061-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | auto merge of #4229 : mttr/servo/mach_unit_test_select_component, r=Manishearthbors-servo2014-12-061-10/+15
|\ \ \ | |/ / |/| | | | | | | | | | | Example usage: `./mach test-unit -c style`
| * | Last second bug catchMatthew Rasmus2014-12-041-1/+1
| | |
| * | Adds a --component (or -c) argument to test-unitMatthew Rasmus2014-12-041-8/+11
| | | | | | | | | | | | | | | | | | Example usage: `./mach test-unit -c style`
| * | PEP8 line length fixes in testing_commands.pyMatthew Rasmus2014-12-041-3/+5
| | | | | | | | | | | | ...so that PyLint stops yelling at me
* | | auto merge of #4231 : mttr/servo/mach_test_fix, r=jdmbors-servo2014-12-051-1/+1
|\ \ \ | | | | | | | | | | | | Somehow didn't catch this when renaming a variable.
| * | | Mach test inference fixMatthew Rasmus2014-12-041-1/+1
| |/ /
* | | auto merge of #4240 : Manishearth/servo/tidy, r=SimonSapinbors-servo2014-12-051-0/+1
|\ \ \ | |/ / |/| |
| * | Make tidy ingore new target dirManish Goregaokar2014-12-041-0/+1
| | |
* | | Fix 'mach browse-doc' to use the right target directory.Simon Sapin2014-12-031-1/+1
| | |
* | | Make 'mach doc' not fail when components/servo/target doesn’t exist.Simon Sapin2014-12-031-2/+3
|/ /
* | Replace `mach serve-docs` by `mach browse-doc`, fix #3913Simon Sapin2014-12-021-13/+6
| |
* | Have 'mach doc' copy Rust documentation.Simon Sapin2014-12-021-11/+31
| |
* | Don’t try to run unit tests for the servo crate.Simon Sapin2014-12-021-1/+2
| | | | | | | | | | | | | | | | There are none, but the contenttest program fails with: ``` task '<main>' panicked at 'Required option 'source-dir' missing.', ../../tests/contenttest.rs:48 ```
* | Have `./mach cargo` not change to `components/servo`.Simon Sapin2014-12-021-1/+1
| | | | | | | | `ports/android/glut` relies on it executing on the current directory.
* | Make build system more independent of current directory.Simon Sapin2014-12-025-7/+10
| |
* | Move the servo crate from root to components/servoSimon Sapin2014-12-024-13/+19
| |
* | auto merge of #4169 : IdeaHat/servo/fix-mach-unit-test-filter, r=jdmbors-servo2014-12-021-1/+1
|\ \ | | | | | | | | | | | | | | | 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.
| * | Fixed test filterNathan Climer2014-12-011-1/+1
| | |
* | | infer_test_by_dir cleanupMatthew Rasmus2014-12-011-14/+13
|/ / | | | | | | | | No actual change in functionality here. I was just unhappy with the way test-ref was singled out before, and realized an obvious fix.
* | auto merge of #4093 : mttr/servo/mach_reftest_by_file, r=jdmbors-servo2014-11-291-8/+21
|\ \ | | | | | | | | | | | | | | | | | | | | | `./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)
| * | Adds explicit --name argument to test-refMatthew Rasmus2014-11-241-8/+21
| | | | | | | | | | | | | | | In addition, `./mach test` will now take advantage of this when inferring test suites from test files.
* | | Remove default value for params in mach doc #4134Matt Murphy2014-11-281-1/+1
|/ /
* | Lets `./mach test` infer testsuite from fileMatthew Rasmus2014-11-241-1/+36
| | | | | | | | | | | | | | | | | | | | | | | | 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`.
* | Adds --debug and --debugger flags to ./mach runMatthew Rasmus2014-11-231-3/+35
| |
* | mozilla-central modules for debugger detectionMatthew Rasmus2014-11-235-0/+489
| | | | | | | | | | | | | | | | | | 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
* | Remove allow_all_args from mach commandsMatthew Rasmus2014-11-233-19/+10
| |
* | Update mach to latest changes from mozilla-centralMatthew Rasmus2014-11-233-26/+109
| | | | | | | | | | | | | | 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).
* | Adds --release flag to ./mach build-cefMatthew Rasmus2014-11-231-1/+6
| | | | | | | | | | | | | | | | | | 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? ```
* | auto merge of #4072 : frewsxcv/servo/test-files, r=jdmbors-servo2014-11-231-6/+6
|\ \ | | | | | | | | | Fixes #3910
| * | Make sure directories aren't getting testedCorey Farwell2014-11-231-6/+6
| | |
* | | Fixes 4037. Enable backtrace on run cmd.nwin2014-11-231-1/+3
|/ /
* / Run a single WPT test from a relative pathMatthew Rasmus2014-11-211-0/+10
|/ | | | Fixes #4055
* Added a mach command for cargo updateMatthew Rasmus2014-11-191-1/+20
| | | | | | | | | | | | | | | | 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` ```
* Use the correct Rust path in Android packagingMatt Brubeck2014-11-141-0/+1
|
* Download Cargo over HTTPS. Fix #3582.Simon Sapin2014-11-131-2/+1
|
* Issue #3804 : Allow enabling debug-mozjs from servobuild configFabrice Desré2014-11-062-1/+3
|
* auto merge of #3907 : Munksgaard/servo/serve-docs, r=jdmbors-servo2014-11-051-0/+30
|\ | | | | | | | | | | | | | | 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
| * Add serve-docs command to machPhilip Munksgaard2014-11-051-0/+30
| | | | | | | | | | | | | | | | 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
* | auto merge of #3902 : mbrubeck/servo/share_directory, r=jdmbors-servo2014-11-052-7/+19
|\ \ | | | | | | | | | This is @acmiyaguchi's already-reviewed patch from #3388, rebased and squashed onto servo master. Fixes #3353.
| * | Automatically update cargo when necessaryMatt Brubeck2014-11-052-4/+13
| | |
| * | Fixes #3353: rust snapshot downloads to home directoryAnthony Miyaguchi2014-11-052-5/+8
| |/
* / Panic when bootstrap downloads failOrvar Segerström2014-11-051-1/+12
|/ | | | | | | | Also hints that 32bit snapshots are unavailable on failure Resolves #3739 fixup! Panic when bootstrap downloads fail
* Add an optional --debug-mozjs argument to `mach build` that enables a ↵Josh Matthews2014-10-242-2/+13
| | | | non-optimized, debug build of mozjs and rust-mozjs. Update the Cargo snapshot to enable new feature support.
* Update toml.py to upstream 1069d2449760525535ca77514a92e9237ee0deafFabrice Desré2014-10-201-7/+7
|
* Move windowing code out of the compositorMatt Brubeck2014-10-101-7/+9
| | | | | This is mainly just moving code around, in preparation for further changes to the "windowing" API.