From 7c95703c090757c4ca3f0792357e1595b03d6bca Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Thu, 13 Sep 2018 21:15:34 +0200 Subject: [PATCH] runtime: don't build semasleep_test on Plan 9 CL 135015 added TestSpuriousWakeupsNeverHangSemasleep. However, this test is failing on Plan 9 because syscall.SIGIO is not defined. This change excludes semasleep_test.go on Plan 9 Fixes #27662. Change-Id: I52f9f0fe9ec3c70da5d2f586a95debbc1fe568a1 Reviewed-on: https://go-review.googlesource.com/135315 Run-TryBot: David du Colombier <0intro@gmail.com> Reviewed-by: Emmanuel Odeke TryBot-Result: Gobot Gobot --- src/runtime/semasleep_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/semasleep_test.go b/src/runtime/semasleep_test.go index 4a8b4db338..5b2cc64483 100644 --- a/src/runtime/semasleep_test.go +++ b/src/runtime/semasleep_test.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//+build !nacl,!windows,!js +//+build !nacl,!plan9,!windows,!js package runtime_test