1 # Check we don't add a GoogleTest binary more than once and issue a warning
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
11 # CHECK: PASS: googletest-detect-duplicate :: [[PATH:[Dd]ummy[Ss]ub[Dd]ir/]][[FILE:OneTest\.py]]/0
12 # CHECK: Passed{{ *}}: 1