1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/utils/lit/tests
Dan Liew a120c804c6 [lit] Remove a timing senstive part of shtest-timeout.py
The `shtest-timeout.py` test was failing intermittently. It looks like
the issue is that on a resource constrained system lit is unable to run
`quick_then_slow.py` twice and print out the messages the tests expects
within the one second timeout.

The underlying issue is that the test is dependent on the performance of
the host machine is a rather fragile way. This is due to hardcoding
timeout values and having assumptions that the host machine is able to
perform a certain amount of work within the hardcoded timeout values.

We could increase the timeout values but that doesn't really fix the
underlying issue. Instead this patch removes one of fragile assumptions
in the hope that this will be enough to fix the bots.
There are other fragile assumptions in this test (e.g. `quick.py` can be
executed in less than 1 second). If the bots continue to fail we'll have
to revisit this.

rdar://problem/38774530

llvm-svn: 328702
2018-03-28 13:55:08 +00:00
..
Inputs [lit] Remove a timing senstive part of shtest-timeout.py 2018-03-28 13:55:08 +00:00
unit [lit] Fix the lit unit tests. 2017-09-16 15:48:30 +00:00
.coveragerc
boolean-parsing.py Reinstate "r292904 - [lit] Allow boolean expressions in REQUIRES and XFAIL 2017-01-25 02:26:03 +00:00
discovery.py [lit] Actually do normalize the case of files in the config map. 2017-09-21 21:27:11 +00:00
googletest-format.py [lit] Dump some FileCheck inputs to try to debug some failing tests 2017-07-28 16:24:18 +00:00
googletest-timeout.py [lit] Port googletest lit tests to Windows 2017-07-28 01:05:55 +00:00
googletest-upstream-format.py [lit] Port googletest lit tests to Windows 2017-07-28 01:05:55 +00:00
lit.cfg Make check-lit tests respect LLVM_LIT_TOOLS_DIR 2017-11-29 18:05:26 +00:00
lit.site.cfg.in Make check-lit tests respect LLVM_LIT_TOOLS_DIR 2017-11-29 18:05:26 +00:00
max-failures.py [lit] Implement 'cat' command for internal shell 2018-03-26 18:05:12 +00:00
progress-bar.py
selecting.py [lit] Un-XFAIL selecting.py test on Windows 2017-07-26 21:48:41 +00:00
shell-parsing.py
shtest-encoding.py
shtest-format.py Make check-lit tests respect LLVM_LIT_TOOLS_DIR 2017-11-29 18:05:26 +00:00
shtest-output-printing.py [lit] Fix shtest-output-printing.py on Windows by matching either / or \\ 2017-07-26 22:11:30 +00:00
shtest-shell.py [lit] Implement 'cat' command for internal shell 2018-03-26 18:05:12 +00:00
shtest-timeout.py [lit] Remove a timing senstive part of shtest-timeout.py 2018-03-28 13:55:08 +00:00
test-data-micro.py [lit] - Allow 1 test to report multiple micro-test results to provide support for microbenchmarks. 2018-03-13 16:37:59 +00:00
test-data.py
test-output-micro.py [lit] - Allow 1 test to report multiple micro-test results to provide support for microbenchmarks. 2018-03-13 16:37:59 +00:00
test-output.py
unittest-adaptor.py Un-XFAIL some internal lit tests on Windows, they pass for me locally 2017-07-26 18:04:18 +00:00
usage.py [lit] Use argparse instead of optparse 2016-10-03 22:12:42 +00:00
xunit-output.py Losen time contraint to accommodate system loads 2018-02-28 20:05:24 +00:00