[test] Run llvm/test/**/*.yaml & don't run llvm/test/**/*.cxx (not exist)
authorFangrui Song <maskray@google.com>
Wed, 8 Jul 2020 17:22:49 +0000 (10:22 -0700)
committerFangrui Song <maskray@google.com>
Wed, 8 Jul 2020 17:22:49 +0000 (10:22 -0700)
commite89c075f3251bc4778dceb890388483151f24659
tree3168ce3380b7bd7023333cfec21bd319c0e39f35
parent4ce56b8122219f7b79d75d33184e3ec890a6e222
[test] Run llvm/test/**/*.yaml & don't run llvm/test/**/*.cxx (not exist)

This patch extends D58439 (`llvm/test/{yaml2obj,obj2yaml}/**/*.yaml`) and runs all
`llvm/test/**/*.yaml`

Many directories have configured `.yaml` (see the deleted lit.local.cfg
files). Yet still some don't configure .yaml and have caused stale tests:

8c5825befb7bbb2e76f7eccedc6d3bf26e9b2a6a test/llvm-readobj
bdc3134e237737dd46b51cd1ecd41ecbbe9f921a test/ExecutionEngine

Just hoist .yaml to `llvm/test/lit.cfg.py`. Also delete .cxx which is
not used.  The number of tests running on my machine increases from 38304 to 38309.
The list of new tests:

```
ExecutionEngine/RuntimeDyld/X86/ELF_x86-64_none.yaml
Object/archive-error-tmp.txt
tools/llvm-ar/coff-weak.yaml
tools/llvm-readobj/ELF/verneed-flags.yaml
tools/obj2yaml/COFF/bss.s
```

Reviewed By: grimar, jhenderson, rupprecht

Differential Revision: https://reviews.llvm.org/D83350
13 files changed:
llvm/test/Object/lit.local.cfg [deleted file]
llvm/test/ObjectYAML/lit.local.cfg [deleted file]
llvm/test/lit.cfg.py
llvm/test/tools/llvm-as/lit.local.cfg
llvm/test/tools/llvm-dwarfdump/lit.local.cfg [deleted file]
llvm/test/tools/llvm-gsymutil/ARM_AArch64/lit.local.cfg
llvm/test/tools/llvm-gsymutil/X86/lit.local.cfg
llvm/test/tools/llvm-nm/lit.local.cfg
llvm/test/tools/llvm-objdump/lit.local.cfg [deleted file]
llvm/test/tools/llvm-readobj/COFF/lit.local.cfg [deleted file]
llvm/test/tools/llvm-xray/X86/lit.local.cfg [deleted file]
llvm/test/tools/obj2yaml/lit.local.cfg [deleted file]
llvm/test/tools/yaml2obj/lit.local.cfg [deleted file]