File tree 2 files changed +14
-4
lines changed
2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -66,11 +66,19 @@ config.test_source_root = os.path.join(srcroot)
66
66
# test_source_root: The root path where tests are executing.
67
67
config .test_exec_root = "/tmp/swift-package-tests"
68
68
69
- # We don't make use of this yet.
69
+ # The triple is used during XFAIL processing. If the triple
70
+ # specified here matches one of the XFAIL triples, a failing
71
+ # test is allowed to fail. We don't actually need the whole
72
+ # thing, just enough to identify Linux, so for now only fill
73
+ # in enough to handle that.
70
74
#
71
- # FIXME: This is pretty compiler specific and probably should just be ripped out
72
- # of lit.
73
- config .target_triple = None
75
+ # TODO figure out how to grab the whole triple for the build
76
+ # target and stick it in here.
77
+ if platform .system () == 'Linux' :
78
+ config .target_triple = 'linux'
79
+ elif platform .system () == 'Darwin' :
80
+ config .target_triple = 'darwin'
81
+
74
82
75
83
# On Darwin, always push SDKROOT in the environment.
76
84
#
Original file line number Diff line number Diff line change 1
1
# Tests that importing Glibc works on Linux
2
2
#
3
+ # XFAIL: linux
4
+ # TRACKED BY: SR-1109
3
5
# REQUIRES: platform=Linux
4
6
# REQUIRES: have-pexpect
5
7
#
You can’t perform that action at this time.
0 commit comments