llvm-project/llvm/utils/lit/tests/Inputs
Julian Lettner 1e8900cc82 [lit] Fix test that relied on "single process" mode
The shtest-inject test relied on being executed in "single process" mode
and started to fail with a `PicklingError` after it was removed:
```
  Can't pickle <class 'lit.TestingConfig.CustomFormat'>: attribute
  lookup lit.TestingConfig.CustomFormat failed
```

This happened because the test config has to be serialized to the worker
process, but apparently the `CustomFormat` class defined inline is not
serializable.

This change allows passing the tested functionality (preamble_commands)
directly to `lit.formats.ShTest` so we can use it directly in the test.
2020-03-30 21:58:48 -07:00
..
allow-retries [lit] Add builtin support for flaky tests in lit 2020-03-18 18:04:01 -04:00
config-map-discovery
discovery
exec-discovery
exec-discovery-in-tree
fake-externals
googletest-format
googletest-timeout
googletest-upstream-format
lit-opts
max-failures
parallelism-groups
progress-bar
py-config-discovery
shtest-env [lit] Fix `not` calling internal commands 2019-11-05 14:09:21 -05:00
shtest-format [lit] Remove lit's REQUIRES-ANY directive 2019-12-17 10:36:36 +00:00
shtest-inject [lit] Fix test that relied on "single process" mode 2020-03-30 21:58:48 -07:00
shtest-not [lit] Fix `not` calling internal commands 2019-11-05 14:09:21 -05:00
shtest-output-printing
shtest-recursive-substitution [lit] Recursively expand substitutions 2020-03-27 09:25:26 -04:00
shtest-run-at-line
shtest-shell [lit] Fix internal diff newlines for -w/-b 2019-12-17 10:49:34 -05:00
shtest-timeout
test-data
test-data-micro
test_retry_attempts [lit] Add builtin support for flaky tests in lit 2020-03-18 18:04:01 -04:00
testrunner-custom-parsers [lit] Add builtin support for flaky tests in lit 2020-03-18 18:04:01 -04:00
unittest-adaptor [lit] Add back LitTestCase 2019-10-15 20:57:20 +00:00
xunit-output
lit.cfg Fix up lit's tests to run in a multi-config build environment. 2019-11-14 11:24:41 -08:00