|
@@ -439,11 +439,13 @@ class Configuration(object):
|
|
|
self.config.available_features.add('c++filesystem')
|
|
|
static_env = os.path.join(self.libcxx_src_root, 'test', 'std',
|
|
|
'experimental', 'filesystem', 'Inputs', 'static_test_env')
|
|
|
+ static_env = os.path.realpath(static_env)
|
|
|
assert os.path.isdir(static_env)
|
|
|
self.cxx.compile_flags += ['-DLIBCXX_FILESYSTEM_STATIC_TEST_ROOT="%s"' % static_env]
|
|
|
|
|
|
dynamic_env = os.path.join(self.libcxx_obj_root, 'test',
|
|
|
'filesystem', 'Output', 'dynamic_env')
|
|
|
+ dynamic_env = os.path.realpath(dynamic_env)
|
|
|
if not os.path.isdir(dynamic_env):
|
|
|
os.makedirs(dynamic_env)
|
|
|
self.cxx.compile_flags += ['-DLIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT="%s"' % dynamic_env]
|