[AIX] Temporarily disable IncrementalProcessingTest partially

Temporarily disable IncrementalProcessingTest partially until the static
initialization implementation on AIX is recovered.

Differential Revision: https://reviews.llvm.org/D84880
This commit is contained in:
Xiangling Liao 2020-07-29 14:05:20 -04:00
parent ef4e665435
commit 4e6176fd91
1 changed files with 5 additions and 0 deletions

View File

@ -159,6 +159,11 @@ TEST(IncrementalProcessing, EmitCXXGlobalInitFunc) {
// First code should not end up in second module:
ASSERT_FALSE(M[2]->getFunction("funcForProg1"));
// TODO: Remove this after the static initialization frontend implementation
// is recovered on AIX.
if (compiler.getTarget().getTriple().isOSAIX())
return;
// Make sure global inits exist and are unique:
const Function* GlobalInit1 = getGlobalInit(*M[1]);
ASSERT_TRUE(GlobalInit1);