Skip to content

Commit 044930a

Browse files
Update android_trunk_stable_versions to contain lowercase versions (#4637)
platform_id string is in lowercase. Hence update the trunk stable versions to lowercase.
1 parent f8811f5 commit 044930a

File tree

1 file changed

+3
-2
lines changed
  • src/clusterfuzz/_internal/platforms/android

1 file changed

+3
-2
lines changed

src/clusterfuzz/_internal/platforms/android/util.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,9 @@ def can_testcase_run_on_platform(testcase_platform_id, current_platform_id):
8484
# Check for the trunk stable versions - Z, A, B.
8585
# Source: go/release-version_trunk-stable#examples
8686
# If the current version is 'Z', 'A' or 'B', run the test case
87-
android_trunk_stable_versions = ['Z', 'A', 'B']
88-
if current_platform_id_fields[2] in android_trunk_stable_versions:
87+
# Note: Use lowercase as platform_id is in lowercase
88+
android_trunk_stable_versions = ['z', 'a', 'b']
89+
if current_platform_id_fields[2].lower() in android_trunk_stable_versions:
8990
return True
9091

9192
return False

0 commit comments

Comments
 (0)