tests: disable ARM unwinding tests if ARM is unavailable

Appease the buildbots for targets which do not build the ARM support by moving
the ARM specific test into a subdirectory and use the lit configuration to
disable them appropriately.

Thanks to chapuni and thakis for explaining how to do this!

llvm-svn: 198736
This commit is contained in:
Saleem Abdulrasool 2014-01-08 03:44:01 +00:00
parent d88affb53c
commit 7e34cc4dbd
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,4 @@
targets = set(config.root.targets_to_build.split())
if not 'ARM' in targets:
config.unsupported = True