aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-rw-r--r--pkg/report/linux_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/report/linux_test.go b/pkg/report/linux_test.go
index 005155943..ec5eb3c71 100644
--- a/pkg/report/linux_test.go
+++ b/pkg/report/linux_test.go
@@ -9,6 +9,7 @@ import (
"io/ioutil"
"path/filepath"
"reflect"
+ "runtime"
"strings"
"testing"
@@ -374,6 +375,10 @@ func TestParseLinuxOpcodes(t *testing.T) {
}
func TestDisassemblyInReports(t *testing.T) {
+ if runtime.GOOS != targets.Linux {
+ t.Skipf("the test is meant to be run only under Linux")
+ }
+
archPath := filepath.Join("testdata", "linux", "decompile")
subFolders, err := ioutil.ReadDir(archPath)
if err != nil {