summaryrefslogtreecommitdiff
path: root/java/dexpreopt_config_test.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2022-10-07 11:46:31 +0100
committer Paul Duffin <paulduffin@google.com> 2022-10-07 11:48:17 +0100
commit85d8bdc10e08d992fccee67b4708d728d5bc8705 (patch)
tree596a4c37a799c832ccb43c9226df29421271b36c /java/dexpreopt_config_test.go
parent538911b686b584e833a0f0d27e2419cdb0f33ddc (diff)
Properly skip TestBootImageConfig on non-Linux platforms
Bug: 245956352 Test: m nothing Change-Id: I6402573b378eee77d802829ec5dfacf4c514d3b8
Diffstat (limited to 'java/dexpreopt_config_test.go')
-rw-r--r--java/dexpreopt_config_test.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/java/dexpreopt_config_test.go b/java/dexpreopt_config_test.go
index e64cb4846..b704d09d2 100644
--- a/java/dexpreopt_config_test.go
+++ b/java/dexpreopt_config_test.go
@@ -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(