Skip to content

Commit e9e7054

Browse files
committed
disable test-repl-glibc.py while I investigate it
Tracked by: https://bugs.swift.org/browse/SR-1109
1 parent f185f7f commit e9e7054

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

lit.cfg

+12-4
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,19 @@ config.test_source_root = os.path.join(srcroot)
6666
# test_source_root: The root path where tests are executing.
6767
config.test_exec_root = "/tmp/swift-package-tests"
6868

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.
7074
#
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+
7482

7583
# On Darwin, always push SDKROOT in the environment.
7684
#

repl/test-repl-glibc.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Tests that importing Glibc works on Linux
22
#
3+
# XFAIL: linux
4+
# TRACKED BY: SR-1109
35
# REQUIRES: platform=Linux
46
# REQUIRES: have-pexpect
57
#

0 commit comments

Comments
 (0)