From d15122d3d6b67d42617ed9950ce5273d0dba64fd Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Tue, 1 Nov 2016 19:20:55 +0100 Subject: Add Go 1.4 compatibility layer for raw64 Using raw64 will not work, but at least it will compile. --- tests/matrix/matrix_test.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/matrix') 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) } -- cgit v1.2.3