Merge "Improving regex for detecting a local platform build" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
c912c8fb8b
@@ -47,7 +47,7 @@ public class TestStabilityRule implements TestRule {
|
||||
+ ")$");
|
||||
private static final Pattern PLATFORM_BUILD =
|
||||
Pattern.compile("^("
|
||||
+ "(?<commandLine>eng\\.[a-z]+\\.[0-9]+\\.[0-9]+)|"
|
||||
+ "(?<commandLine>eng\\..+)|"
|
||||
+ "(?<presubmit>P[0-9]+)|"
|
||||
+ "(?<postsubmit>[0-9]+)"
|
||||
+ ")$");
|
||||
|
||||
Reference in New Issue
Block a user