From 8ac862f50a27525f48fb67405245315d3f400b22 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Thu, 2 Jun 2016 16:39:17 +0200 Subject: [PATCH] build: Use purego build tag on tests --- build.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.go b/build.go index 11c303f1..1d5df3e4 100644 --- a/build.go +++ b/build.go @@ -339,9 +339,9 @@ func test(pkgs ...string) { } if useRace { - runPrint("go", append([]string{"test", "-short", "-race", "-timeout", "60s"}, pkgs...)...) + runPrint("go", append([]string{"test", "-short", "-race", "-timeout", "60s", "-tags", "purego"}, pkgs...)...) } else { - runPrint("go", append([]string{"test", "-short", "-timeout", "60s"}, pkgs...)...) + runPrint("go", append([]string{"test", "-short", "-timeout", "60s", "-tags", "purego"}, pkgs...)...) } }