Re: [PATCH v2 libdrm 5/7] tegra: Add helper library for tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 9, 2014 at 1:40 PM, Thierry Reding <thierry.reding@xxxxxxxxx> wrote:
> From: Thierry Reding <treding@xxxxxxxxxx>
>
> This library provides helpers for common functionality needed by test
> programs.
>
> Signed-off-by: Thierry Reding <treding@xxxxxxxxxx>
> ---
> Changes in v2:
> - fix a couple of memory leaks and get rid of some unneeded code
>
>  tests/tegra/Makefile.am      |  10 +-
>  tests/tegra/drm-test-tegra.c | 137 ++++++++++++++++++++++++
>  tests/tegra/drm-test-tegra.h |  55 ++++++++++
>  tests/tegra/drm-test.c       | 248 +++++++++++++++++++++++++++++++++++++++++++
>  tests/tegra/drm-test.h       |  72 +++++++++++++
>  5 files changed, 521 insertions(+), 1 deletion(-)
>  create mode 100644 tests/tegra/drm-test-tegra.c
>  create mode 100644 tests/tegra/drm-test-tegra.h
>  create mode 100644 tests/tegra/drm-test.c
>  create mode 100644 tests/tegra/drm-test.h
>
> diff --git a/tests/tegra/Makefile.am b/tests/tegra/Makefile.am
> index 8b481bde4f11..e468029d152e 100644
> --- a/tests/tegra/Makefile.am
> +++ b/tests/tegra/Makefile.am
> @@ -5,9 +5,17 @@ AM_CPPFLAGS = \
>
>  AM_CFLAGS = -Wall -Werror
>
> +noinst_LTLIBRARIES = libdrm-test.la
> +libdrm_test_la_SOURCES = \
> +       drm-test.c \
> +       drm-test.h \
> +       drm-test-tegra.c \
> +       drm-test-tegra.h
> +
>  LDADD = \
>         ../../tegra/libdrm_tegra.la \
> -       ../../libdrm.la
> +       ../../libdrm.la \
> +       libdrm-test.la
>

Hmm, I need the following on top to please the linker:

diff --git a/tests/tegra/Makefile.am b/tests/tegra/Makefile.am
index 286af4b..88230c0 100644
--- a/tests/tegra/Makefile.am
+++ b/tests/tegra/Makefile.am
@@ -14,8 +14,8 @@ libdrm_test_la_SOURCES = \

 LDADD = \
        ../../tegra/libdrm_tegra.la \
-       ../../libdrm.la \
-       libdrm-test.la
+       libdrm-test.la \
+       ../../libdrm.la

 TESTS = \
        openclose \
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux