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_test.go b/internal/emit_test.go index 490a5eb..1c772c5 100644 --- a/internal/emit_test.go +++ b/internal/emit_test.go @@ -47,24 +47,3 @@ func TestLocalHandlerNop(t *testing.T) { panic("Should not be outputting to file") } } - -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") - } -}