From 0fe78d5669e37cf9c5b613ef56b4e5a2de975271 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Wed, 8 Jan 2014 03:44:01 +0000 Subject: [PATCH] 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 --- test/tools/llvm-readobj/ARM/lit.local.cfg | 4 ++++ test/tools/llvm-readobj/{arm-unwind.s => ARM/unwind.s} | 0 2 files changed, 4 insertions(+) create mode 100644 test/tools/llvm-readobj/ARM/lit.local.cfg rename test/tools/llvm-readobj/{arm-unwind.s => ARM/unwind.s} (100%) 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 00000000000..8a3ba96497e --- /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 similarity index 100% rename from test/tools/llvm-readobj/arm-unwind.s rename to test/tools/llvm-readobj/ARM/unwind.s -- 2.11.0