summaryrefslogtreecommitdiff
path: root/tests/xmlrpc-server-test.c
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2013-12-11 19:55:50 +0100
committerDan Winship <danw@gnome.org>2013-12-11 19:55:50 +0100
commit27ffa8198f19eb57120f30826e70792d666e864b (patch)
treeaa8f3ae4649ae839bf4732b9d9386ef900f6a515 /tests/xmlrpc-server-test.c
parent1ef5769bf20fb3def1410928729e37c617d8d43e (diff)
downloadlibsoup-installed-tests.tar.gz
tests: use TAP, and install the testsinstalled-tests
Import glib-tap.mk to run the tests in TAP mode, and to provide rules to install the tests. This required some restructuring of httpd.conf-related stuff in order to come up with a configuration that would work for all three cases (srcdir==buildir, srcdir!=builddir, and installed).
Diffstat (limited to 'tests/xmlrpc-server-test.c')
-rw-r--r--tests/xmlrpc-server-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/xmlrpc-server-test.c b/tests/xmlrpc-server-test.c
index a6f2d5f0..89e6e8de 100644
--- a/tests/xmlrpc-server-test.c
+++ b/tests/xmlrpc-server-test.c
@@ -280,7 +280,7 @@ do_xmlrpc_tests (gconstpointer data)
GError *error = NULL;
GIOChannel *child_out;
- argv[0] = "./xmlrpc-test";
+ argv[0] = (char *) g_test_get_filename (G_TEST_BUILT, "xmlrpc-test", NULL);
argv[1] = "-S";
argv[2] = "-U";
argv[3] = soup_uri_to_string (uri, FALSE);