OSDN Git Service

[llvm-exegesis] Run unit tests on more platforms.
authorClement Courbet <courbet@google.com>
Fri, 13 Apr 2018 12:20:30 +0000 (12:20 +0000)
committerClement Courbet <courbet@google.com>
Fri, 13 Apr 2018 12:20:30 +0000 (12:20 +0000)
commit982445c2a2a21ba78f9bfc81d4a7377000b3a726
treee3869e8bf250dc448628e753ed0060b13d628dfa
parent47df3d352badb0beb29c583cc64fa3ef919a9c9a
[llvm-exegesis] Run unit tests on more platforms.

Summary:
 - Target-independent tests are run all the time.
 - Tests that codegen X86 code are run when X86 is in build targets.
 - Tests that run X86 jitted code are run only on X86 hosts.

Reviewers: gchatelet

Subscribers: mgorny, llvm-commits, tschuett

Differential Revision: https://reviews.llvm.org/D45614

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@330008 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/tools/CMakeLists.txt
unittests/tools/llvm-exegesis/CMakeLists.txt
unittests/tools/llvm-exegesis/X86/CMakeLists.txt [new file with mode: 0644]
unittests/tools/llvm-exegesis/X86/InMemoryAssemblerTest.cpp [moved from unittests/tools/llvm-exegesis/InMemoryAssemblerTest.cpp with 78% similarity]
unittests/tools/llvm-exegesis/X86/InstructionSnippetGeneratorTest.cpp [moved from unittests/tools/llvm-exegesis/InstructionSnippetGeneratorTest.cpp with 98% similarity]