mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-03 13:46:06 +00:00
13 lines
502 B
Python
13 lines
502 B
Python
# Check we don't add a GoogleTest binary more than once and issue a warning
|
|
# when it happens.
|
|
|
|
# RUN: %{lit} -v --order=random %{inputs}/googletest-detect-duplicate \
|
|
# RUN: %{inputs}/googletest-detect-duplicate 2> %t.warn | FileCheck %s
|
|
# RUN: FileCheck --check-prefix=CHECK-WARN < %t.warn %s
|
|
|
|
# CHECK-WARN: warning: Skip adding
|
|
|
|
# CHECK: -- Testing:
|
|
# CHECK: PASS: googletest-detect-duplicate :: [[PATH:[Dd]ummy[Ss]ub[Dd]ir/]][[FILE:OneTest\.py]]/0
|
|
# CHECK: Passed{{ *}}: 1
|