From 430bd1c7ec856a84fcf3b1145d51a41eb90fa983 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Thu, 17 Apr 2008 22:32:16 +0000 Subject: tests/check/Makefile.am: Disable some more elements in the state test. Original commit message from CVS: * tests/check/Makefile.am: Disable some more elements in the state test. Add a define so the soup test can find the test files it needs at runtime. * tests/check/elements/souphttpsrc.c: (run_server): Add a define so the soup test can find the test files it needs at runtime. --- tests/check/elements/souphttpsrc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/check/elements/souphttpsrc.c') diff --git a/tests/check/elements/souphttpsrc.c b/tests/check/elements/souphttpsrc.c index be7aa728..34f8b93a 100644 --- a/tests/check/elements/souphttpsrc.c +++ b/tests/check/elements/souphttpsrc.c @@ -415,7 +415,8 @@ run_server (int *http_port, int *https_port) SoupServer *server, *ssl_server; int port = SOUP_ADDRESS_ANY_PORT; int ssl_port = SOUP_ADDRESS_ANY_PORT; - const char *ssl_cert_file = "test-cert.pem", *ssl_key_file = "test-key.pem"; + const char *ssl_cert_file = G_STRINGIFY (CHECKDATA_DIR) "/test-cert.pem"; + const char *ssl_key_file = G_STRINGIFY (CHECKDATA_DIR) "/test-key.pem"; static int server_running = 0; if (server_running) -- cgit