Minor bug found with metacall test on metacall_execution_path.
@@ -66,6 +66,9 @@ TEST_F(metacall_test, DefaultConstructor)
ASSERT_EQ((int) 0, (int) metacall_initialize());
+ /* Python */
+ #if defined(OPTION_BUILD_LOADERS_PY)
+ {
#if defined(WIN32) || defined(_WIN32)
DWORD length = MAX_PATH;
@@ -87,6 +90,8 @@ TEST_F(metacall_test, DefaultConstructor)
/* Lazy evaluation of execution paths (do not initialize Python runtime) */
ASSERT_EQ((int) 0, (int) metacall_execution_path("py", cwd));
+ }
+ #endif /* OPTION_BUILD_LOADERS_PY */
/* Native register */
{
