From 27ffa8198f19eb57120f30826e70792d666e864b Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 11 Dec 2013 19:55:50 +0100 Subject: tests: use TAP, and install the 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). --- tests/xmlrpc-server-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/xmlrpc-server-test.c') 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); -- cgit v1.2.1