[dexter] Force dexter tests to use the host triple
authorOCHyams <orlando.hyams@sony.com>
Wed, 24 Feb 2021 11:09:18 +0000 (11:09 +0000)
committerOCHyams <orlando.hyams@sony.com>
Wed, 24 Feb 2021 11:11:17 +0000 (11:11 +0000)
commit52bc1c1bd5397ef6ff37214a0186a47aa3348b72
tree870f3210201af6095d9e5e3a0907a0d499f3509c
parentc94ecf3f81ca42a98b3b279a7b210b67715f1c41
[dexter] Force dexter tests to use the host triple

If the default target and host triple don't match then print the following
message when the lit test runs:

    Forcing dexter tests to use host triple {HOST_TRIPLE}.

If we can't target the host arch then, when lit runs, we mark
the dexter test directories as UNSUPPORTED and print the message:

    Host triple {HOST_TRIPLE} not supported. Skipping dexter tests in
    the debuginfo-tests project.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D96494
debuginfo-tests/dexter-tests/lit.local.cfg [new file with mode: 0644]
debuginfo-tests/dexter/feature_tests/lit.local.cfg
debuginfo-tests/lit.cfg.py
debuginfo-tests/lit.site.cfg.py.in