Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / utils / lit / tests / googletest-detect-duplicate.py
blobdab75bca4e8b3ff515801fcc3837763b276bef8b
1 # Check we don't add a GoogleTest binary more than once and issue a warning
2 # when it happens.
4 # RUN: %{lit} -v --order=random %{inputs}/googletest-detect-duplicate \
5 # RUN: %{inputs}/googletest-detect-duplicate 2> %t.warn | FileCheck %s
6 # RUN: FileCheck --check-prefix=CHECK-WARN < %t.warn %s
8 # CHECK-WARN: warning: Skip adding
10 # CHECK: -- Testing:
11 # CHECK: PASS: googletest-detect-duplicate :: [[PATH:[Dd]ummy[Ss]ub[Dd]ir/]][[FILE:OneTest\.py]]/0
12 # CHECK: Passed{{ *}}: 1