diff options
Diffstat (limited to 'tests/src/com/android/launcher3/util/rule/TestStabilityRule.java')
-rw-r--r-- | tests/src/com/android/launcher3/util/rule/TestStabilityRule.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/src/com/android/launcher3/util/rule/TestStabilityRule.java b/tests/src/com/android/launcher3/util/rule/TestStabilityRule.java index f33a50ae5a..0e27b61b84 100644 --- a/tests/src/com/android/launcher3/util/rule/TestStabilityRule.java +++ b/tests/src/com/android/launcher3/util/rule/TestStabilityRule.java @@ -41,7 +41,9 @@ public class TestStabilityRule implements TestRule { Pattern.compile("^(" + "(?<local>(BuildFromAndroidStudio|" + "([0-9]+|[A-Z])-eng\\.[a-z]+\\.[0-9]+\\.[0-9]+))|" - + "(?<platform>([A-Z][a-z]*[0-9]*|[0-9]+)*)" + + "(?<presubmit>([0-9]+|[A-Z])-P[0-9]+)|" + + "(?<postsubmit>([0-9]+|[A-Z])-[0-9]+)|" + + "(?<platform>[0-9]+|[A-Z])" + ")$"); private static final Pattern PLATFORM_BUILD = Pattern.compile("^(" |