[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 8/8] meson-build: test-crypto-secret depends on CONFIG_SECRET_KEY
From: |
Juan Quintela |
Subject: |
[PATCH 8/8] meson-build: test-crypto-secret depends on CONFIG_SECRET_KEYRING |
Date: |
Fri, 2 Sep 2022 18:51:26 +0200 |
With this change "make check" works when configured with --disable-keyring.
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
tests/unit/meson.build | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/unit/meson.build b/tests/unit/meson.build
index b497a41378..988aed27cb 100644
--- a/tests/unit/meson.build
+++ b/tests/unit/meson.build
@@ -78,7 +78,6 @@ if have_block
'test-crypto-hmac': [crypto],
'test-crypto-cipher': [crypto],
'test-crypto-akcipher': [crypto],
- 'test-crypto-secret': [crypto, keyutils],
'test-crypto-der': [crypto],
'test-authz-simple': [authz],
'test-authz-list': [authz],
@@ -122,6 +121,9 @@ if have_block
if config_host_data.get('CONFIG_EPOLL_CREATE1')
tests += {'test-fdmon-epoll': [testblock]}
endif
+ if config_host_data.get('CONFIG_SECRET_KEYRING')
+ tests += {'test-crypto-secret': [crypto, keyutils]}
+ endif
endif
if have_system
--
2.37.2
- Re: [PATCH 1/8] qtest: "-display none" is set in qtest_init(), (continued)
- [PATCH 2/8] qtest: Set "-net none" in qtest_init(), Juan Quintela, 2022/09/02
- [PATCH 4/8] tests/qtest: Add -vga none by default, Juan Quintela, 2022/09/02
- [PATCH 5/8] tests/acpi: Regenerate all needed tables, Juan Quintela, 2022/09/02
- [PATCH 7/8] meson-build: Enable CONFIG_REPLICATION only when replication is set, Juan Quintela, 2022/09/02
- [PATCH 6/8] tests: Fix error strings, Juan Quintela, 2022/09/02
- [PATCH 3/8] tests/acpi: The new default is -vga none, Juan Quintela, 2022/09/02
- [PATCH 8/8] meson-build: test-crypto-secret depends on CONFIG_SECRET_KEYRING,
Juan Quintela <=
- Re: [PATCH 0/8] tests: Make expliction defaults for tests, Alexander Bulekov, 2022/09/02