mesa/src/intel/vulkan/tests
Daniel Stone a78539e704 intel/tests: Reduce load from anv_tests
anv_tests tries to create a large number of threads, all of which wait
to be able to execute simultaneously, then launch a reasonable-size
workload.

Under load, cloning each of the 16 threads takes 15ms serially, for a
delay of 240ms before the tests start running; running the test 64
times gives us 15.36s for a single testcase in isolation, assuming that
the bits which aren't forking are free.

To give it the best shot at completing in time, mark it as a
non-parallelisable test (since Meson will also try to parallelise it
out), and also halve the number of runs it attempts. And then give it a
longer timeout so it doesn't fail even in extremis.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31059>
2024-09-09 12:54:34 +00:00
..
anv_tests.cpp anv: fail pool allocation when over the maximal size 2023-10-30 14:47:18 +00:00
block_pool_grow_first.c anv: fail pool allocation when over the maximal size 2023-10-30 14:47:18 +00:00
block_pool_max_size.c anv: fail pool allocation when over the maximal size 2023-10-30 14:47:18 +00:00
block_pool_no_free.c intel/tests: Reduce load from anv_tests 2024-09-09 12:54:34 +00:00
state_pool.c intel/tests: Reduce load from anv_tests 2024-09-09 12:54:34 +00:00
state_pool_free_list_only.c anv: add max_size argument for block & state pools 2023-10-30 14:47:18 +00:00
state_pool_max_size.c intel/tests: Reduce load from anv_tests 2024-09-09 12:54:34 +00:00
state_pool_no_free.c intel/tests: Reduce load from anv_tests 2024-09-09 12:54:34 +00:00
state_pool_padding.c anv: add max_size argument for block & state pools 2023-10-30 14:47:18 +00:00
state_pool_test_helper.h anv/tests: Refactor state_pool_test_helper to not use macros for parametrization 2023-08-25 12:08:26 -07:00
test_common.h anv/tests: Propagate failures to gtest 2023-08-25 12:08:26 -07:00