From df7f6947ba33144e6f1845faf37f62194d3f3c36 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 3 Aug 2018 21:24:35 +0200 Subject: [PATCH] pkg/runtest: skip 32-bit tests in short mode Fails on travis... --- pkg/runtest/run_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/runtest/run_test.go b/pkg/runtest/run_test.go index c856f58b..bc821b79 100644 --- a/pkg/runtest/run_test.go +++ b/pkg/runtest/run_test.go @@ -31,6 +31,10 @@ func test(t *testing.T, sysTarget *targets.Target) { if err != nil { t.Fatal(err) } + if testing.Short() && target.PtrSize == 4 { + // Building 32-bit binaries fails on travis (see comments in Makefile). + t.Skip("skipping in short mode") + } executor, err := csource.BuildFile(target, filepath.FromSlash("../../executor/executor.cc")) if err != nil { t.Fatal(err)