]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/cgo/internal/swig,cmd/go: reenable swig tests on 386
authorMichael Anthony Knyszek <mknyszek@google.com>
Wed, 29 May 2024 20:00:18 +0000 (20:00 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 30 May 2024 04:04:13 +0000 (04:04 +0000)
CL 588938 skipped the tests because they were broken to unblock the
builders, but we're fairly certain the reason they were failing is
because we're missing g++-multilib. This change is intended to land once
CL 589175 is deployed.

Fixes #67698.

Change-Id: I5bb679290ae9ba9ab3bda9499cdf1eec649bc066
Reviewed-on: https://go-review.googlesource.com/c/go/+/589195
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
src/cmd/cgo/internal/swig/swig_test.go
src/cmd/go/testdata/script/list_swigcxx.txt

index 1bb52b6efb44be42ba00ca681b7f1ec155d5b6b9..41563138a7b3d844dded9ef22515ac8e26b4325f 100644 (file)
@@ -11,7 +11,6 @@ import (
        "os/exec"
        "path/filepath"
        "regexp"
-       "runtime"
        "strconv"
        "strings"
        "sync"
@@ -74,13 +73,6 @@ func mustHaveCxx(t *testing.T) {
                t.Skip("no C++ compiler")
        }
        testenv.MustHaveExecPath(t, string(args[0]))
-
-       // On the builders, the C++ toolchain doesn't quite work for these tests
-       // for 386 builders or on the clang builders. Thing is, these tests historically
-       // didn't even run on these builders *at all*, so just skip. See #67698.
-       if builder := testenv.Builder(); builder != "" && runtime.GOARCH == "386" {
-               t.Skip("test skipped on 386 on builders because of incompatibility with the C++ toolchain available on builders; see go.dev/issue/67698")
-       }
 }
 
 var (
index 10510f6299404763863f81267e2b47ac9e7fbffa..731c1e5a7bcf4f7955ae7ee77fa2bd368ce0e51b 100644 (file)
@@ -4,9 +4,6 @@
 [!exec:g++] skip
 [!cgo] skip
 
-# See go.dev/issue/67698.
-[GOARCH:386] skip
-
 # CompiledGoFiles should contain 4 files:
 #  a.go
 #  _cgo_import.go [gc only]