[ExpandMemCmp] Add lit.local.cfg
authorClement Courbet <courbet@google.com>
Tue, 10 Sep 2019 10:00:15 +0000 (10:00 +0000)
committerClement Courbet <courbet@google.com>
Tue, 10 Sep 2019 10:00:15 +0000 (10:00 +0000)
To prevent AArch64 tests from running when the target is not compiled.

Fixes r371502:

/home/buildslave/ps4-buildslave4/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/llvm.src/test/Transforms/ExpandMemCmp/AArch64/memcmp.ll:11:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[TMP0:%.*]] = bitcast i8* [[S1:%.*]] to i64*

llvm-svn: 371503

llvm/test/Transforms/ExpandMemCmp/AArch64/lit.local.cfg [new file with mode: 0644]

diff --git a/llvm/test/Transforms/ExpandMemCmp/AArch64/lit.local.cfg b/llvm/test/Transforms/ExpandMemCmp/AArch64/lit.local.cfg
new file mode 100644 (file)
index 0000000..cec29af
--- /dev/null
@@ -0,0 +1,3 @@
+if not 'AArch64' in config.root.targets:
+    config.unsupported = True
+