Skip to content

support layout tests #3868

Closed
Closed
@sigmundch

Description

@sigmundch

Add support in test.dart for running layout tests.

Bill - I was thinking of the following strategy to address this issue and issue #3864, but I wanted to double check with you first.

I'm thinking of adding a way to specify flags for the drt binary. We could specify them from the test like we do for VMOptions and DartcOptions (comments in the actual test). These options would be passed as flags to drt-trampoline.

To address layout tests we could do:
// DRTOptions= --expected_png_output=test_expectation_foo.png

To support shadow dom tests (issue #3864) we would pass:
// DRTOptions= --enable_shadow_dom
(or something similar)

Thoughts?

Metadata

Metadata

Assignees

Labels

area-testCross-cutting test issues (use area- labels for specific failures; not used for package:test).type-enhancementA request for a change that isn't a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions