aboutsummaryrefslogtreecommitdiffstats
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
* Remove work-around that is now unnecessarySimon Sapin2018-01-141-4/+0
| | | | We use rustup.rs, where each toolchain has its own Cargo version.
* Restore the ability to disable incremental compilationSimon Sapin2018-01-141-1/+3
| | | | It became the default in debug mode in the last Rust/Cargo update.
* We use Nigthly Cargo with Stable RustSimon Sapin2018-01-101-3/+2
| | | | | Nightly now has incremental compilation as a stable feature, but that’s not in the stable channel yet.
* rustup.rs: Use MSVC rather than GNU toolchains on WindowsSimon Sapin2018-01-101-1/+5
|
* Revert "Use rustup "proxies" instead of `rustup run`"Simon Sapin2018-01-101-12/+13
| | | | This reverts commit ad22368646290510149d33a0a41fc436ac4a0e96.
* Use rustup "proxies" instead of `rustup run`Simon Sapin2018-01-101-13/+12
| | | | | | To make sure we’re indeed running rustup’s proxy rather than some other `cargo` for example, run the `rustup` executable with a different `argv[0]`.
* Fix "rustup is not installed" messageSimon Sapin2018-01-101-9/+8
|
* Print a better error message when rustup is too oldSimon Sapin2018-01-101-0/+7
|
* Print a link to instructions if rustup is not found.Simon Sapin2018-01-101-1/+11
|
* Use rustup.rs instead of custom bootstrapSimon Sapin2018-01-107-346/+111
| | | | Fixes #11361, closes #18874
* Revert "Use rustdoc --document-private-item instead of deprecated flags"Simon Sapin2018-01-102-6/+6
| | | | This reverts commit d96f0ff6a77e309682898cc7e1905a7bd0feb3cf.
* Auto merge of #19728 - servo:wptup, r=jdmbors-servo2018-01-092-2/+2
|\ | | | | | | | | | | | | | | Update web-platform-tests <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19728) <!-- Reviewable:end -->
| * Update web-platform-tests to revision be5419e845d39089ba6dc338c1bd0fa279108317Josh Matthews2018-01-092-2/+2
| |
* | Update buildbot_steps lint to handle env variablesAneesh Agrawal2018-01-083-13/+25
|/ | | | | | | | | | https://github.com/servo/saltfs/pull/687 added support for specifying environment variables in `buildbot_steps.yml`. Update the servo-tidy buildbot_steps.yml linter to reflect this. Use the voluptuous Python library (BSD 3-clause license) for validation in lieu of a much larger hand-written implementation. Update the tidy self tests to take into account the new error messages.
* Auto merge of #19586 - tigercosmos:x1, r=jdmbors-servo2018-01-031-1/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | let mutation testing display diff if compilation fails <!-- Please describe your changes on the following line: --> let mutation testing display diff if compilation fails r? @jdm --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #19566 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19586) <!-- Reviewable:end -->
| * let mutation testing display diff if compilation failstigercosmos2017-12-171-1/+4
| |
* | pass -vv through mach to cargotigercosmos2017-12-231-2/+7
|/
* Auto merge of #19539 - emilio:cargo-geckolib, r=SimonSapinbors-servo2017-12-131-15/+17
|\ | | | | | | | | | | | | | | mach: Fix cargo-geckolib check / cargo-geckolib build after #19476. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19539) <!-- Reviewable:end -->
| * mach: Remove redundant with(crate_dir).Emilio Cobos Álvarez2017-12-131-9/+2
| |
| * mach: Fix cargo-geckolib check / cargo-geckolib build after #19476.Emilio Cobos Álvarez2017-12-101-9/+18
| |
* | Auto merge of #19507 - asajeffrey:test-perf-date-option, r=avadacatavrabors-servo2017-12-121-1/+5
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a --date option to test-perf. <!-- Please describe your changes on the following line: --> To generate old test-perf results, we need a way to set the date when running `./mach test-perf`. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes do not require tests because they're test infrastructure <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19507) <!-- Reviewable:end -->
| * Add a --date option to test-perf.Alan Jeffrey2017-12-061-1/+5
| |
* | Use workspace.default-members to specify default crates for 'cargo build'Simon Sapin2017-12-072-5/+3
| | | | | | | | | | | | | | | | | | | | | | … and 'cargo test', etc. Include Servo and its unit tests, but not Stylo because that would try to compile the style crate with incompatible feature flags: https://github.com/rust-lang/cargo/issues/4463 `workspace.default-members` was added in https://github.com/rust-lang/cargo/pull/4743. Older Cargo versions ignore it.
* | Upgrade to rustc 1.24.0-nightly (5a2465e2b 2017-12-06)Simon Sapin2017-12-071-0/+3
|/
* Mutation TestingSandeep Hegde2017-12-064-65/+262
| | | | | | | | | | | | | | | | | | Introduced strategy design pattern Added Strategies: if true and if false Replace String literals Remove if blocks which do not have else. Modify Comparision Statement - changing <= to < and changing >= to > Duplicating statements Added plus to minus and minus to plus mutaiton strategy Classifying build failures for mutant as unexpected error - Skipping test run for mutant with compilation failure Added logger messages instead of print Randomized the mutation test order Try new strategy on failure to mutate on a file Updated Readme - Adding mutation strategy and mutation test execution flow
* Enable pip output in mach_bootstrap.pySimon Wörner2017-11-241-2/+2
|
* Redirect stdout and stderr to file to avoid deadlockSimon Wörner2017-11-241-23/+26
|
* Auto merge of #19325 - m-novikov:tidy-ignore-without-duplicates, r=jdmbors-servo2017-11-222-2/+27
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Report an errror if a package has duplicates allowed but there are no duplicates Resolves: #19306 <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #19306 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19325) <!-- Reviewable:end -->
| * Report an errror if a package has duplicates allowed but there are no duplicatesMaxim Novikov2017-11-212-2/+27
| | | | | | | | Resolves: #19306
* | Replace compiletest suite by doc-tests with `compile_fail`Simon Sapin2017-11-221-61/+0
| | | | | | | | | | compiletest-rs use internal rustc APIs and is broken in today’s Nightly. rustdoc however is maintained with rustc and so much less fragile.
* | Use rustdoc --document-private-item instead of deprecated flagsSimon Sapin2017-11-221-1/+1
| | | | | | | | … and use $RUSTDOCFLAGS instead of $RUSTDOC with a wrapper script
* | Submit test-perf CSV files to S3.Alan Jeffrey2017-11-211-6/+0
| |
* | Renamed mach test-perf -submut to --submit.Alan Jeffrey2017-11-201-1/+1
| |
* | Auto merge of #18984 - dsandeephegde:master, r=jdmbors-servo2017-11-163-0/+212
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initial steps of Mutation testing <!-- Please describe your changes on the following line: --> - Added one strategy of mutation which is replacing occurrences && to ||. - Added test mapping framework for running mutation tests corresponding to a mutant. - Added one test_mapping.json to map source file in a folder to WPT test. - Added README mentioning about Mutation testing. - Added CI script to invoke mutation test. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes #18529 (github issue number if applicable). - [x] These changes do not require tests because it is a python script to run mutation test and does not change any behavior. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18984) <!-- Reviewable:end -->
| * | Corrected a typoSandeep Hegde2017-11-131-1/+1
| | |
| * | Refactored mutate random line methodSandeep Hegde2017-11-131-4/+5
| | |
| * | Made test summary more descriptive and Updated ReadmeSandeep Hegde2017-11-133-9/+27
| | |
| * | Added mutation test summary and made it exit with relevant exit codeSandeep Hegde2017-11-122-1/+27
| | |
| * | Changed readme saying wildcard not allowed in test_mapping.josnSandeep Hegde2017-11-101-1/+1
| | |
| * | Corrected typo in ReadmeSandeep Hegde2017-11-101-1/+1
| | |
| * | fixed tidy errorSandeep Hegde2017-11-081-1/+1
| | |
| * | Added more information in Mutation Test ReadmeSandeep Hegde2017-11-082-11/+19
| | |
| * | Skipping mutation test for file with local changesSandeep Hegde2017-11-061-23/+27
| | |
| * | Added randomness to the mutation strategySandeep Hegde2017-11-061-15/+23
| | | | | | | | | | | | | | | - now running only maximum one mutation per file. - Beautified the output
| * | Loging success message on mutation test successSandeep Hegde2017-11-061-1/+4
| | |
| * | Added Readme.md file for mutation testingpanup210919932017-11-061-0/+55
| | |
| * | Removed build and wpt-test output from mutation test log and refactored code.Sandeep Hegde2017-11-062-19/+22
| | |
| * | Changed method to mutate a line of codeSandeep Hegde2017-11-061-5/+4
| | |
| * | Fixed few tidy errorsSandeep Hegde2017-11-062-6/+28
| | |
| * | Reverting wrong comment.Sandeep Hegde2017-11-061-1/+1
| | |