[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 10/16] meson: convert atomic*-bench
From: |
marcandre . lureau |
Subject: |
[PATCH 10/16] meson: convert atomic*-bench |
Date: |
Fri, 28 Aug 2020 15:07:28 +0400 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
tests/Makefile.include | 5 -----
tests/meson.build | 10 ++++++++++
2 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/tests/Makefile.include b/tests/Makefile.include
index d4635f9b5b..30de192567 100644
--- a/tests/Makefile.include
+++ b/tests/Makefile.include
@@ -44,11 +44,6 @@ check-speed-$(CONFIG_BLOCK) +=
tests/benchmark-crypto-cipher$(EXESUF)
QEMU_CFLAGS += -I$(SRC_PATH)/tests -I$(SRC_PATH)/tests/qtest
-# Deps that are common to various different sets of tests below
-test-util-obj-y = libqemuutil.a
-tests/atomic_add-bench$(EXESUF): tests/atomic_add-bench.o $(test-util-obj-y)
-tests/atomic64-bench$(EXESUF): tests/atomic64-bench.o $(test-util-obj-y)
-
tests/benchmark-crypto-hash$(EXESUF): tests/benchmark-crypto-hash.o
$(test-crypto-obj-y)
tests/benchmark-crypto-hmac$(EXESUF): tests/benchmark-crypto-hmac.o
$(test-crypto-obj-y)
tests/benchmark-crypto-cipher$(EXESUF): tests/benchmark-crypto-cipher.o
$(test-crypto-obj-y)
diff --git a/tests/meson.build b/tests/meson.build
index 180011445d..a2902bde45 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -4,6 +4,16 @@ qht_bench = executable('qht-bench',
sources: files('qht-bench.c'),
dependencies: [qemuutil])
+executable('atomic_add-bench',
+ sources: files('atomic_add-bench.c'),
+ dependencies: [qemuutil],
+ build_by_default: false)
+
+executable('atomic64-bench',
+ sources: files('atomic64-bench.c'),
+ dependencies: [qemuutil],
+ build_by_default: false)
+
test_qapi_outputs = [
'qapi-builtin-types.c',
'qapi-builtin-types.h',
--
2.26.2
- [PATCH 02/16] meson: declare tasn1 dependency, (continued)
- [PATCH 02/16] meson: declare tasn1 dependency, marcandre . lureau, 2020/08/28
- [PATCH 03/16] meson: declare keyutils dependency, marcandre . lureau, 2020/08/28
- [PATCH 04/16] meson: convert qht-bench, marcandre . lureau, 2020/08/28
- [PATCH 05/16] tests: qga has virtio-serial by default when host has it, marcandre . lureau, 2020/08/28
- [PATCH 06/16] meson: convert the unit tests, marcandre . lureau, 2020/08/28
- [PATCH 07/16] meson: move keyutils dependency check, marcandre . lureau, 2020/08/28
- [PATCH 08/16] meson: remove old socket_scm_helper rule, marcandre . lureau, 2020/08/28
- [PATCH 09/16] meson: convert vhost-user-bridge, marcandre . lureau, 2020/08/28
- [PATCH 10/16] meson: convert atomic*-bench,
marcandre . lureau <=
- [PATCH 11/16] tests/Makefile.include: update check-build, marcandre . lureau, 2020/08/28
- [PATCH 12/16] tests: do not print benchmark output to stdout, marcandre . lureau, 2020/08/28
- [PATCH 13/16] meson: convert the speed tests, marcandre . lureau, 2020/08/28
- [PATCH 14/16] tests/migration/stress: remove unused exit_success, marcandre . lureau, 2020/08/28
- [PATCH 15/16] meson: fix migration/stress compilation with glib>=2.30, marcandre . lureau, 2020/08/28
- [PATCH 16/16] meson: convert migration/initrd-stress, marcandre . lureau, 2020/08/28
- Re: [PATCH 00/16] meson: convert unit tests in tests/Makefile.include, Thomas Huth, 2020/08/28