Skip TestBootImageConfig on non-Linux platforms

Bug: 245956352
Test: m nothing
Change-Id: I4c0bfd24febd308d8efa62da9603795a7e5ed222
This commit is contained in:
Paul Duffin
2022-10-06 21:38:24 +01:00
parent a44a4e079f
commit 3a56f5e0e0

View File

@@ -15,12 +15,19 @@
package java
import (
"log"
"runtime"
"testing"
"android/soong/android"
)
func TestBootImageConfig(t *testing.T) {
if runtime.GOOS != "linux" {
log.Printf("Skipping as boot image config test is only supported on linux not %s", runtime.GOOS)
return
}
result := android.GroupFixturePreparers(
PrepareForBootImageConfigTest,
).RunTest(t)