Skip to content

Commit

Permalink
[lit] follow-up 2380c1b, check stdout and stderr separately
Browse files Browse the repository at this point in the history
The error output is cached so it could be out of order with stdout in
some bots.
  • Loading branch information
Yuanfang Chen committed Sep 22, 2022
1 parent 2380c1b commit 5850b99
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions llvm/utils/lit/tests/googletest-detect-duplicate.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
# when it happens.

# RUN: %{lit} -v --order=random %{inputs}/googletest-detect-duplicate \
# RUN: %{inputs}/googletest-detect-duplicate 2>&1 | FileCheck %s
# 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: warning: Skip adding
# CHECK: -- Testing:
# CHECK: PASS: googletest-detect-duplicate :: [[PATH:[Dd]ummy[Ss]ub[Dd]ir/]][[FILE:OneTest\.py]]/0
# CHECK: Passed{{ *}}: 1

0 comments on commit 5850b99

Please sign in to comment.