]> granicus.if.org Git - llvm/commit
[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)
commit6ef5a1540369a46bae55fe9436dc0b273f4f5211
treef987a65ac1cefb9fa48466e48591fd45d93f479d
parentcc9eda48b8637ffc7123f14c68e51e8f88bc27e7
[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
test/tools/obj2yaml/lit.local.cfg [new file with mode: 0644]
test/tools/yaml2obj/lit.local.cfg