disable test-repl-glibc.py while I investigate it
Tracked by:
https://bugs.swift.org/browse/SR-1109
diff --git a/lit.cfg b/lit.cfg
index 985dad8..464ad64 100644
--- a/lit.cfg
+++ b/lit.cfg
@@ -66,11 +66,19 @@
# test_source_root: The root path where tests are executing.
config.test_exec_root = "/tmp/swift-package-tests"
-# We don't make use of this yet.
+# The triple is used during XFAIL processing. If the triple
+# specified here matches one of the XFAIL triples, a failing
+# test is allowed to fail. We don't actually need the whole
+# thing, just enough to identify Linux, so for now only fill
+# in enough to handle that.
#
-# FIXME: This is pretty compiler specific and probably should just be ripped out
-# of lit.
-config.target_triple = None
+# TODO figure out how to grab the whole triple for the build
+# target and stick it in here.
+if platform.system() == 'Linux':
+ config.target_triple = 'linux'
+elif platform.system() == 'Darwin':
+ config.target_triple = 'darwin'
+
# On Darwin, always push SDKROOT in the environment.
#
diff --git a/repl/test-repl-glibc.py b/repl/test-repl-glibc.py
index 87972c5..457b14f 100644
--- a/repl/test-repl-glibc.py
+++ b/repl/test-repl-glibc.py
@@ -1,5 +1,7 @@
# Tests that importing Glibc works on Linux
#
+# XFAIL: linux
+# TRACKED BY: SR-1109
# REQUIRES: platform=Linux
# REQUIRES: have-pexpect
#