aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/testing_commands.py
Commit message (Collapse)AuthorAgeFilesLines
* Update clangfmt version.Josh Matthews2022-08-061-1/+1
|
* update Ubuntu version check to > 21.10Gio de Guzman2021-12-151-1/+1
| | | | Update clang-format version check to use find() instead of startswith() to deal with distro-specific discrepancy
* chore(mach): update the required clang-format version to 13yvt2021-10-161-1/+1
|
* chore(mach): update the required clang-format version to 12yvt2021-10-041-1/+1
|
* Updat clang-fmt version check.Josh Matthews2021-02-191-1/+1
|
* Port some code to Python3Vincent Ricard2021-02-181-1/+4
|
* Improve intermittent filteringKunal Mohan2020-08-041-2/+12
|
* Add an implementation of the core float and clear placement logic in layoutPatrick Walton2020-07-201-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2020, not yet wired to the rest of layout. This commit implements an object that handles the 10 rules in CSS 2.1: https://www.w3.org/TR/CSS2/visuren.html#float-position The implementation strategy is that of a persistent balanced binary search tree of float bands. Binary search trees are commonly used for implementing float positioning; e.g. by WebKit. Persistence enables each object that interacts with floats to efficiently contain a snapshot of the float list at the time that object was laid out. That way, incremental layout can invalidate and start reflow at any point in a containing block. This commit features extensive use of [QuickCheck](https://github.com/BurntSushi/quickcheck) to ensure that the rules of the CSS specification are followed. Because this is not yet connected to layout, floats will not actually be laid out in Web pages yet. Note that unit tests as set up in Servo currently require types that they access to be public. Therefore, some internal layout 2020 types that were previously private have been made public. This is somewhat unfortunate. Part of #25167.
* Fix remaining flake8 warningsKagami Sascha Rosylight2020-06-211-2/+2
|
* Run only a supported set of WPT test types by default.Josh Matthews2020-06-031-0/+10
|
* Auto merge of #25853 - asajeffrey:surfmanup, r=jdmbors-servo2020-04-181-18/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace glutin by winit + surfman 0.2 <!-- Please describe your changes on the following line: --> This PR updates surfman to 0.2, and replaces glutin with winit+surfman. --- <!-- 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 this should all be invisible <!-- 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. -->
| * Update surfman to 0.2 and remove glutinAlan Jeffrey2020-04-171-18/+2
| |
* | Disable RUST_BACKTRACE in unit tests on macOS.Josh Matthews2020-04-171-1/+3
|/
* Update required clang-format version.Josh Matthews2020-04-151-1/+1
|
* Add default arguments so that ./mach test --all worksWarren Fisher2020-01-191-1/+1
|
* Don’t run `ensure_bootstrapped` when rustup is not used at all.Simon Sapin2020-01-021-10/+0
| | | | Linux WPT tasks on our CI don’t have rustup installed.
* Fix a Python 3 warningSimon Sapin2020-01-021-1/+1
| | | | | | | | ``` /home/simon/projects/servo/python/servo/testing_commands.py:301: SyntaxWarning: "is not" with a literal. Did you mean "!="? if err is not 0: ```
* mach: always call `ensure_bootstrapped` before `call_rustup_run`Simon Sapin2020-01-021-0/+1
|
* Print OSMesa environment variables when starting debugger under WPT.Josh Matthews2019-12-201-4/+4
|
* Fix tidiness errors for Python3 compatibility across whole repomarmeladema2019-12-111-9/+9
|
* Make `mach test-tidy --no-wpt` compatible with Python3marmeladema2019-12-111-2/+2
| | | | | Note: tidiness tests of Python file using flake8 was effectively broken since a previous commit for Python3 compatibility
* Fix Python Unicode error in './mach filter-intermittents'Simon Sapin2019-12-051-5/+2
| | | | Fix https://github.com/servo/servo/issues/25062
* Fix Python Unicode error on macOS CISimon Sapin2019-12-031-3/+6
|
* Include test output in filtered WPT logsSimon Sapin2019-12-031-26/+25
|
* Run test-tidy on WindowsPaul Rouget2019-11-211-35/+38
|
* remove allfiles option for clang-formatPaul Rouget2019-11-041-5/+3
|
* Format support/hololens/Paul Rouget2019-11-041-1/+1
|
* Format CPP code with clang-formatPaul Rouget2019-10-301-5/+47
|
* Add `./mach test-tidy --no-wpt`, for a git pre-push hookSimon Sapin2019-10-241-2/+7
| | | | | | | | | | | | | | | Disabling WPT manifest checking brings the time it takes to run tidy for ~11 seconds to ~3 seconds, which feels reasonable to have in a git pre-push hook. This can help avoid forgetting to run tidy before opening a PR. ``` $ chmod +x .git/hooks/pre-push $ cat .git/hooks/pre-push #!/bin/sh set -e ./mach test-tidy --no-wpt ```
* Replace call to execfile(...) by call to exec(compile(open(...)))marmeladema2019-10-201-5/+5
| | | | This is done in order to be compatible with Python3
* Use iteritems from six module for Python3 compatibilitymarmeladema2019-10-161-3/+4
|
* Use urllib from six module in order to be compatible with Python3marmeladema2019-10-161-7/+7
|
* Remove intermittent failure reporting.Josh Matthews2019-10-041-35/+0
|
* Add a HOST_FILE env variable and fix the wdspec setup errors that it causesGeorge Roman2019-07-201-1/+1
|
* Add `--layout-2020` to `./mach test-wpt` and `./mach update-wpt`Simon Sapin2019-07-041-0/+2
| | | | … with separate metadata (expected results) and include manifest.
* Add `./mach build --with-layout-2020`Simon Sapin2019-07-041-1/+1
| | | | | … with corresponding `layout` and `layout_thread` crates, which for now do nothing.
* Share more `./mach build` logic with mach check, doc, test-unitSimon Sapin2019-07-021-7/+4
| | | | Fixes #23659
* Add smoketest command.Josh Matthews2019-05-091-0/+10
|
* Refactoring of the Glutin port in preparation of the compositor refactoring.Paul Rouget2019-04-291-1/+1
|
* Make create-wpt mach command use new manifest update implementationFernando Jiménez Moreno2018-12-241-1/+2
|
* Create filtered-wpt-errorsummary.log even if it would be emptySimon Sapin2018-12-141-3/+3
|
* Write indented JSON in ./mach filter_intermittentsSimon Sapin2018-12-131-2/+2
|
* Fix `./mach filter_intermittents` in shallow git clones.Simon Sapin2018-12-121-1/+1
| | | | | | | | | | `git log --merges` only shows commits with at least two parents. Presumably, this only works when the parent commits are in the local repository. In a shallow clone (`--depth 1`), on the HEAD commit is fetched. This commit removes the `--merges` filter. This shouldn’t affect the behavior, since CI always runs with a merge commit as HEAD.
* introduce a background-hang-monitor:Gregory Terzian2018-11-261-0/+1
| | | | | Mac-Os implementation of a thread sampler, Linux and Windows skeleton implementations.
* Update crossbeam-channel to 0.3Bastien Orivel2018-11-181-1/+0
|
* Hint ./mach fmtPyfisch2018-11-071-0/+2
|
* Auto merge of #22127 - Darkspirit:https_intermittent_tracker, r=jdmbors-servo2018-11-071-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | Connect to intermittent trackers via https This is the last part of #22088. Each https url returns the same with curl as its previous http variant, so it should be a safe change. And https has already been used at this place in the past: https://github.com/servo/servo/commit/38474f8671d17dfce992ebf6b6dda905a5de5b1b <!-- 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/22127) <!-- Reviewable:end -->
| * Connect to intermittent trackers via httpsJan Andre Ikenmeyer2018-11-061-2/+2
| |
* | Remove import order check from test-tidyPyfisch2018-11-061-4/+5
| | | | | | | | Fix leaking file descriptor.
* | Run rustfmt on test-tidyPyfisch2018-11-061-1/+16
|/ | | | | Add ./mach fmt command. Mach installs rustfmt if needed.