Index: libcxx/test/configs/cmake-bridge.cfg.in =================================================================== --- libcxx/test/configs/cmake-bridge.cfg.in +++ libcxx/test/configs/cmake-bridge.cfg.in @@ -22,7 +22,7 @@ config.test_source_root = os.path.join('@LIBCXX_SOURCE_DIR@', 'test') config.test_format = libcxx.test.format.CxxStandardLibraryTest() config.recursiveExpansionLimit = 10 -config.test_exec_root = '@CMAKE_BINARY_DIR@' +config.test_exec_root = os.path.join('@CMAKE_BINARY_DIR@', 'test') # Add substitutions for bootstrapping the test suite configuration config.substitutions.append(('%{cxx}', shlex.quote('@CMAKE_CXX_COMPILER@'))) Index: libcxx/test/support/filesystem_test_helper.h =================================================================== --- libcxx/test/support/filesystem_test_helper.h +++ libcxx/test/support/filesystem_test_helper.h @@ -31,8 +31,8 @@ # include #endif -_LIBCPP_PUSH_MACROS -#include <__undef_macros> +#undef min +#undef max namespace utils { #ifdef _WIN32 @@ -736,6 +736,4 @@ return fs::path(); } -_LIBCPP_POP_MACROS - #endif /* FILESYSTEM_TEST_HELPER_H */