]> granicus.if.org Git - llvm/commitdiff
[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)
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

diff --git a/test/tools/obj2yaml/lit.local.cfg b/test/tools/obj2yaml/lit.local.cfg
new file mode 100644 (file)
index 0000000..db82cc2
--- /dev/null
@@ -0,0 +1 @@
+config.suffixes = ['.test', '.yaml']
index 8169b9f95e118cf2bb7e20d91d4fe1e3c1fb67d3..db82cc231003a163705d0af80e88a5e939f02214 100644 (file)
@@ -1 +1 @@
-config.suffixes = ['.yaml']
+config.suffixes = ['.test', '.yaml']