cmd/gogio: add -tags nowayland to avoid Wayland in the X11 end-to-end test

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-10-31 20:57:36 +01:00
parent f9a3d35184
commit 3a341a3daf
+1 -1
View File
@@ -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)
}