Properly skip TestBootImageConfig on non-Linux platforms

Bug: 245956352
Test: m nothing
Change-Id: I6402573b378eee77d802829ec5dfacf4c514d3b8
This commit is contained in:
Paul Duffin
2022-10-07 11:46:31 +01:00
parent 538911b686
commit 85d8bdc10e

View File

@@ -15,7 +15,6 @@
package java
import (
"log"
"runtime"
"testing"
@@ -24,8 +23,7 @@ import (
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
t.Skipf("Skipping as boot image config test is only supported on linux not %s", runtime.GOOS)
}
result := android.GroupFixturePreparers(