tests: Copy autotool's testsuite driver script.

For the driver script to run properly it is necessary to run
"autoreconf" in the source directory and call the configure script again
in the build directory.
This commit is contained in:
Francisco Casas
2024-02-19 19:39:53 -03:00
committed by Alexandre Julliard
parent b13d60d805
commit faea8cd7c8
Notes: Alexandre Julliard 2024-03-08 23:46:44 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/661
2 changed files with 155 additions and 0 deletions

View File

@@ -407,6 +407,7 @@ TEST_EXTENSIONS = .shader_test
if BUILD_TESTS
check_PROGRAMS = $(vkd3d_tests) $(vkd3d_cross_tests) tests/shader_runner
dist_check_SCRIPTS = tests/test-driver.sh
TESTS = $(vkd3d_tests) $(vkd3d_cross_tests) $(vkd3d_shader_tests)
tests_d3d12_LDADD = $(LDADD) @PTHREAD_LIBS@ @DL_LIBS@
tests_d3d12_invalid_usage_LDADD = $(LDADD) @DL_LIBS@
@@ -423,6 +424,7 @@ tests_shader_runner_SOURCES = \
tests_vkd3d_api_LDADD = libvkd3d.la @DL_LIBS@
tests_vkd3d_shader_api_LDADD = libvkd3d-shader.la
SHADER_TEST_LOG_COMPILER = tests/shader_runner
SHADER_TEST_LOG_DRIVER = $(srcdir)/tests/test-driver.sh
endif
EXTRA_DIST += $(vkd3d_shader_tests)