File tree Expand file tree Collapse file tree 3 files changed +7
-10
lines changed
packages/Python/lldbsuite/test Expand file tree Collapse file tree 3 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -1200,14 +1200,6 @@ def run_suite():
1200
1200
build_dir = configuration .test_build_dir
1201
1201
lldbutil .mkdir_p (build_dir )
1202
1202
1203
- # Create a marker for Spotlight to never index $BUILD_DIR. LLDB
1204
- # queries Spotlight to locate .dSYM bundles based on the UUID
1205
- # embedded in a binary, and because the UUID is a hash of filename
1206
- # and .text section, there *will* be conflicts inside $BUILD_DIR.
1207
- if platform .system () == "Darwin" :
1208
- with open (os .path .join (build_dir , '.metadata_never_index' ), 'w+' ):
1209
- pass
1210
-
1211
1203
target_platform = lldb .DBG .GetSelectedPlatform ().GetTriple ().split ('-' )[2 ]
1212
1204
1213
1205
checkLibcxxSupport ()
Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ def create_parser():
163
163
'--build-dir' ,
164
164
dest = 'test_build_dir' ,
165
165
metavar = 'Test build directory' ,
166
- default = 'lldb-test-build' ,
166
+ default = 'lldb-test-build.noindex ' ,
167
167
help = 'The root build directory for the tests. It will be removed before running.' )
168
168
169
169
# Configuration options
Original file line number Diff line number Diff line change @@ -57,13 +57,18 @@ set(LLDB_TEST_USER_ARGS
57
57
""
58
58
CACHE STRING "Specify additional arguments to pass to test runner. For example: '-C gcc -C clang -A i386 -A x86_64'" )
59
59
60
+ # The .nodindex suffix is a marker for Spotlight to never index the
61
+ # build directory. LLDB queries Spotlight to locate .dSYM bundles
62
+ # based on the UUID embedded in a binary, and because the UUID is a
63
+ # hash of filename and .text section, there *will* be conflicts inside
64
+ # the build directory.
60
65
set (LLDB_TEST_COMMON_ARGS
61
66
--arch=${LLDB_TEST_ARCH}
62
67
--executable $< TARGET_FILE:lldb>
63
68
-s
64
69
${CMAKE_BINARY_DIR} /lldb-test-traces
65
70
--build-dir
66
- ${CMAKE_BINARY_DIR} /lldb-test-build
71
+ ${CMAKE_BINARY_DIR} /lldb-test-build.noindex
67
72
-S nm
68
73
-u CXXFLAGS
69
74
-u CFLAGS
You can’t perform that action at this time.
0 commit comments