]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.simd] cmd/dist: disable API check on dev branch
authorJunyang Shao <shaojunyang@google.com>
Thu, 29 May 2025 19:05:40 +0000 (19:05 +0000)
committerDavid Chase <drchase@google.com>
Thu, 29 May 2025 19:45:09 +0000 (12:45 -0700)
Change-Id: I5a167e95a3275bfc39fddc793b0775976747dc9a
Reviewed-on: https://go-review.googlesource.com/c/go/+/677277
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>

src/cmd/dist/test.go

index 82c6ee4631ee87e55083bde841c291fc65df218b..a940fd12ed916821b2d53fb2e1be5c00942f03cc 100644 (file)
@@ -939,7 +939,9 @@ func (t *tester) registerTests() {
        // which is darwin,linux,windows/amd64 and darwin/arm64.
        //
        // The same logic applies to the release notes that correspond to each api/next file.
-       if goos == "darwin" || ((goos == "linux" || goos == "windows") && goarch == "amd64") {
+       //
+       // TODO: remove the exclusion of goexperiment simd right before dev.simd branch is merged to master.
+       if goos == "darwin" || ((goos == "linux" || goos == "windows") && (goarch == "amd64" && !strings.Contains(goexperiment, "simd"))) {
                t.registerTest("API release note check", &goTest{variant: "check", pkg: "cmd/relnote", testFlags: []string{"-check"}})
                t.registerTest("API check", &goTest{variant: "check", pkg: "cmd/api", timeout: 5 * time.Minute, testFlags: []string{"-check"}})
        }