Merge commit 'b5fd72cfbc1892d38a4dd2ca6fbd4b743e85fa08' into HEAD
diff --git a/README.txt b/README.txt
index fc88432..2d64f00 100644
--- a/README.txt
+++ b/README.txt
@@ -8,4 +8,3 @@
 terms of the license agreement found in LICENSE.txt.
 
 ================================
-
diff --git a/test/lit.common.cfg b/test/lit.common.cfg
index f19fde2..64ad426 100644
--- a/test/lit.common.cfg
+++ b/test/lit.common.cfg
@@ -75,6 +75,9 @@
 if re.match(r'^x86_64.*-linux', config.target_triple):
       config.available_features.add("x86_64-linux")
 
+if lit.util.isMacOSTriple(config.target_triple):
+   config.available_features.add('darwin')
+
 # Use ugly construction to explicitly prohibit "clang", "clang++" etc.
 # in RUN lines.
 config.substitutions.append(