summaryrefslogtreecommitdiff
path: root/rust/rust_test.go
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2021-04-01 21:35:20 +0900
committerJiyong Park <jiyong@google.com>2021-04-05 09:32:06 +0900
commitf58c46e36fbffc3422097529987d16ac1cf503f5 (patch)
treeb0bf1a080107a0bf5cfaff9ce1998527ecca86f7 /rust/rust_test.go
parent54105c48f4496d7d5dcb3c6a4c6179266dfffc8c (diff)
Don't use incorrect version names like VER or BOARD even in tests
All version names will go through ApiLevelFromUser which triggers an error when the name is not a valid one. Bug: 175678607 Test: m Change-Id: Id33bf64085603914d45ad7942cb8908a4734493f
Diffstat (limited to 'rust/rust_test.go')
-rw-r--r--rust/rust_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/rust_test.go b/rust/rust_test.go
index 418bd93a4..890fb262b 100644
--- a/rust/rust_test.go
+++ b/rust/rust_test.go
@@ -75,7 +75,7 @@ func testRustVndk(t *testing.T, bp string) *android.TestContext {
func(variables android.FixtureProductVariables) {
variables.DeviceVndkVersion = StringPtr("current")
variables.ProductVndkVersion = StringPtr("current")
- variables.Platform_vndk_version = StringPtr("VER")
+ variables.Platform_vndk_version = StringPtr("29")
},
),
).RunTestWithBp(t, bp)