mbox series

[00/16] meson: convert unit tests in tests/Makefile.include

Message ID 20200828110734.1638685-1-marcandre.lureau@redhat.com (mailing list archive)
Headers show
Series meson: convert unit tests in tests/Makefile.include | expand

Message

Marc-André Lureau Aug. 28, 2020, 11:07 a.m. UTC
From: Marc-André Lureau <marcandre.lureau@redhat.com>

Hi,

This series convert the unit tests from tests/Makefile.include to meson.

Based-on: <20200823111757.72002-2-thuth@redhat.com>

Marc-André Lureau (16):
  meson: build qapi tests library
  meson: declare tasn1 dependency
  meson: declare keyutils dependency
  meson: convert qht-bench
  tests: qga has virtio-serial by default when host has it
  meson: convert the unit tests
  meson: move keyutils dependency check
  meson: remove old socket_scm_helper rule
  meson: convert vhost-user-bridge
  meson: convert atomic*-bench
  tests/Makefile.include: update check-build
  tests: do not print benchmark output to stdout
  meson: convert the speed tests
  tests/migration/stress: remove unused exit_success
  meson: fix migration/stress compilation with glib>=2.30
  meson: convert migration/initrd-stress

 Makefile                         |   2 +-
 configure                        |  25 ---
 meson.build                      |  10 +
 scripts/mtest2make.py            |   3 +-
 tests/Makefile.include           | 368 +------------------------------
 tests/benchmark-crypto-cipher.c  |   8 +-
 tests/benchmark-crypto-hash.c    |   2 +-
 tests/benchmark-crypto-hmac.c    |   8 +-
 tests/include/meson.build        |  13 ++
 tests/meson.build                | 253 +++++++++++++++++++++
 tests/migration/initrd-stress.sh |  10 +
 tests/migration/meson.build      |  14 ++
 tests/migration/stress.c         |  15 +-
 tests/test-crypto-secret.c       |  10 +-
 tests/test-qga.c                 |   4 +-
 15 files changed, 325 insertions(+), 420 deletions(-)
 create mode 100644 tests/include/meson.build
 create mode 100755 tests/migration/initrd-stress.sh
 create mode 100644 tests/migration/meson.build

Comments

Thomas Huth Aug. 28, 2020, 12:56 p.m. UTC | #1
On 28/08/2020 13.07, marcandre.lureau@redhat.com wrote:
> From: Marc-André Lureau <marcandre.lureau@redhat.com>
> 
> Hi,
> 
> This series convert the unit tests from tests/Makefile.include to meson.

Just an optional idea: What about moving the unit tests to a separate
subdirectory a la tests/unit/ , too?

 Thomas
Marc-André Lureau Aug. 28, 2020, 12:59 p.m. UTC | #2
Hi

On Fri, Aug 28, 2020 at 4:56 PM Thomas Huth <thuth@redhat.com> wrote:

> On 28/08/2020 13.07, marcandre.lureau@redhat.com wrote:
> > From: Marc-André Lureau <marcandre.lureau@redhat.com>
> >
> > Hi,
> >
> > This series convert the unit tests from tests/Makefile.include to meson.
>
> Just an optional idea: What about moving the unit tests to a separate
> subdirectory a la tests/unit/ , too?
>
>
Sounds like a good idea to me, but there is already quite a lot going on in
this series :) Let's add that to the todo list, shall we?
Thomas Huth Aug. 28, 2020, 1:25 p.m. UTC | #3
On 28/08/2020 14.59, Marc-André Lureau wrote:
> Hi
> 
> On Fri, Aug 28, 2020 at 4:56 PM Thomas Huth <thuth@redhat.com
> <mailto:thuth@redhat.com>> wrote:
> 
>     On 28/08/2020 13.07, marcandre.lureau@redhat.com
>     <mailto:marcandre.lureau@redhat.com> wrote:
>     > From: Marc-André Lureau <marcandre.lureau@redhat.com
>     <mailto:marcandre.lureau@redhat.com>>
>     >
>     > Hi,
>     >
>     > This series convert the unit tests from tests/Makefile.include to
>     meson.
> 
>     Just an optional idea: What about moving the unit tests to a separate
>     subdirectory a la tests/unit/ , too?
> 
> 
> Sounds like a good idea to me, but there is already quite a lot going on
> in this series :) Let's add that to the todo list, shall we?

Sure, that's why I wrote "optional" :-)

 Thomas