diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-01-08 03:44:01 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-01-08 03:44:01 +0000 |
commit | 0fe78d5669e37cf9c5b613ef56b4e5a2de975271 (patch) | |
tree | fb7287c98432e0faf2fa9b8ac3caf384b2dcbdac /test/tools | |
parent | cb914a32d6962ba1d2cb8dfdb84a6df79cd27633 (diff) | |
download | llvm-0fe78d5669e37cf9c5b613ef56b4e5a2de975271.tar.gz llvm-0fe78d5669e37cf9c5b613ef56b4e5a2de975271.tar.bz2 llvm-0fe78d5669e37cf9c5b613ef56b4e5a2de975271.tar.xz |
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!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198736 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tools')
-rw-r--r-- | test/tools/llvm-readobj/ARM/lit.local.cfg | 4 | ||||
-rw-r--r-- | test/tools/llvm-readobj/ARM/unwind.s (renamed from test/tools/llvm-readobj/arm-unwind.s) | 0 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/tools/llvm-readobj/ARM/lit.local.cfg b/test/tools/llvm-readobj/ARM/lit.local.cfg new file mode 100644 index 0000000000..8a3ba96497 --- /dev/null +++ b/test/tools/llvm-readobj/ARM/lit.local.cfg @@ -0,0 +1,4 @@ +targets = set(config.root.targets_to_build.split()) +if not 'ARM' in targets: + config.unsupported = True + diff --git a/test/tools/llvm-readobj/arm-unwind.s b/test/tools/llvm-readobj/ARM/unwind.s index 7d23a05f1a..7d23a05f1a 100644 --- a/test/tools/llvm-readobj/arm-unwind.s +++ b/test/tools/llvm-readobj/ARM/unwind.s |