|
|
|
@ -7,7 +7,11 @@ TEST_LIBS = libvrtest.la $(top_builddir)/src/libvirglrenderer.la $(CHECK_LIBS) |
|
|
|
|
run_tests = test_virgl_init test_virgl_transfer test_virgl_resource test_virgl_cmd
|
|
|
|
|
|
|
|
|
|
noinst_LTLIBRARIES = libvrtest.la
|
|
|
|
|
libvrtest_la_SOURCES = testvirgl.c testvirgl_encode.c
|
|
|
|
|
libvrtest_la_SOURCES = testvirgl.c \
|
|
|
|
|
testvirgl.h \
|
|
|
|
|
testvirgl_encode.c \
|
|
|
|
|
testvirgl_encode.h
|
|
|
|
|
|
|
|
|
|
noinst_PROGRAMS = $(run_tests)
|
|
|
|
|
TESTS = $(run_tests)
|
|
|
|
|
|
|
|
|
@ -28,7 +32,8 @@ test_virgl_cmd_LDADD = $(TEST_LIBS) |
|
|
|
|
test_virgl_cmd_LDFLAGS = -no-install
|
|
|
|
|
|
|
|
|
|
if HAVE_VALGRIND |
|
|
|
|
VALGRIND_FLAGS=--leak-check=full \
|
|
|
|
|
VALGRIND_FLAGS= \
|
|
|
|
|
--leak-check=full \
|
|
|
|
|
--quiet \
|
|
|
|
|
--error-exitcode=3 \
|
|
|
|
|
--suppressions=$(srcdir)/valgrind.suppressions
|
|
|
|
@ -38,6 +43,7 @@ valgrind: |
|
|
|
|
|
|
|
|
|
check: valgrind |
|
|
|
|
|
|
|
|
|
EXTRA_DIST = valgrind.suppressions
|
|
|
|
|
endif |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|