Open
Bug 1405633
Opened 7 years ago
Updated 2 years ago
stylo: Run other stylo tests in rusttests tasks
Categories
(Firefox Build System :: General, defect, P3)
Firefox Build System
General
Tracking
(firefox-esr52 unaffected, firefox56 unaffected, firefox57 wontfix, firefox58 affected)
NEW
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox56 | --- | unaffected |
firefox57 | --- | wontfix |
firefox58 | --- | affected |
People
(Reporter: xidorn, Unassigned)
References
Details
It seems that bug 1373878 only enabled stylo struct layout test. I think it also makes sense to run function signature test to ensure that the generated functions are synced with those defined in glue.rs. It may make sense to also run the size_of tests since there can be Rust structs which contain C++ data struct inside, and changes to C++ code can bloat the corresponding things unexpectedly. These tests are probably lower priority, but should help avoid certain kind of regressions. Also I imagine that adding those tests shouldn't add too much burden to the existing test task.
Reporter | ||
Comment 1•7 years ago
|
||
(In reply to Xidorn Quan [:xidorn] UTC+10 from comment #0) > It seems that bug 1373878 only enabled stylo struct layout test. I think it > also makes sense to run function signature test to ensure that the generated > functions are synced with those defined in glue.rs. I think I misstated it. The functions are not generated, but written manually in ServoBindingList.h. So basically we are maintaining duplicate declarations of Servo_ binding functions, which is problematic. People may forget to update one of them, or to add things in ServoBindings.toml for new type mapping. This can cause regression, but it is more likely to cause developer confusion because no error would be shown until someone tries to update Servo's in-tree binding files.
Reporter | ||
Comment 2•7 years ago
|
||
(In reply to Xidorn Quan [:xidorn] UTC+10 from comment #1) > So basically we are maintaining duplicate declarations of Servo_ binding > functions, which is problematic. People may forget to update one of them, or > to add things in ServoBindings.toml for new type mapping. Bug 1406811 is an example of this.
Updated•7 years ago
|
status-firefox56:
--- → unaffected
status-firefox57:
--- → wontfix
status-firefox-esr52:
--- → unaffected
Priority: -- → P3
Summary: Run other stylo tests in rusttests tasks → stylo: Run other stylo tests in rusttests tasks
Updated•6 years ago
|
Product: Core → Firefox Build System
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•