Skip to content
Snippets Groups Projects
Commit 53a2167e authored by Emil Velikov's avatar Emil Velikov
Browse files

isl: automake: flatten the tests rules


Fold the unneeded extra variable tests_ldadd, the explicit sources
section (single file with the default extension) and flip the
check_PROGRAMS <> TESTS order (TESTS includes scripts, while
check_PROGRAMS is binaries only).

Signed-off-by: default avatarEmil Velikov <emil.velikov@collabora.com>
Reviewed-by: default avatarMatt Turner <mattst88@gmail.com>
Reviewed-by: default avatarJason Ekstrand <jason@jlekstrand.net>
parent 1eecc095
No related branches found
No related tags found
Loading
......@@ -100,20 +100,15 @@ isl_format_layout.c: isl_format_layout_gen.bash \
# Tests
# ----------------------------------------------------------------------------
TESTS = tests/isl_surf_get_image_offset_test
check_PROGRAMS = tests/isl_surf_get_image_offset_test
check_PROGRAMS = $(TESTS)
TESTS = $(check_PROGRAMS)
# Link tests to lib965_compiler.la for brw_get_device_info().
tests_ldadd = \
libisl.la \
tests_isl_surf_get_image_offset_test_LDADD = \
libisl.la \
$(top_builddir)/src/mesa/drivers/dri/i965/libi965_compiler.la \
-lm
tests_isl_surf_get_image_offset_test_SOURCES = \
tests/isl_surf_get_image_offset_test.c
tests_isl_surf_get_image_offset_test_LDADD = $(tests_ldadd)
# ----------------------------------------------------------------------------
EXTRA_DIST = \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment