mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-11 17:08:42 +00:00
[lit] Fix a test fail under windows
Seen at <https://lab.llvm.org/buildbot/#/builders/216/builds/27531/steps/7/logs/FAIL__lit___shtest-run-at-line_py>. Discussed starting at <https://github.com/llvm/llvm-project/pull/66408#issuecomment-1726448368>.
This commit is contained in:
parent
d13da154a7
commit
aa71680f29
@ -1,8 +1,15 @@
|
||||
# Check that -a/-v/-vv makes the line number of the failing RUN command clear.
|
||||
|
||||
# RUN: not %{lit} -a %{inputs}/shtest-run-at-line | FileCheck %s
|
||||
# RUN: not %{lit} -v %{inputs}/shtest-run-at-line | FileCheck %s
|
||||
# RUN: not %{lit} -vv %{inputs}/shtest-run-at-line | FileCheck %s
|
||||
|
||||
# This diagnostic sometimes appears in windows when using bash as an external
|
||||
# shell. Ignore it so we can strictly check the relevant output.
|
||||
#
|
||||
# DEFINE: %{filter} = \
|
||||
# DEFINE: grep -v 'bash.exe: warning: could not find /tmp, please create!'
|
||||
|
||||
# RUN: not %{lit} -a %{inputs}/shtest-run-at-line | %{filter} | FileCheck %s
|
||||
# RUN: not %{lit} -v %{inputs}/shtest-run-at-line | %{filter} | FileCheck %s
|
||||
# RUN: not %{lit} -vv %{inputs}/shtest-run-at-line | %{filter} | FileCheck %s
|
||||
# END.
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user