[obj2yaml][yaml2obj]Locate all .yaml and .test tests
authorJames Henderson <jh7370@my.bristol.ac.uk>
Wed, 20 Feb 2019 15:13:44 +0000 (15:13 +0000)
committerJames Henderson <jh7370@my.bristol.ac.uk>
Wed, 20 Feb 2019 15:13:44 +0000 (15:13 +0000)
commit1498a59d9b283ef54e403e13da369f669530cb88
treef5d5c43d7f015678a335115fd8e619b3e33d20ba
parent6128ac5a8fbb890193168caf1896d4c3e16c36ca
[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

llvm-svn: 354474
llvm/test/tools/obj2yaml/lit.local.cfg [new file with mode: 0644]
llvm/test/tools/yaml2obj/lit.local.cfg