From 3a341a3dafd789f2a9c59a5ef9853437431de199 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Thu, 31 Oct 2019 20:57:36 +0100 Subject: [PATCH] cmd/gogio: add -tags nowayland to avoid Wayland in the X11 end-to-end test Signed-off-by: Elias Naur --- cmd/gogio/x11_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/gogio/x11_test.go b/cmd/gogio/x11_test.go index 4697d509..da96e417 100644 --- a/cmd/gogio/x11_test.go +++ b/cmd/gogio/x11_test.go @@ -65,7 +65,7 @@ func (d *X11TestDriver) Start(t_ *testing.T, path string, width, height int) (cl cleanups = append(cleanups, func() { os.RemoveAll(dir) }) bin := filepath.Join(dir, "red") - cmd := exec.Command("go", "build", "-o="+bin, path) + cmd := exec.Command("go", "build", "-tags", "nowayland", "-o="+bin, path) if out, err := cmd.CombinedOutput(); err != nil { d.t.Fatalf("could not build app: %s:\n%s", err, out) }