aboutsummaryrefslogtreecommitdiffstats
path: root/test/lit.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit.cfg')
-rw-r--r--test/lit.cfg4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/lit.cfg b/test/lit.cfg
index 1b6fa54..9ac7e7a 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -297,7 +297,9 @@ if config.have_zlib == "1":
config.available_features.add("zlib")
# Native compilation: host arch == target arch
-if config.host_arch in config.target_triple:
+# FIXME: Consider cases that target can be executed
+# even if host_triple were different from target_triple.
+if config.host_triple == config.target_triple:
config.available_features.add("native")
# llc knows whether he is compiled with -DNDEBUG.