File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 434
434
435
435
script .add_product (foundation )
436
436
437
- LIBS_DIRS = "LD_LIBRARY_PATH=${BUILD_DIR}/Foundation/ "
437
+ LIBS_DIRS = ""
438
438
if "XCTEST_BUILD_DIR" in Configuration .current .variables :
439
- LIBS_DIRS += ": ${XCTEST_BUILD_DIR}"
439
+ LIBS_DIRS += "${XCTEST_BUILD_DIR}:"
440
440
if "LIBDISPATCH_BUILD_DIR" in Configuration .current .variables :
441
- LIBS_DIRS += ":" + Configuration .current .variables ["LIBDISPATCH_BUILD_DIR" ]+ "/src/.libs"
441
+ LIBS_DIRS += Configuration .current .variables ["LIBDISPATCH_BUILD_DIR" ]+ "/src/.libs:"
442
+
443
+ Configuration .current .variables ["LIBS_DIRS" ] = LIBS_DIRS
442
444
443
445
extra_script = """
444
446
rule InstallFoundation
457
459
"""
458
460
extra_script += """
459
461
rule RunTestFoundation
460
- command = echo "**** RUNNING TESTS ****\\ nexecute:\\ nLD_LIBRARY_PATH=${LIBS_DIRS} ${BUILD_DIR}/TestFoundation/TestFoundation\\ n**** DEBUGGING TESTS ****\\ nexecute:\\ nLD_LIBRARY_PATH=${LIBS_DIRS} lldb ${BUILD_DIR}/TestFoundation/TestFoundation\\ n"
462
+ command = echo "**** RUNNING TESTS ****\\ nexecute:\\ nLD_LIBRARY_PATH=${BUILD_DIR}/Foundation/:${ LIBS_DIRS} ${BUILD_DIR}/TestFoundation/TestFoundation\\ n**** DEBUGGING TESTS ****\\ nexecute:\\ nLD_LIBRARY_PATH=${LIBS_DIRS} lldb ${BUILD_DIR}/TestFoundation/TestFoundation\\ n"
461
463
description = Building Tests
462
464
463
465
build ${BUILD_DIR}/.test: RunTestFoundation | TestFoundation
You can’t perform that action at this time.
0 commit comments