From 896f44f055db74ba1c67ee6b177f4d0a5d98624f Mon Sep 17 00:00:00 2001 From: Alan Donovan Date: Fri, 2 Nov 2018 15:08:45 -0400 Subject: [PATCH] go/analysis/.../unitchecker: suppress test unless go1.12 Change-Id: I1af89b9e077cf7eddeeeed72e66cd88f650492a2 Reviewed-on: https://go-review.googlesource.com/c/147197 Reviewed-by: Michael Matloob Run-TryBot: Michael Matloob --- go/analysis/internal/unitchecker/unitchecker_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/go/analysis/internal/unitchecker/unitchecker_test.go b/go/analysis/internal/unitchecker/unitchecker_test.go index 872275f1..a00ce4f2 100644 --- a/go/analysis/internal/unitchecker/unitchecker_test.go +++ b/go/analysis/internal/unitchecker/unitchecker_test.go @@ -2,8 +2,13 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build go1.12 + package unitchecker_test +// This test depends on go1.12 features such as go vet's support for +// GOVETTOOL, and the (*os/exec.ExitError).ExitCode method. + import ( "flag" "log"