Imported Upstream version 6.10.0.49

Former-commit-id: 1d6753294b2993e1fbf92de9366bb9544db4189b
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2020-01-16 16:38:04 +00:00
parent d94e79959b
commit 468663ddbb
48518 changed files with 2789335 additions and 61176 deletions

View File

@ -0,0 +1,6 @@
# Check that we route argv[0] as it was written, instead of the resolved
# path. This is important for some tools, in particular '[' which at least on OS
# X only recognizes that it is in '['-mode when its argv[0] is exactly
# '['. Otherwise it will refuse to accept the trailing closing bracket.
#
# RUN: [ "A" = "A" ]

View File

@ -0,0 +1,5 @@
# Run a command that fails with error on stdout.
#
# RUN: echo "line 1: failed test output on stdout"
# RUN: echo "line 2: failed test output on stdout"
# RUN: cat "does-not-exist"

View File

@ -0,0 +1,5 @@
# Run a command that fails with error on stdout.
#
# RUN: "%{python}" %S/write-bad-encoding.py
# RUN: false

View File

@ -0,0 +1,2 @@
import lit.formats
config.test_format = lit.formats.ShTest(execute_external=True)

View File

@ -0,0 +1 @@
# RUN: true

View File

@ -0,0 +1,6 @@
#!/usr/bin/env python
import sys
getattr(sys.stdout, "buffer", sys.stdout).write(b"a line with bad encoding: \xc2.")
sys.stdout.flush()

View File

@ -0,0 +1,2 @@
# RUN: printf "line 1: failed test output on stdout\nline 2: failed test output on stdout"
# RUN: false

View File

@ -0,0 +1,9 @@
import lit.formats
config.name = 'shtest-format'
config.suffixes = ['.txt']
config.test_format = lit.formats.ShTest()
config.test_source_root = None
config.test_exec_root = None
config.target_triple = 'x86_64-unknown-unknown'
config.available_features.add('a-present-feature')
config.substitutions.append(('%{python}', sys.executable))

View File

@ -0,0 +1 @@
# Empty!

View File

@ -0,0 +1 @@
# RUN: true

View File

@ -0,0 +1,2 @@
RUN: true
REQUIRES-ANY: a-missing-feature, a-missing-feature-2

View File

@ -0,0 +1,2 @@
RUN: true
REQUIRES-ANY: a-missing-feature, a-present-feature

View File

@ -0,0 +1,5 @@
# REQUIRES with a false clause. Test should not run.
REQUIRES: true
REQUIRES: a-missing-feature, true
REQUIRES: true
RUN: false

View File

@ -0,0 +1,4 @@
# REQUIRES with only true clauses. Test should run.
REQUIRES: a-present-feature, true, !not-true
REQUIRES: true
RUN: true

View File

@ -0,0 +1,3 @@
# '*' only works in XFAIL
REQUIRES: *
RUN: false

View File

@ -0,0 +1,3 @@
# REQUIRES line that uses target triple, which doesn't work. Test should not run
REQUIRES: x86_64
RUN: false

View File

@ -0,0 +1,9 @@
# UNSUPPORTED with only false clauses. Test should run.
UNSUPPORTED: false
UNSUPPORTED: false, not-true
UNSUPPORTED: false
UNSUPPORTED: still-not-true
UNSUPPORTED: false
UNSUPPORTED: false
UNSUPPORTED: false
RUN: true

View File

@ -0,0 +1,4 @@
# UNSUPPORTED with a true clause. Test should not run.
UNSUPPORTED: false
UNSUPPORTED: false, false, false, _64-unk && a-present-feature, false
RUN: false

View File

@ -0,0 +1,3 @@
# '*' only works in XFAIL
UNSUPPORTED: *
RUN: false

View File

@ -0,0 +1 @@
config.unsupported = True

Some files were not shown because too many files have changed in this diff Show More