mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-18 21:16:05 +00:00

Summary: rL257221 attempted to run lit's own test suite continuously, but that commit was reverted because lit's test suite does not pass on Windows. Because lit's tests do not run continuously, they often regress. In order to un-revert rL257221, mark lit tests that fail as XFAIL for Windows platforms. Test Plan: On a Windows development environment, follow the instructions in utils/lit/README.txt to run lit's test suite: ``` utils/lit/lit.py \ --path /path/to/your/llvm/build/bin \ utils/lit/tests ``` Verify that the test suite is run and a successful exit code is returned. Reviewers: mgorny, rnk, delcypher, beanz Reviewed By: rnk Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D35879 llvm-svn: 309123
32 lines
858 B
Python
32 lines
858 B
Python
# Check the various features of the ShTest format.
|
|
#
|
|
# PR33938
|
|
# XFAIL: windows
|
|
#
|
|
# RUN: not %{lit} -j 1 -v %{inputs}/shtest-output-printing > %t.out
|
|
# RUN: FileCheck --input-file %t.out %s
|
|
#
|
|
# END.
|
|
|
|
# CHECK: -- Testing:
|
|
|
|
# CHECK: FAIL: shtest-output-printing :: basic.txt
|
|
# CHECK-NEXT: *** TEST 'shtest-output-printing :: basic.txt' FAILED ***
|
|
# CHECK-NEXT: Script:
|
|
# CHECK-NEXT: --
|
|
# CHECK: --
|
|
# CHECK-NEXT: Exit Code: 1
|
|
#
|
|
# CHECK: Command Output
|
|
# CHECK-NEXT: --
|
|
# CHECK-NEXT: $ "true"
|
|
# CHECK-NEXT: $ "echo" "hi"
|
|
# CHECK-NEXT: # command output:
|
|
# CHECK-NEXT: hi
|
|
#
|
|
# CHECK: $ "wc" "missing-file"
|
|
# CHECK-NEXT: # redirected output from '{{.*}}/basic.txt.tmp.out':
|
|
# CHECK-NEXT: missing-file{{.*}} No such file or directory
|
|
# CHECK: note: command had no output on stdout or stderr
|
|
# CHECK-NEXT: error: command failed with exit status: 1
|