Skip to content

Commit

Permalink
cgotest: fix test build on unsupported platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
tklauser committed Apr 25, 2024
1 parent 005dc51 commit 3423580
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions cgotest/sysconf_cgotest_other.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Copyright 2024 Tobias Klauser. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris

package sysconf_cgotest

import (
"runtime"
"testing"
)

func testSysconfCgoMatch(t *testing.T) {
t.Skipf("skipping cgotest on unsupported platform %s", runtime.GOOS)
}

0 comments on commit 3423580

Please sign in to comment.