All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gabriel Feceoru <gabriel.feceoru@intel.com>
To: Marius Vlad <marius.c.vlad@intel.com>, intel-gfx@lists.freedesktop.org
Cc: daniel.vetter@intel.com
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 12:37:31 +0300	[thread overview]
Message-ID: <573C37DB.7060803@intel.com> (raw)
In-Reply-To: <1463487166-20570-1-git-send-email-marius.c.vlad@intel.com>



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 subtests) 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.

This will remove the option to run gem_concurrent_all with piglit, 
unless manually added in test-list.txt.

Is this what we (or QA) want?

Gabriel.

>
> https://lists.freedesktop.org/archives/intel-gfx/2016-April/092795.html
>
> Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
> ---
>   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_kernel_tests} >> $@
> -	@echo END TESTLIST >> $@
> -
>
>   noinst_PROGRAMS = \
>   	$(HANG) \
> @@ -28,9 +23,9 @@ noinst_PROGRAMS = \
>   pkglibexec_PROGRAMS = \
>   	gem_alive \
>   	gem_stress \
> +	gem_concurrent_all \
>   	$(TESTS_progs) \
>   	$(TESTS_progs_M) \
> -	$(TESTS_progs_XM) \
>   	$(NULL)
>
>   dist_pkglibexec_SCRIPTS = \
> @@ -45,14 +40,14 @@ dist_pkgdata_DATA = \
>
>   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 = test-list.txt test-list-full.txt
> +pkgdata_DATA = test-list.txt
>
> -EXTRA_PROGRAMS = $(HANG)
> +EXTRA_PROGRAMS = $(HANG) gem_concurrent_all
>   EXTRA_DIST = $(common_files)
>
> -CLEANFILES = $(EXTRA_PROGRAMS) test-list.txt test-list-full.txt .gitignore
> +CLEANFILES = $(EXTRA_PROGRAMS) test-list.txt .gitignore
>
>   AM_CFLAGS = $(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 = \
>   	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 = \
>   	template \
>   	$(NULL)
>
> -TESTS_progs_XM = \
> -    gem_concurrent_blit \
> -    gem_concurrent_all \
> -    $(NULL)
> -
>   TESTS_progs = \
>   	core_auth \
>   	core_getclient \
> @@ -226,14 +222,6 @@ multi_kernel_tests = \
>   	$(NULL)
>
>
> -# This target contains testcases with lots of subtests.
> -# It was split from multi_kernel_tests because of the overhead of listing all
> -# the subtests in piglit
> -extra_multi_kernel_tests = \
> -	$(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 other magic
> @@ -251,8 +239,7 @@ kernel_tests = \
>   kernel_tests_full = \
>       $(single_kernel_tests) \
>       $(multi_kernel_tests) \
> -	$(extra_multi_kernel_tests) \
> -	$(NULL)
> +    $(NULL)
>
>   # Test that exercise specific asserts in the test framework library and are
>   # hence expected to fail.
>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  parent reply	other threads:[~2016-05-18  9:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-17 12:05 [PATCH i-g-t] tests: Moved gem_concurrent_blit back to the normal set Gabriel Feceoru
2016-05-17 12:12 ` [PATCH i-g-t] autotools/: Keep gem_concurrent_blit in tests/ and put gem_conccurent_all in EXTRAS Marius Vlad
2016-05-17 13:22   ` Daniel Vetter
2016-05-17 14:08     ` Marius Vlad
2016-05-18  9:37   ` Gabriel Feceoru [this message]
2016-05-18 13:58     ` Marius Vlad
2016-05-24 14:54 ` [PATCH i-g-t] tests: Moved gem_concurrent_blit back to the normal set Marius Vlad

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=573C37DB.7060803@intel.com \
    --to=gabriel.feceoru@intel.com \
    --cc=daniel.vetter@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=marius.c.vlad@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.