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

marcandre.lureau@redhat.com posted 16 patches 5 years, 2 months ago
Failed in applying to current master (apply log)
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
[PATCH 00/16] meson: convert unit tests in tests/Makefile.include
Posted by marcandre.lureau@redhat.com 5 years, 2 months ago
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

-- 
2.26.2



Re: [PATCH 00/16] meson: convert unit tests in tests/Makefile.include
Posted by Thomas Huth 5 years, 2 months ago
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


Re: [PATCH 00/16] meson: convert unit tests in tests/Makefile.include
Posted by Marc-André Lureau 5 years, 2 months ago
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?

-- 
Marc-André Lureau
Re: [PATCH 00/16] meson: convert unit tests in tests/Makefile.include
Posted by Thomas Huth 5 years, 2 months ago
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