Enforce that tests in MTS specify a min_sdk_version
Specifying min_sdk_version ensures backwards compatibility. There are some existing violations, and those have been baseline'd using an allowlist. Bug: 156476221 Test: m nothing Change-Id: I55098206da8ec5cfa0a9f5e7b41c9b8dedbdcbd2
This commit is contained in:
@@ -4146,6 +4146,7 @@ func TestTargetSdkVersionMtsTests(t *testing.T) {
|
||||
bpTemplate := `
|
||||
%v {
|
||||
name: "mytest",
|
||||
min_sdk_version: "34",
|
||||
target_sdk_version: "%v",
|
||||
test_suites: ["othersuite", "%v"],
|
||||
}
|
||||
|
Reference in New Issue
Block a user