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