brintos

brintos / llvm-project-archived public Read only

0
0
Text · 852 B · 465cba1 Raw
21 lines · plain
1# Windows command prompt doesn't support ANSI escape sequences.2# UNSUPPORTED: system-windows3 4# RUN: not %lld --color-diagnostics /nosuchfile 2>&1 \5# RUN:   | FileCheck -check-prefix=COLOR %s6# RUN: not %lld --color-diagnostics=always /nosuchfile 2>&1 \7# RUN:   | FileCheck -check-prefix=COLOR %s8 9# COLOR: {{lld: .\[0;31merror: .\[0mcannot open /nosuchfile}}10 11# RUN: not %lld --color-diagnostics=foobar 2>&1 | FileCheck -check-prefix=ERR %s12# ERR: unknown option: --color-diagnostics=foobar13 14# RUN: not %lld /nosuchfile 2>&1 | FileCheck -check-prefix=NOCOLOR %s15# RUN: not %lld --color-diagnostics=never /nosuchfile 2>&1 \16# RUN:   | FileCheck -check-prefix=NOCOLOR %s17# RUN: not %lld --color-diagnostics=always --no-color-diagnostics \18# RUN:   /nosuchfile 2>&1 | FileCheck -check-prefix=NOCOLOR %s19 20# NOCOLOR: lld: error: cannot open /nosuchfile21