aboutsummaryrefslogtreecommitdiff
path: root/tests/matrix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/matrix')
-rw-r--r--tests/matrix/matrix_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/matrix/matrix_test.go b/tests/matrix/matrix_test.go
index e1bb243..55f3947 100644
--- a/tests/matrix/matrix_test.go
+++ b/tests/matrix/matrix_test.go
@@ -24,6 +24,7 @@ import (
"testing"
"github.com/rfjakob/gocryptfs/internal/cryptocore"
+ "github.com/rfjakob/gocryptfs/internal/nametransform"
"github.com/rfjakob/gocryptfs/internal/syscallcompat"
"github.com/rfjakob/gocryptfs/tests/test_helpers"
)
@@ -63,6 +64,10 @@ func TestMain(m *testing.M) {
fmt.Printf("Skipping Go GCM variant, Go installation is too old")
continue
}
+ if testcase.raw64 && !nametransform.HaveRaw64 {
+ fmt.Printf("Skipping raw64 test, Go installation is too old")
+ continue
+ }
if testing.Verbose() {
fmt.Printf("matrix: testcase = %#v\n", testcase)
}