diff options
Diffstat (limited to 'cmd/mbf/main_test.go')
| -rw-r--r-- | cmd/mbf/main_test.go | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/cmd/mbf/main_test.go b/cmd/mbf/main_test.go index 83dc9a98..76e8d094 100644 --- a/cmd/mbf/main_test.go +++ b/cmd/mbf/main_test.go @@ -8,11 +8,6 @@ import ( "hakurei.app/internal/rosa" ) -func TestMain(m *testing.M) { - rosa.Native().DropCaches("", rosa.OptLLVMNoLTO) - os.Exit(m.Run()) -} - func TestCureAll(t *testing.T) { t.Parallel() const env = "ROSA_TEST_DAEMON" @@ -35,8 +30,8 @@ func TestCureAll(t *testing.T) { } }) - for _, handle := range rosa.Native().Collect() { - _, a := rosa.Native().Std().MustLoad(handle) + for _, handle := range rosa.Collect() { + _, a := rosa.MustLoad(handle) t.Run(handle.String(), func(t *testing.T) { _, err := cureRemote(t.Context(), &addr, a, 0) if err != nil { |
