[libcxx-commits] [PATCH] D76092: Allow site-specific test_exec_root.

Dan Albert via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Mar 12 12:28:59 PDT 2020


danalbert created this revision.
danalbert added a reviewer: EricWF.
danalbert added a project: libc++.
Herald added a reviewer: mclow.lists.
Herald added a reviewer: libc++.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D76092

Files:
  libcxx/test/lit.cfg


Index: libcxx/test/lit.cfg
===================================================================
--- libcxx/test/lit.cfg
+++ libcxx/test/lit.cfg
@@ -38,7 +38,8 @@
         lit_config.warning('Creating temporary directory for object root: %s' %
                            obj_root)
 
-config.test_exec_root = os.path.join(obj_root, 'test')
+if not config.test_exec_root:
+    config.test_exec_root = os.path.join(obj_root, 'test')
 
 cfg_variant = getattr(config, 'configuration_variant', 'libcxx')
 if cfg_variant:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76092.250017.patch
Type: text/x-patch
Size: 514 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20200312/c74dba4f/attachment-0001.bin>


More information about the libcxx-commits mailing list