[PATCH] D37604: Disable debuginfo-tests for non-native configurations

Paul Robinson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 7 16:48:26 PDT 2017


probinson created this revision.

This requires the host triple to match the default target triple, in order to run debuginfo-tests.
It's possible this is too restrictive, but offhand it seems like a reasonable starting point.


https://reviews.llvm.org/D37604

Files:
  lit.local.cfg


Index: lit.local.cfg
===================================================================
--- lit.local.cfg
+++ lit.local.cfg
@@ -0,0 +1,3 @@
+# debuginfo-tests are not expected to pass in a cross-compilation setup.
+if 'native' not in config.available_features:
+    config.unsupported = True


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37604.114283.patch
Type: text/x-patch
Size: 293 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170907/8626eddc/attachment.bin>


More information about the cfe-commits mailing list