mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
[lit] Fix race between shtest-shell and max-failures tests
Previously these tests would use the same Output directory leading to flaky non-deterministic failures. llvm-svn: 309227
This commit is contained in:
parent
89bf4429bc
commit
0af17bd131
6
utils/lit/tests/Inputs/max-failures/lit.cfg
Normal file
6
utils/lit/tests/Inputs/max-failures/lit.cfg
Normal file
@ -0,0 +1,6 @@
|
||||
import lit.formats
|
||||
config.name = 'shtest-shell'
|
||||
config.suffixes = ['.txt']
|
||||
config.test_format = lit.formats.ShTest()
|
||||
config.test_source_root = os.path.dirname(__file__) + '/../shtest-shell'
|
||||
config.test_exec_root = None
|
@ -1,9 +1,9 @@
|
||||
# Check the behavior of --max-failures option.
|
||||
#
|
||||
# RUN: not %{lit} -j 1 -v %{inputs}/shtest-shell > %t.out
|
||||
# RUN: not %{lit} --max-failures=1 -j 1 -v %{inputs}/shtest-shell >> %t.out
|
||||
# RUN: not %{lit} --max-failures=2 -j 1 -v %{inputs}/shtest-shell >> %t.out
|
||||
# RUN: not %{lit} --max-failures=0 -j 1 -v %{inputs}/shtest-shell 2>> %t.out
|
||||
# RUN: not %{lit} -j 1 -v %{inputs}/max-failures > %t.out
|
||||
# RUN: not %{lit} --max-failures=1 -j 1 -v %{inputs}/max-failures >> %t.out
|
||||
# RUN: not %{lit} --max-failures=2 -j 1 -v %{inputs}/max-failures >> %t.out
|
||||
# RUN: not %{lit} --max-failures=0 -j 1 -v %{inputs}/max-failures 2>> %t.out
|
||||
# RUN: FileCheck < %t.out %s
|
||||
#
|
||||
# END.
|
||||
|
Loading…
Reference in New Issue
Block a user