Summary: | [GTK] [WPE] Add entries on the bots' /etc/hosts file for testing purpose | ||
---|---|---|---|
Product: | WebKit | Reporter: | Frédéric Wang (:fredw) <fred.wang> |
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW --- | ||
Severity: | Normal | CC: | cgarcia, mcatanzaro, pnormand |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | 219257 | ||
Bug Blocks: | 127676 |
Description
Frédéric Wang (:fredw)
2020-11-20 03:20:54 PST
Suggestion: you can write a GResolver that wraps the default GResolver and just specially resolves some extra host. Compile it into a shared object and have the run-[gtk,wpe]-tests scripts set GIO_EXTRA_MODULES to point to it. Then you won't wind up with a test that breaks when not run on a specially-configured bot. (In reply to Michael Catanzaro from comment #1) > Suggestion: you can write a GResolver that wraps the default GResolver and > just specially resolves some extra host. Compile it into a shared object and > have the run-[gtk,wpe]-tests scripts set GIO_EXTRA_MODULES to point to it. > Then you won't wind up with a test that breaks when not run on a > specially-configured bot. Yeah this seems like a much better approach. It's not *too* complicated, and otherwise the affected tests will never pass when not run on bots. Surely we don't want to tell devs to edit their /etc/hosts. |