aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/testing_commands.py
Commit message (Collapse)AuthorAgeFilesLines
* Be sligthly more verbose about css-properties.json in test-unitSimon Sapin2016-04-201-0/+2
|
* Move Mako-related files into a new sub-directory.Simon Sapin2016-04-201-1/+1
| | | | There’s gonna be more of them.
* Merge list_properties.py into build_properties_rs.pySimon Sapin2016-04-201-14/+19
|
* Package tidyaskeing2016-04-141-3/+3
| | | | | | - Modified the testing commands - Added the requirements - Moved python/tidy/tests to python/tidy/servo_tidy_tests for self tidy tests
* tests for tidy.py #9152Maciej Skrzypkowski2016-04-071-4/+13
|
* Fix ./mach test-tidy --faster issuezakorgyula2016-04-051-1/+2
| | | | issue number: 9778
* Auto merge of #10238 - jdm:winunit, r=larsbergstrombors-servo2016-03-301-1/+5
|\ | | | | | | | | | | | | | | Run unit tests on appveyor <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10238) <!-- Reviewable:end -->
| * Always use backtraces on appveyor.Josh Matthews2016-03-281-1/+5
| |
* | Auto merge of #10265 - Ms2ger:reftest, r=jdmbors-servo2016-03-291-26/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | Remove dead code that used to support the legacy reftest framework. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10265) <!-- Reviewable:end -->
| * | Remove dead code that used to support the legacy reftest framework.Ms2ger2016-03-291-26/+0
| |/
* | Fixed a typoJussi Räsänen2016-03-281-1/+1
| |
* | Changed mach test to use generated json file of propertiesJussi Räsänen2016-03-281-2/+9
|/
* Auto merge of #10148 - malayaleecoder:master, r=Manishearthbors-servo2016-03-241-9/+0
|\ | | | | | | | | | | | | | | | | | | | | Remove test-ref command from testing_commands.py. Fixes #10125 Tries to fix #10125 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10148) <!-- Reviewable:end -->
| * Remove test-ref command from testing_commands.py. Fixes #10125malayaleecoder2016-03-231-9/+0
| |
* | Use call rather than check_call in jquery_test_runner.Ms2ger2016-03-161-2/+1
|/ | | | | | | The contract for mach commands is to return zero / non-zero to indicate success / failure, rather than throwing an exception. Since run_jquery.py uses a 1 exit code when there are unexpected results, this would cause an exception from check_call, which would then be printed with a stack trace.
* test_ref() got an unexpected keyword argument 'kind'.Fixes #9986malayaleecoder2016-03-151-3/+0
|
* Auto merge of #9685 - danlrobertson:i9666, r=Wafflespeanutbors-servo2016-02-261-1/+4
|\ | | | | | | | | | | | | | | | | | | | | | | Mach update-wpt should default to "--no-patch" Change mach default behavior for `update-wpt` to use the "--no-patch" option and provide an alternate option "--patch" for anyone who does in fact want `update-wpt` to automatically create a commit. Fixes #9666 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9685) <!-- Reviewable:end -->
| * Mach update-wpt shoudl default to "--no-patch"Daniel Robertson2016-02-171-1/+4
| | | | | | | | | | Change mach default behavior for update-wpt to "--no-patch" provide an alternate option "--patch" for anyone who does want this behavior
* | Refactored tidy for efficiency and optionally provide feedback on progressRavi Shankar2016-02-251-6/+10
|/
* Add an rr chaos modeMatt Brubeck2016-02-111-0/+7
|
* Factor out common code for mach test-wpt/test-cssMatt Brubeck2016-02-111-10/+7
|
* Add infrastructure for compiletestsFlorian Hahn2016-02-041-1/+63
| | | | Also adds compilefail tests for some lints, closes #5646.
* Fixed nitsShing Lyu2016-01-301-2/+4
|
* Add mach test-webidl commandShing Lyu2016-01-291-0/+20
|
* win32: mach and build command fixesVladimir Vukicevic2016-01-201-11/+11
| | | | | | | - Add SERVO_USE_NIGHTLY_RUST env var to use the latest rust/cargo nightly snapshot - Fix up looking for cargo binary (in cargo/bin/cargo, not bin/cargo) - Fix up win32 executable checking (use .exe suffix) - fix up win32 PATH handling (subprocess must use shell=True for PATH change to be honored)
* Make the properties list JSON and add some more info.Simon Sapin2016-01-151-2/+3
|
* Add a script to list all CSS properties parsed by Servo.Simon Sapin2016-01-151-0/+8
|
* Remove the legacy reftest framework.Ms2ger2016-01-141-46/+5
|
* add `faster` flag to `./mach test` command in order to call `test-tidy` properlyapopiak2016-01-131-2/+5
|
* add a --faster option to ./mach test-tidyDaan Sprenkels2016-01-071-2/+4
| | | | | | which will - only check files changed since the last merge by bors - and skip the wpt-lint
* Make test-wpt run with RUST_BACKTRACE=1 by default #8194nxnfufunezn2015-11-191-0/+1
|
* Auto merge of #8415 - mrobinson:create-wpt-relative, r=frewsxcvbors-servo2015-11-091-32/+51
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Form relative reference URLs during create-wpt Instead of always using the absolute path to the reference file when creating new reference tests, create-wpt now creates relative URLs if the files are in the same directory. This is the most common case for new Servo tests. Also fix some missing quotation marks in the create-wpt template. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8415) <!-- Reviewable:end -->
| * Form relative reference URLs during create-wptMartin Robinson2015-11-081-32/+51
| | | | | | | | | | | | | | | | Instead of always using the absolute path to the reference file when creating new reference tests, create-wpt now creates relative URLs if the files are in the same directory. This is the most common case for new Servo tests. Also fix some missing quotation marks in the create-wpt template.
* | Avoid UnboundLocalError upon "bogus" usage of ./mach create-wptSimon Martin2015-11-081-1/+2
|/
* Add create-wpt mach target to help with creating web-platform-testsJames Graham2015-10-201-3/+154
|
* Auto merge of #7813 - servo:parallel-unit-tests, r=mbrubeckbors-servo2015-10-011-5/+6
|\ | | | | | | | | | | | | | | | | | | | | | | Run all unit tests with just one Cargo command. Upgrade Cargo to get https://github.com/rust-lang/cargo/pull/1828, and use it for unit tests. This allows Cargo to get some more parallelism when compiling the test crates’ dependencies. `touch components/util/lib.rs && mach test-unit` on my machine goes from 149 seconds to 124. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7813) <!-- Reviewable:end -->
| * Run all unit tests with just one Cargo command.Simon Sapin2015-10-011-5/+6
| | | | | | | | | | | | | | | | | | | | Upgrade Cargo to get https://github.com/rust-lang/cargo/pull/1828, and use it for unit tests. This allows Cargo to get some more parallelism when compiling the test crates’ dependencies. `touch components/util/lib.rs && mach test-unit` on my machine goes from 149 seconds to 124.
* | Fixes for `mach test-ref` argument handlingMatt Brubeck2015-10-011-13/+13
|/ | | | | | | * Change parameter from `name` to `include`. This is consistent with other test suites, and also fixes a bug in `mach test` caused by a conflicting keyword parameter in `Registrar.dispatch`. * Allow any number of `include` arguments.
* Auto merge of #7809 - 6112:master, r=frewsxcvbors-servo2015-09-301-5/+30
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make `./mach test` work with unit tests Fixes #7618. Allows running a specific Rust test with one of: ``` ./mach test tests/unit/net/http_loader.rs ./mach test-unit tests/unit/net/http_loader.rs ./mach test-unit tests/unit/net/http_loader ./mach test-unit net/http_loader ``` Allows running a whole package's tests with one of: ``` ./mach test tests/unit/net ./mach test-unit tests/unit/net ``` <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7809) <!-- Reviewable:end -->
| * Allow `./mach test` and `./mach test-unit` to run unit tests with file pathNicolas2015-09-301-5/+30
| |
* | Auto merge of #7789 - 6112:master, r=mbrubeckbors-servo2015-09-291-4/+5
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | allow `./mach test` to run tests in tests/wpt/mozilla/ Allows running WPT tests in the tests/wpt/mozilla/ directory by using commands such as: ``` ./mach test tests/wpt/mozilla/tests/mozilla/union.html ``` Fixes #7772. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7789) <!-- Reviewable:end -->
| * allow `./mach test` to run tests in tests/wpt/mozilla/Nicolas2015-09-291-4/+5
| |
* | fix issue#6888Jaydeep2015-09-271-0/+56
|/
* Remove obsolete method call that breaks ./mach update-css.Josh Matthews2015-09-031-1/+0
|
* Revert "Revert "Auto merge of #7103 - frewsxcv:python-venv, r=metajack" for ↵Corey Farwell2015-09-021-45/+0
| | | | | | breaking web-platform-tests." This reverts commit 47d6d958f58f5011742a18abcdd5a76bf4390966.
* fixes test-wpt cannot be run from anywhere but the rootwilmoz2015-08-111-5/+7
|
* Allow Servo tests to be built/run with --release modeCorey Farwell2015-08-101-10/+15
| | | | Fixes #5075
* Revert "Auto merge of #7103 - frewsxcv:python-venv, r=metajack" for breaking ↵Ms2ger2015-08-091-0/+43
| | | | | | | web-platform-tests. This reverts commit c315404db80c92a695531b0aa4bcf61c125a3bff, reversing changes made to b00583bd4e7169a6b952633df718268904f2bd0c.
* Use one Python virtual environment for all mach commandsCorey Farwell2015-08-081-43/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Prior to this commit: * Our Python dependency story was a bit of a mess. We had complete Python packages (wheels and directories) living in-tree, despite not having any changes from upstream. This is particularly bad because `setup.py` never gets run on these packages which could (sometimes silently) unintended breakage. * Python virtual environments (virtualenv) were only utilized for testing web-platform tests After this commit: * A single virtualenv (`python/_virtualenv`) is activated upon *every* call to mach * A requirements file (`python/requirements.txt`) is added to describe the dependencies needed by Python modules in `python/`. The child commit immediately following this will remove all the dependencies no longer needed in-tree (for the sake of keeping this commit readable). Relevant to https://github.com/servo/servo/issues/861 Fixes https://github.com/servo/servo/issues/6999
* test-tidy fixes.Michael Howell2015-07-311-1/+0
|