forked from OSchip/llvm-project
[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
9c13bbe953
commit
c9e700042b
|
@ -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