diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-05-15 17:11:27 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-05-15 17:17:20 +0100 |
commit | c014c4a621e1119ef8e2ca564de97878529b7197 (patch) | |
tree | 1d46c03f2b0e4a79d0806c116a578d905a05d3e5 /tests/check/elements/souphttpsrc.c | |
parent | ad9b02b881e2f6dca0133a4831ee640d92701f41 (diff) |
checks: move files required by unit tests into tests/files and make sure they're disted
Move unit test data into the directory where it belongs and make in particular
the flacdec unit test cd into the directory with the test files instead of making
assumptions about the current working directory in that unit test. As a side effect
of movng those files, there's only one EXTRA_DIST in tests/check/Makefile.am now,
which is likely to work better than having two. Hopefully fixes #582753.
Diffstat (limited to 'tests/check/elements/souphttpsrc.c')
-rw-r--r-- | tests/check/elements/souphttpsrc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/check/elements/souphttpsrc.c b/tests/check/elements/souphttpsrc.c index 01123699..3c6f5199 100644 --- a/tests/check/elements/souphttpsrc.c +++ b/tests/check/elements/souphttpsrc.c @@ -563,8 +563,8 @@ run_server (guint * http_port, guint * https_port) SoupServer *server, *ssl_server; guint port = SOUP_ADDRESS_ANY_PORT; guint ssl_port = SOUP_ADDRESS_ANY_PORT; - const char *ssl_cert_file = G_STRINGIFY (CHECKDATA_DIR) "/test-cert.pem"; - const char *ssl_key_file = G_STRINGIFY (CHECKDATA_DIR) "/test-key.pem"; + const char *ssl_cert_file = GST_TEST_FILES_PATH "/test-cert.pem"; + const char *ssl_key_file = GST_TEST_FILES_PATH "/test-key.pem"; static int server_running = 0; SoupAuthDomain *domain = NULL; |