From: Daniel Vetter <daniel@ffwll.ch>
To: Antonio Argenziano <antonio.argenziano@intel.com>
Cc: IGT development <igt-dev@lists.freedesktop.org>,
Daniel Vetter <daniel.vetter@intel.com>
Subject: Re: [igt-dev] [PATCH i-g-t] lib/tests: Drop automake support
Date: Thu, 7 Feb 2019 17:36:28 +0100 [thread overview]
Message-ID: <20190207163628.GX3271@phenom.ffwll.local> (raw)
In-Reply-To: <49da57ea-9a5e-3797-2ab0-8ad47c8abdb2@intel.com>
On Thu, Feb 07, 2019 at 08:19:15AM -0800, Antonio Argenziano wrote:
>
>
> On 07/02/19 07:25, Daniel Vetter wrote:
> > Really not needed if we check this with meson.
>
> Maybe now drop the automake support from readme as well: "Currently we
> support both meson and automake as build systems".
automake is still supported for building tools and tests. Just not for the
more auxiliary stuff like library self-tests, documentation and all that.
I did merge a few patches to make it clear that you should use meson, but
automake is still there somewhat. Not yet clear enough?
-Daniel
>
> Antonio
>
> >
> > Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
> > ---
> > Passed gitlab-ci:
> >
> > https://gitlab.freedesktop.org/danvet/igt-gpu-tools/commit/28a1d87c2001c473ecd2b89edf7ad1ba26b5d039
> > ---
> > configure.ac | 1 -
> > lib/Makefile.am | 2 --
> > lib/tests/Makefile.am | 24 ------------------------
> > lib/tests/Makefile.sources | 36 ------------------------------------
> > 4 files changed, 63 deletions(-)
> > delete mode 100644 lib/tests/Makefile.am
> > delete mode 100644 lib/tests/Makefile.sources
> >
> > diff --git a/configure.ac b/configure.ac
> > index b46f024f875a..0588b0f9dad3 100644
> > --- a/configure.ac
> > +++ b/configure.ac
> > @@ -294,7 +294,6 @@ AC_CONFIG_FILES([
> > Makefile
> > benchmarks/Makefile
> > lib/Makefile
> > - lib/tests/Makefile
> > scripts/Makefile
> > tests/Makefile
> > tests/intel-ci/Makefile
> > diff --git a/lib/Makefile.am b/lib/Makefile.am
> > index 3b88e3397833..3e6a7fdba9ac 100644
> > --- a/lib/Makefile.am
> > +++ b/lib/Makefile.am
> > @@ -1,8 +1,6 @@
> > IGT_LIB_PATH := $(builddir)
> > GPU_TOOLS_PATH := $(top_srcdir)
> > -SUBDIRS = . tests
> > -
> > include Makefile.sources
> > libintel_tools_la_SOURCES = $(lib_source_list)
> > diff --git a/lib/tests/Makefile.am b/lib/tests/Makefile.am
> > deleted file mode 100644
> > index 789fc551f9be..000000000000
> > --- a/lib/tests/Makefile.am
> > +++ /dev/null
> > @@ -1,24 +0,0 @@
> > -include Makefile.sources
> > -
> > -check_PROGRAMS = $(check_prog_list)
> > -check_SCRIPTS = $(check_script_list)
> > -
> > -AM_TESTS_ENVIRONMENT = \
> > - top_builddir=$(top_builddir) \
> > - top_srcdir=$(top_srcdir)
> > -
> > -AM_CPPFLAGS = \
> > - -I$(top_srcdir)/include/drm-uapi \
> > - -I$(srcdir)/../.. \
> > - -I$(srcdir)/.. \
> > - -I$(top_srcdir)/lib/stubs/syscalls \
> > - -include "$(srcdir)/../../lib/check-ndebug.h" \
> > - -DIGT_DATADIR=\""$(abs_srcdir)"\" \
> > - -D_GNU_SOURCE
> > -
> > -AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS) $(DEBUG_CFLAGS)
> > -
> > -LDADD = ../libintel_tools.la $(PCIACCESS_LIBS) $(DRM_LIBS) $(LIBUNWIND_LIBS) $(TIMER_LIBS)
> > -
> > -LDADD += $(CAIRO_LIBS) $(LIBUDEV_LIBS) $(GLIB_LIBS) -lm
> > -AM_CFLAGS += $(CAIRO_CFLAGS) $(LIBUDEV_CFLAGS) $(GLIB_CFLAGS)
> > diff --git a/lib/tests/Makefile.sources b/lib/tests/Makefile.sources
> > deleted file mode 100644
> > index 8d1a8dea8263..000000000000
> > --- a/lib/tests/Makefile.sources
> > +++ /dev/null
> > @@ -1,36 +0,0 @@
> > -check_prog_list = \
> > - igt_no_exit \
> > - igt_no_exit_list_only \
> > - igt_fork_helper \
> > - igt_list_only \
> > - igt_no_subtest \
> > - igt_simulation \
> > - igt_simple_test_subtests \
> > - igt_stats \
> > - igt_timeout \
> > - igt_invalid_subtest_name \
> > - igt_segfault \
> > - igt_subtest_group \
> > - igt_assert \
> > - igt_exit_handler \
> > - igt_hdmi_inject \
> > - igt_can_fail \
> > - igt_can_fail_simple \
> > - $(NULL)
> > -
> > -TESTS = \
> > - $(check_prog_list) \
> > - $(check_script_list) \
> > - $(NULL)
> > -
> > -# Test that exercise specific asserts in the test framework library and are
> > -# hence expected to fail.
> > -DISABLE_HARD_ERRORS=1
> > -XFAIL_TESTS = \
> > - igt_no_exit \
> > - igt_no_exit_list_only \
> > - igt_no_subtest \
> > - igt_simple_test_subtests \
> > - igt_timeout \
> > - igt_invalid_subtest_name \
> > - $(NULL)
> >
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
next prev parent reply other threads:[~2019-02-07 16:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-07 15:25 [igt-dev] [PATCH i-g-t] lib/tests: Drop automake support Daniel Vetter
2019-02-07 15:57 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-02-07 16:19 ` [igt-dev] [PATCH i-g-t] " Antonio Argenziano
2019-02-07 16:36 ` Daniel Vetter [this message]
2019-02-07 16:42 ` Antonio Argenziano
2019-02-07 17:24 ` [igt-dev] ✓ Fi.CI.IGT: success for " Patchwork
2019-02-08 11:51 ` [igt-dev] [PATCH i-g-t] " Petri Latvala
2019-02-11 17:31 ` Daniel Vetter
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=20190207163628.GX3271@phenom.ffwll.local \
--to=daniel@ffwll.ch \
--cc=antonio.argenziano@intel.com \
--cc=daniel.vetter@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/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.