diff options
author | Jakob Unterwurzacher | 2018-03-05 23:11:27 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2018-03-05 23:11:27 +0100 |
commit | 1789a5ea5b5f358eee18f869fb06ca25b3fd7a21 (patch) | |
tree | 6535a1668b9f79823f2f7298eac6f3fbd31cf9e5 /tests | |
parent | 35192abb57636a8c4d6a6419aa6fd43f04ac2385 (diff) |
tests: matrix_test: skip cases when without_openssl is set
Fixes test-without-openssl.bash.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/matrix/matrix_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/matrix/matrix_test.go b/tests/matrix/matrix_test.go index 77af0ab..f492001 100644 --- a/tests/matrix/matrix_test.go +++ b/tests/matrix/matrix_test.go @@ -23,6 +23,7 @@ import ( "syscall" "testing" + "github.com/rfjakob/gocryptfs/internal/stupidgcm" "github.com/rfjakob/gocryptfs/internal/syscallcompat" "github.com/rfjakob/gocryptfs/tests/test_helpers" ) @@ -58,6 +59,9 @@ func TestMain(m *testing.M) { // Make "testing.Verbose()" return the correct value flag.Parse() for _, testcase = range matrix { + if testcase.openssl == "true" && stupidgcm.BuiltWithoutOpenssl { + continue + } if testing.Verbose() { fmt.Printf("matrix: testcase = %#v\n", testcase) } |