-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cgotest: fix test build on unsupported platforms
- Loading branch information
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
} |