summaryrefslogtreecommitdiff
path: root/test/vainfo
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-09-27 15:40:11 +0200
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-09-27 16:08:34 +0200
commitf6fda5e5cd2f032c81a7c70dd350a4d1438b00be (patch)
tree8809462c95c7ff4d5a50eaa8736cab1f86bafed1 /test/vainfo
parent0af62769732c1ce867d9eb7803107df5c5b1a92e (diff)
downloadlibva-f6fda5e5cd2f032c81a7c70dd350a4d1438b00be.tar.gz
tests: sanitize build of test cases.
Fix compiler paths when searching for dependencies, especially when they are in non-standard locations. Drop _DEPENDENCIES that are automatically generated. Also include a few cosmetics (vertical alignment). Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Diffstat (limited to 'test/vainfo')
-rw-r--r--test/vainfo/Makefile.am19
1 files changed, 7 insertions, 12 deletions
diff --git a/test/vainfo/Makefile.am b/test/vainfo/Makefile.am
index 6e1ee4c..cc17a08 100644
--- a/test/vainfo/Makefile.am
+++ b/test/vainfo/Makefile.am
@@ -22,10 +22,6 @@
bin_PROGRAMS = vainfo
-libva_helpers = \
- $(top_builddir)/test/common/libva-display.la \
- $(NULL)
-
vainfo_cflags = \
-I$(top_srcdir) \
-I$(top_srcdir)/test/common \
@@ -34,16 +30,15 @@ vainfo_cflags = \
$(NULL)
vainfo_libs = \
- $(top_builddir)/va/libva.la \
- $(top_builddir)/va/libva-x11.la \
- $(libva_helpers) \
+ $(top_builddir)/va/libva.la \
+ $(top_builddir)/va/libva-x11.la \
+ $(top_builddir)/test/common/libva-display.la \
$(NULL)
-vainfo_SOURCES = vainfo.c
-noinst_HEADERS = $(source_h)
-vainfo_CFLAGS = $(vainfo_cflags)
-vainfo_LDADD = $(vainfo_libs)
-vainfo_DEPENDENCIES = $(libva_helpers)
+vainfo_SOURCES = vainfo.c
+noinst_HEADERS = $(source_h)
+vainfo_CFLAGS = $(vainfo_cflags)
+vainfo_LDADD = $(vainfo_libs)
valgrind: vainfo
valgrind --leak-check=full --show-reachable=yes .libs/vainfo;