Skip to content

Commit 2a5b04e

Browse files
Merge pull request #8896 from adrian-prantl/cherry-pick-next-Make-test-more-robust-against-over-eager-module-map-path-resolution
[Cherry-pick into next] Make test more robust against over-eager module map path resolution.
2 parents 148fa5a + 8324c19 commit 2a5b04e

File tree

4 files changed

+2
-1
lines changed

4 files changed

+2
-1
lines changed

lldb/test/API/lang/swift/dwarfimporter/Objective-C/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ SWIFT_OBJC_INTEROP = 1
33
SWIFT_SOURCES := main.swift
44
OBJC_SOURCES := impl.m
55
SWIFTFLAGS_EXTRAS := -I$(shell pwd)/include
6+
CFLAGS_EXTRAS := -I$(shell pwd)/include
67

78
include Makefile.rules

lldb/test/API/lang/swift/dwarfimporter/Objective-C/TestSwiftDWARFImporterObjC.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class TestSwiftDWARFImporterObjC(lldbtest.TestBase):
2323

2424
def build(self):
2525
include = self.getBuildArtifact('include')
26-
inputs = self.getSourcePath('Inputs')
26+
inputs = self.getSourcePath(os.path.join('Inputs', 'module'))
2727
lldbutil.mkdir_p(include)
2828
import shutil
2929
for f in ['module.modulemap', 'objc-header.h']:

0 commit comments

Comments
 (0)