Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tools] Disallow refs to some non-existent files #18509

Merged
merged 1 commit into from Aug 20, 2019

Conversation

jugglinmike
Copy link
Contributor

The Chromium infrastructure generates files which it stores in a
top-level directory named "gen". In the absence of stable documentation
for how these files must be implemented, the tests which reference them
cannot be used by other implementations.

The Chromium infrastructure generates files which it stores in a
top-level directory named "gen". In the absence of stable documentation
for how these files must be implemented, the tests which reference them
cannot be used by other implementations.
@@ -350,6 +350,13 @@ class LayoutTestsRegexp(Regexp):
file_extensions = [".html", ".htm", ".js", ".xht", ".xhtml", ".svg"]
description = "eventSender/testRunner/internals used; these are LayoutTests-specific APIs (WebKit/Blink)"

class MissingDepsRegexp(Regexp):
pattern = br"[^\w]/gen/"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm so in theory we can probably do better than a regexp here, but it's also likely not worth it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants