diff options
author | Dan Winship <danw@gnome.org> | 2013-12-11 19:55:50 +0100 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2013-12-11 19:55:50 +0100 |
commit | 27ffa8198f19eb57120f30826e70792d666e864b (patch) | |
tree | aa8f3ae4649ae839bf4732b9d9386ef900f6a515 /tests/forms-test.c | |
parent | 1ef5769bf20fb3def1410928729e37c617d8d43e (diff) | |
download | libsoup-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/forms-test.c')
-rw-r--r-- | tests/forms-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/forms-test.c b/tests/forms-test.c index 8fd0de4a..d8db4b00 100644 --- a/tests/forms-test.c +++ b/tests/forms-test.c @@ -131,7 +131,7 @@ do_md5_test_curl (const char *uri, const char *file, const char *md5) g_free (file_arg); } -#define MD5_TEST_FILE SRCDIR "/index.txt" +#define MD5_TEST_FILE (g_test_get_filename (G_TEST_DIST, "index.txt", NULL)) #define MD5_TEST_FILE_BASENAME "index.txt" #define MD5_TEST_FILE_MIME_TYPE "text/plain" |