From: James Henderson Date: Wed, 20 Feb 2019 15:13:44 +0000 (+0000) Subject: [obj2yaml][yaml2obj]Locate all .yaml and .test tests X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ef5a1540369a46bae55fe9436dc0b273f4f5211;p=llvm [obj2yaml][yaml2obj]Locate all .yaml and .test tests A number of the obj2yaml tests end in .yaml, but .yaml is not a default file type picked up by lit, so these tests weren't being run when running the testsuite as a whole (they could be run explicitly still). This change adds a lit local config file to specify the known file types for obj2yaml tests (.yaml and .test). Additionally, it fixes the yaml2obj config file to allow both .test and .yaml suffixed tests (previously, the two tests ending in '.test' were not being run). Reviewed by: grimar Differential Revision: https://reviews.llvm.org/D58439 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@354474 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/tools/obj2yaml/lit.local.cfg b/test/tools/obj2yaml/lit.local.cfg new file mode 100644 index 00000000000..db82cc23100 --- /dev/null +++ b/test/tools/obj2yaml/lit.local.cfg @@ -0,0 +1 @@ +config.suffixes = ['.test', '.yaml'] diff --git a/test/tools/yaml2obj/lit.local.cfg b/test/tools/yaml2obj/lit.local.cfg index 8169b9f95e1..db82cc23100 100644 --- a/test/tools/yaml2obj/lit.local.cfg +++ b/test/tools/yaml2obj/lit.local.cfg @@ -1 +1 @@ -config.suffixes = ['.yaml'] +config.suffixes = ['.test', '.yaml']