From: Marius Vlad Subject: Re: [PATCH i-g-t] autotools/: Keep gem_concurrent_blit in tests/ and put gem_conccurent_all in EXTRAS. Date: Wed, 18 May 2016 16:58:40 +0300 Message-ID: <20160518135840.GA13597@mcvlad-wk.rb.intel.com> References: <1463486747-20550-1-git-send-email-gabriel.feceoru@intel.com> <1463487166-20570-1-git-send-email-marius.c.vlad@intel.com> <573C37DB.7060803@intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0380658815==" Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id E9EB2890BF for ; Wed, 18 May 2016 13:58:08 +0000 (UTC) In-Reply-To: <573C37DB.7060803@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Gabriel Feceoru Cc: daniel.vetter@intel.com, intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============0380658815== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 18, 2016 at 12:37:31PM +0300, Gabriel Feceoru wrote: >=20 >=20 > On 17.05.2016 15:12, Marius Vlad wrote: > >An attempt to have piglit not taking too much time when listing tests, > >but also keep tests/gem_concurrent_blit into list of tests. > > > >This was added in a633ad03c6 (tests: Separate tests with lots of subtest= s) and > >tried to be fixed c785a89ee (autotools/: Allow building > >tests/gem_concurrent_{all, blit}) but without addressing the > >comments of the reviewer. While at it, remove tests-lists-full.txt as it= not > >needed anymore. >=20 > This will remove the option to run gem_concurrent_all with piglit, unless > manually added in test-list.txt. >=20 > Is this what we (or QA) want? How is this different than creating another list 'test' file and add gem_concurrent_all in it? run-scripts.sh doesn't seem to have an option to pass another file as list of tests. >=20 > Gabriel. >=20 > > > >https://lists.freedesktop.org/archives/intel-gfx/2016-April/092795.html > > > >Signed-off-by: Marius Vlad > >--- > > tests/Makefile.am | 15 +++++---------- > > tests/Makefile.sources | 17 ++--------------- > > 2 files changed, 7 insertions(+), 25 deletions(-) > > > >diff --git a/tests/Makefile.am b/tests/Makefile.am > >index c2c2025..359d911 100644 > >--- a/tests/Makefile.am > >+++ b/tests/Makefile.am > >@@ -14,11 +14,6 @@ test-list.txt: Makefile.sources > > @echo ${single_kernel_tests} ${multi_kernel_tests} >> $@ > > @echo END TESTLIST >> $@ > > > >-test-list-full.txt: Makefile.sources > >- @echo TESTLIST > $@ > >- @echo ${single_kernel_tests} ${multi_kernel_tests} ${extra_multi_kerne= l_tests} >> $@ > >- @echo END TESTLIST >> $@ > >- > > > > noinst_PROGRAMS =3D \ > > $(HANG) \ > >@@ -28,9 +23,9 @@ noinst_PROGRAMS =3D \ > > pkglibexec_PROGRAMS =3D \ > > gem_alive \ > > gem_stress \ > >+ gem_concurrent_all \ > > $(TESTS_progs) \ > > $(TESTS_progs_M) \ > >- $(TESTS_progs_XM) \ > > $(NULL) > > > > dist_pkglibexec_SCRIPTS =3D \ > >@@ -45,14 +40,14 @@ dist_pkgdata_DATA =3D \ > > > > all-local: .gitignore > > .gitignore: Makefile.sources > >- @echo "$(pkglibexec_PROGRAMS) $(HANG) test-list.txt test-list-full.txt= .gitignore" | sed 's/\s\+/\n/g' | sort > $@ > >+ @echo "$(pkglibexec_PROGRAMS) $(HANG) test-list.txt .gitignore" | sed = 's/\s\+/\n/g' | sort > $@ > > > >-pkgdata_DATA =3D test-list.txt test-list-full.txt > >+pkgdata_DATA =3D test-list.txt > > > >-EXTRA_PROGRAMS =3D $(HANG) > >+EXTRA_PROGRAMS =3D $(HANG) gem_concurrent_all > > EXTRA_DIST =3D $(common_files) > > > >-CLEANFILES =3D $(EXTRA_PROGRAMS) test-list.txt test-list-full.txt .giti= gnore > >+CLEANFILES =3D $(EXTRA_PROGRAMS) test-list.txt .gitignore > > > > AM_CFLAGS =3D $(DRM_CFLAGS) $(CWARNFLAGS) $(DEBUG_CFLAGS)\ > > -I$(srcdir)/.. \ > >diff --git a/tests/Makefile.sources b/tests/Makefile.sources > >index 7b5f316..22dbaca 100644 > >--- a/tests/Makefile.sources > >+++ b/tests/Makefile.sources > >@@ -22,6 +22,7 @@ TESTS_progs_M =3D \ > > gem_close_race \ > > gem_create \ > > gem_cs_tlb \ > >+ gem_concurrent_blit \ > > gem_ctx_bad_exec \ > > gem_ctx_exec \ > > gem_ctx_param \ > >@@ -118,11 +119,6 @@ TESTS_progs_M =3D \ > > template \ > > $(NULL) > > > >-TESTS_progs_XM =3D \ > >- gem_concurrent_blit \ > >- gem_concurrent_all \ > >- $(NULL) > >- > > TESTS_progs =3D \ > > core_auth \ > > core_getclient \ > >@@ -226,14 +222,6 @@ multi_kernel_tests =3D \ > > $(NULL) > > > > > >-# This target contains testcases with lots of subtests. > >-# It was split from multi_kernel_tests because of the overhead of listi= ng all > >-# the subtests in piglit > >-extra_multi_kernel_tests =3D \ > >- $(TESTS_progs_XM) \ > >- $(NULL) > >- > >- > > # This target is for simple testcase which don't expose any subtest. > > # > > # Your testcase should probably use igt_simple_main, but none of the o= ther magic > >@@ -251,8 +239,7 @@ kernel_tests =3D \ > > kernel_tests_full =3D \ > > $(single_kernel_tests) \ > > $(multi_kernel_tests) \ > >- $(extra_multi_kernel_tests) \ > >- $(NULL) > >+ $(NULL) > > > > # Test that exercise specific asserts in the test framework library an= d are > > # hence expected to fail. > > --n8g4imXOkfNTN/H1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJXPHUQAAoJELmLWIAQzyE+s+sH/j6jINL/o/fjG1dQJzk09aA3 4col5eUf7zDKSTf2WJ2Nm0t2GXypc1cmsLf6v3SMR9ztqrwWjajAOh/LoK80tuZ8 orub6FU7AQFvKzxQHctN3a9XGtwuTxahQbcn7o2R28pWRAkYtyB08/FlsQOpxu+G gm9kvWcJ+GB0plL0YRFJrgKvekt2xS/BQpL0nT5bBQ3unaGCORLghQKS93Sy/2Ut ttwhRuSmEHDkea+0zVBFaMtwvFGcKtvsxmlMycbDrPkm+q84H37sm1gHIoJTbA7r GZAWmTVOCKvDQoX2a7+tafHetDc6b9Bk7woY02DpTBalKleREuI0bK4bYf3KkrE= =dkLc -----END PGP SIGNATURE----- --n8g4imXOkfNTN/H1-- --===============0380658815== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KSW50ZWwtZ2Z4 IG1haWxpbmcgbGlzdApJbnRlbC1nZnhAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vaW50ZWwtZ2Z4Cg== --===============0380658815==--