Skip to content

Commit aa71680

Browse files
committed
1 parent d13da15 commit aa71680

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

llvm/utils/lit/tests/shtest-run-at-line.py

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
# Check that -a/-v/-vv makes the line number of the failing RUN command clear.
22

3-
# RUN: not %{lit} -a %{inputs}/shtest-run-at-line | FileCheck %s
4-
# RUN: not %{lit} -v %{inputs}/shtest-run-at-line | FileCheck %s
5-
# RUN: not %{lit} -vv %{inputs}/shtest-run-at-line | FileCheck %s
3+
4+
# This diagnostic sometimes appears in windows when using bash as an external
5+
# shell. Ignore it so we can strictly check the relevant output.
6+
#
7+
# DEFINE: %{filter} = \
8+
# DEFINE: grep -v 'bash.exe: warning: could not find /tmp, please create!'
9+
10+
# RUN: not %{lit} -a %{inputs}/shtest-run-at-line | %{filter} | FileCheck %s
11+
# RUN: not %{lit} -v %{inputs}/shtest-run-at-line | %{filter} | FileCheck %s
12+
# RUN: not %{lit} -vv %{inputs}/shtest-run-at-line | %{filter} | FileCheck %s
613
# END.
714

815

0 commit comments

Comments
 (0)