Commit dac4665a authored by Carlos Garcia Campos's avatar Carlos Garcia Campos Committed by Carlos Garcia Campos
Browse files

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.
parent 86b0aef2
...@@ -23,6 +23,22 @@ test_resources = gnome.compile_resources('soup-tests', ...@@ -23,6 +23,22 @@ test_resources = gnome.compile_resources('soup-tests',
install_dir : installed_tests_execdir, install_dir : installed_tests_execdir,
) )
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 if installed_tests_enabled
install_data( install_data(
'index.txt', 'index.txt',
...@@ -119,15 +135,6 @@ if have_apache ...@@ -119,15 +135,6 @@ if have_apache
configure_file(input : 'htpasswd', configure_file(input : 'htpasswd',
output : 'htpasswd', output : 'htpasswd',
copy : true) 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 if installed_tests_enabled
install_data( install_data(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment