From 906172938afcf40418d78d825ee4cd2b9363d643 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Wed, 4 May 2016 22:34:52 +0200 Subject: stupidgcm: skip tests on Go 1.4 and older Quoting from the patch: We compare against Go's built-in GCM implementation. Since stupidgcm only supports 128-bit IVs and Go only supports that from 1.5 onward, we cannot run these tests on older Go versions. --- internal/stupidgcm/stupidgcm_test.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'internal/stupidgcm/stupidgcm_test.go') diff --git a/internal/stupidgcm/stupidgcm_test.go b/internal/stupidgcm/stupidgcm_test.go index dfd495d..82516b3 100644 --- a/internal/stupidgcm/stupidgcm_test.go +++ b/internal/stupidgcm/stupidgcm_test.go @@ -1,3 +1,10 @@ +// +build go1.5 +// = go 1.5 or higher +// +// We compare against Go's built-in GCM implementation. Since stupidgcm only +// supports 128-bit IVs and Go only supports that from 1.5 onward, we cannot +// run these tests on older Go versions. + package stupidgcm import ( -- cgit v1.2.3