add support for utils::guesspath() on macos
This commit is contained in:
@ -722,7 +722,7 @@ TEST(Utils, guesspath)
|
||||
{
|
||||
char buf[256];
|
||||
FILE *fp = fopen("test_guesspath.txt", "w");
|
||||
#if defined(__linux__)
|
||||
#if defined(__linux__) || (__APPLE__)
|
||||
const char *path = utils::guesspath(buf, sizeof(buf), fp);
|
||||
ASSERT_THAT(path, EndsWith("test_guesspath.txt"));
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user