Skip TestBootImageConfig on non-Linux platforms
Bug: 245956352 Test: m nothing Change-Id: I4c0bfd24febd308d8efa62da9603795a7e5ed222
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user