# Create a fake 'SDK' directory.
test_home = os.path.join(self.getBuildDir(), 'fake_home.noindex')
+ test_home = os.path.realpath(test_home)
macos_version = platform.mac_ver()[0]
sdk_dir = os.path.join(test_home, 'Library', 'Developer', 'Xcode',
'macOS DeviceSupport', macos_version)
"""Run the binary, stop at our unstripped function,
make sure the caller has synthetic symbols"""
- exe = self.getBuildArtifact(exe_name)
+ exe = os.path.realpath(self.getBuildArtifact(exe_name))
# Now strip the binary, but leave externals so we can break on dont_strip_me.
self.runBuildCommand(["strip", "-u", "-x", "-S", exe])
'ARCH': arch,
'ARCH_CFLAGS': '-target {} {}'.format(triple, version_min),
})
- exe_path = self.getBuildArtifact(exe_name)
+ exe_path = os.path.realpath(self.getBuildArtifact(exe_name))
cmd = [
'xcrun', 'simctl', 'spawn', '-s', deviceUDID, exe_path,
'print-pid', 'sleep:10'