Skip to content

Commit 45ea78e

Browse files
authored
Merge pull request #3159 from rintaro/unittest-build-mode
[test] Get Swift-Unit test suite to work
2 parents 01e1b01 + 45acd47 commit 45ea78e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Unit/lit.site.cfg.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
## Autogenerated by LLVM/Swift configuration.
22
# Do not edit!
3-
config.llvm_src_root = "@LLVM_SOURCE_DIR@"
3+
config.llvm_src_root = "@LLVM_MAIN_SRC_DIR@"
44
config.llvm_obj_root = "@LLVM_BINARY_DIR@"
55
config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
66
config.llvm_libs_dir = "@LLVM_LIBS_DIR@"
7-
config.build_mode = lit_config.params.get('build_mode', "@LLVM_BUILD_MODE@")
7+
config.build_mode = lit_config.params.get('build_mode', "@SWIFT_BUILD_MODE@")
88
config.swift_obj_root = "@SWIFT_BINARY_DIR@"
99
config.target_triple = "@TARGET_TRIPLE@"
1010

0 commit comments

Comments
 (0)