[libsoup/wip/meson: 36/38] Fix unit tests based on Apache
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/wip/meson: 36/38] Fix unit tests based on Apache
- Date: Thu, 16 Nov 2017 15:17:25 +0000 (UTC)
commit 3bfbbbcf5d4a0e4066d9febaf0382eb7d605607d
Author: Tomas Popela <tpopela redhat com>
Date: Tue Nov 14 15:08:04 2017 +0100
Fix unit tests based on Apache
By copying required files to the build directory.
tests/meson.build | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/tests/meson.build b/tests/meson.build
index 333b39a..c2ef009 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -68,12 +68,24 @@ configure_file(output : 'httpd.conf',
# There is not copy_file() in Meson and this is official workaroud as per
# https://github.com/mesonbuild/meson/issues/860
+configure_file(input : 'htdigest',
+ output : 'htdigest',
+ configuration : configuration_data())
+configure_file(input : 'htpasswd',
+ output : 'htpasswd',
+ configuration : configuration_data())
+configure_file(input : 'index.txt',
+ output : 'index.txt',
+ configuration : configuration_data())
configure_file(input : 'test-cert.pem',
output : 'test-cert.pem',
configuration : configuration_data())
configure_file(input : 'test-key.pem',
output : 'test-key.pem',
configuration : configuration_data())
+configure_file(input : 'xmlrpc-server.php',
+ output : 'xmlrpc-server.php',
+ configuration : configuration_data())
gnome.compile_resources('soup-tests',
'soup-tests.gresource.xml',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]