From: Mathias Gibbens Description: Delete three tests that depend on the `openSharedLib()` function, which is only defined during amd64 builds. Forwarded: not-needed diff --git a/internal/emit_cgo_test.go b/internal/emit_cgo_test.go deleted file mode 100644 index 7849649..0000000 --- a/internal/emit_cgo_test.go +++ /dev/null @@ -1,29 +0,0 @@ -//go:build !no_antithesis_sdk && linux && amd64 && cgo - -package internal - -import ( - "os" - "testing" -) - -func TestVoidstarHandlerErr1(t *testing.T) { - _, err := openSharedLib("path-not-exists") - if err == nil { - panic("Should failed to load library") - } -} - -func TestVoidstarHandlerErr2(t *testing.T) { - _, err := openSharedLib(os.Args[0]) - if err == nil { - panic("Should failed to load library") - } -} - -func TestVoidstarHandlerErr3(t *testing.T) { - _, err := openSharedLib("libc.so.6") - if err == nil { - panic("Should failed to load library") - } -}