plugins also have a .so suffix on MacOS (unlike shared libs)

This commit is contained in:
Axel Kohlmeyer 2021-04-04 20:57:29 -04:00
parent 5e0b017d30
commit d1b6aaa3f3
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 0 additions and 4 deletions

View File

@ -328,11 +328,7 @@ TEST_F(SimpleCommandsTest, Units)
#if defined(LMP_PLUGIN)
TEST_F(SimpleCommandsTest, Plugin)
{
#if defined(__APPLE__)
std::string loadfmt("plugin load {}plugin.dylib");
#else
std::string loadfmt("plugin load {}plugin.so");
#endif
::testing::internal::CaptureStdout();
lmp->input->one(fmt::format(loadfmt, "hello"));
auto text = ::testing::internal::GetCapturedStdout();