diff options
author | Tim Northover <Tim.Northover@arm.com> | 2013-02-18 11:08:37 +0000 |
---|---|---|
committer | Tim Northover <Tim.Northover@arm.com> | 2013-02-18 11:08:37 +0000 |
commit | f13a7e2b2164bc107dd8fa87b79d4c118ef81742 (patch) | |
tree | d4a3af053a1c217ee298baf359b2a764c5cf7e5f /test/Analysis | |
parent | e2952f956ab47e5defda2e26cf9a87d928459a57 (diff) | |
download | external_llvm-f13a7e2b2164bc107dd8fa87b79d4c118ef81742.zip external_llvm-f13a7e2b2164bc107dd8fa87b79d4c118ef81742.tar.gz external_llvm-f13a7e2b2164bc107dd8fa87b79d4c118ef81742.tar.bz2 |
AArch64: adjust tests which rely on a default JIT
Profiling tests *do* need a JIT. They'll pass if a cross-compiler targetting
AArch64 by default has been built, but fail if a native AArch64 compiler has
been build. Therefore XFAIL is inappropriate and we mark them unsupported.
ExecutionEngine tests are JIT by definition, they should also be unsupported.
Transforms/LICM only uses the interpreter to check the output is still sane
after optimisation. It can be switched to use an interpreter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175433 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis')
-rw-r--r-- | test/Analysis/Profiling/lit.local.cfg | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Analysis/Profiling/lit.local.cfg b/test/Analysis/Profiling/lit.local.cfg index 19eebc0..d507d3f 100644 --- a/test/Analysis/Profiling/lit.local.cfg +++ b/test/Analysis/Profiling/lit.local.cfg @@ -1 +1,13 @@ config.suffixes = ['.ll', '.c', '.cpp'] + +def getRoot(config): + if not config.parent: + return config + return getRoot(config.parent) + +root = getRoot(config) + +# Most profiling tests rely on a JIT being present to gather their data; AArch64 +# doesn't have any JIT at present so they will fail when run there. +if root.host_arch in ['AArch64']: + config.unsupported = True |