Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upBuild with debugmozjs to run automated tests #14766
Conversation
|
@bors-servo try |
…try> Build with debugmozjs to run automated tests This will enable many safety checks which will ease diagnosing problems. <!-- 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: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [x] These changes fix #14759 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because changes the build steps <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> I've only enabled it for builds that are followed by `test-wpt` or `test-css` steps. I'm not sure if this also needs to be enabled for subsequent `build-cef` and `build-geckolib` steps on the same builder to avoid rebuilding crates due to a feature mismatch. r? @jdm <!-- 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/14766) <!-- Reviewable:end -->
|
|
|
@bors-servo: retry |
…try> Build with debugmozjs to run automated tests This will enable many safety checks which will ease diagnosing problems. <!-- 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: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [x] These changes fix #14759 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because changes the build steps <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> I've only enabled it for builds that are followed by `test-wpt` or `test-css` steps. I'm not sure if this also needs to be enabled for subsequent `build-cef` and `build-geckolib` steps on the same builder to avoid rebuilding crates due to a feature mismatch. r? @jdm <!-- 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/14766) <!-- Reviewable:end -->
|
|
|
Same failures on the mac builders and the linux builder both times. Interesting. |
|
Added a fixup commit per #14759 (comment). @Ms2ger do you know if |
|
I doubt that commit makes a difference, but the queue is nearly empty. @bors-servo retry |
|
@bors-servo: try |
|
|
…try> Build with debugmozjs to run automated tests This will enable many safety checks which will ease diagnosing problems. <!-- 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: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [x] These changes fix #14759 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because changes the build steps <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> I've only enabled it for builds that are followed by `test-wpt` or `test-css` steps. I'm not sure if this also needs to be enabled for subsequent `build-cef` and `build-geckolib` steps on the same builder to avoid rebuilding crates due to a feature mismatch. r? @jdm <!-- 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/14766) <!-- Reviewable:end -->
|
|
|
|
|
build-cef should probably be modified to accept --debug-mozjs, however. |
|
I can't help thinking that a |
This will enable many safety checks which will ease diagnosing problems. Teach `build-cef` about the `--debug-mozjs` flag.
40b4784
to
ba139de
|
@bors-servo try |
…try> Build with debugmozjs to run automated tests This will enable many safety checks which will ease diagnosing problems. <!-- 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: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [x] These changes fix #14759 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because changes the build steps <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> I've only enabled it for builds that are followed by `test-wpt` or `test-css` steps. I'm not sure if this also needs to be enabled for subsequent `build-cef` and `build-geckolib` steps on the same builder to avoid rebuilding crates due to a feature mismatch. r? @jdm <!-- 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/14766) <!-- Reviewable:end -->
|
|
|
That looks kind of like jsapi_windows_msvc14_64_debug.rs is incorrect. @vvuk Any idea what's going on in the previous failure? |
|
|
Not offhand :( Unfortunately I'm about to get on a flight so can't check,
but will do so as soon as I can.
|
|
Any update, @vvuk? |
|
When mozjs is built with debugging, it expects to link to the debug versions of the MSVC CRT (specifically, |
|
Filed rust-lang/rust#39016. |
|
I'm going to go ahead and close this until we solve the Windows problem. Thanks for investigating it! |
aneeshusa commentedDec 28, 2016
•
edited by larsbergstrom
This will enable many safety checks which will ease diagnosing problems.
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsI've only enabled it for builds that are followed by
test-wptortest-csssteps.I'm not sure if this also needs to be enabled for subsequent
build-cefandbuild-geckolibsteps on the same builder to avoid rebuilding crates due to a feature mismatch.r? @jdm
This change is