On 25 March 2015 at 10:43, Joonas Lahtinen
<[email protected]> wrote:
> Install the test programs by default so that they can be packaged.

Some tests require extra files such as images that will also need to
be installed and have an appropriate path used in the test. The
IGT_DATADIR defined in lib/Makefile.am and tests/Makefile.am can be
updated to point to the install location, although it would be nice to
have a fallback mechanism so that the tests continue to work if not
installed.

>
> Signed-off-by: Joonas Lahtinen <[email protected]>
> ---
>  tests/Makefile.sources | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/tests/Makefile.sources b/tests/Makefile.sources
> index a165978..ac0ee99 100644
> --- a/tests/Makefile.sources
> +++ b/tests/Makefile.sources
> @@ -1,12 +1,15 @@
>  noinst_PROGRAMS = \
>         gem_alive \
>         gem_stress \
> -       $(TESTS_progs) \
> -       $(TESTS_progs_M) \
>         $(HANG) \
>         $(TESTS_testsuite) \
>         $(NULL)
>
> +libexec_PROGRAMS = \
> +       $(TESTS_progs) \
> +       $(TESTS_progs_M) \
> +       $(NULL)
> +

The script based tests are missing here. The full list of tests is
available in the kernel_tests variable.


>  NOUVEAU_TESTS_M = \
>         prime_nv_api \
>         prime_nv_pcopy \
> --
> 1.9.3
>
>
>
> _______________________________________________
> Intel-gfx mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to