[libsoup/wip/meson] Fix unit tests based on Apache



commit cf5da3735eff743e4514a35ff6b95d20b4a29f18
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]