[libsoup/carlosgc/client-side-certs2] tests: add configure_file rules for new certificate files
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/carlosgc/client-side-certs2] tests: add configure_file rules for new certificate files
- Date: Wed, 28 Apr 2021 14:12:21 +0000 (UTC)
commit 8e2eb08998711e1cecbc30dfbbd6b18649da7881
Author: Carlos Garcia Campos <cgarcia igalia com>
Date: Wed Apr 28 13:52:09 2021 +0200
tests: add configure_file rules for new certificate files
And move the existing ones out of the apache if, since they are also
used by tests using SoupServer. This ensures the files are also in the
build dir, allowing to run tests directly from the executable.
tests/meson.build | 25 ++++++++++++++++---------
1 file changed, 16 insertions(+), 9 deletions(-)
---
diff --git a/tests/meson.build b/tests/meson.build
index 1ca5f235..a26a73e0 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -40,6 +40,22 @@ else
mock_pkcs11_module = []
endif
+configure_file(input : 'index.txt',
+ output : 'index.txt',
+ copy : true)
+configure_file(input : 'test-cert.pem',
+ output : 'test-cert.pem',
+ copy : true)
+configure_file(input : 'test-key.pem',
+ output : 'test-key.pem',
+ copy : true)
+configure_file(input : 'test-cert-2.pem',
+ output : 'test-cert-2.pem',
+ copy : true)
+configure_file(input : 'test-key-2.pem',
+ output : 'test-key-2.pem',
+ copy : true)
+
if installed_tests_enabled
install_data(
'index.txt',
@@ -126,15 +142,6 @@ if have_apache
configure_file(input : 'htdigest',
output : 'htdigest',
copy : true)
- configure_file(input : 'index.txt',
- output : 'index.txt',
- copy : true)
- configure_file(input : 'test-cert.pem',
- output : 'test-cert.pem',
- copy : true)
- configure_file(input : 'test-key.pem',
- output : 'test-key.pem',
- copy : true)
if installed_tests_enabled
install_data(
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]