forked from lijiext/lammps
plugins also have a .so suffix on MacOS (unlike shared libs)
This commit is contained in:
parent
5e0b017d30
commit
d1b6aaa3f3
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue