Message ID | 1427280184.8586.0.camel@jlahtine-mobl1 (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 25 March 2015 at 10:43, Joonas Lahtinen <joonas.lahtinen@linux.intel.com> 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 <joonas.lahtinen@linux.intel.com> > --- > 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 > Intel-gfx@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/intel-gfx
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) + NOUVEAU_TESTS_M = \ prime_nv_api \ prime_nv_pcopy \
Install the test programs by default so that they can be packaged. Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> --- tests/Makefile.sources | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)