diff options
Diffstat (limited to 'tests/xmlrpc-server-test.c')
-rw-r--r-- | tests/xmlrpc-server-test.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/xmlrpc-server-test.c b/tests/xmlrpc-server-test.c index 75f6c911..421348b1 100644 --- a/tests/xmlrpc-server-test.c +++ b/tests/xmlrpc-server-test.c @@ -5,6 +5,8 @@ #include "test-utils.h" +#ifdef HAVE_PHP_XMLRPC + #ifdef G_GNUC_BEGIN_IGNORE_DEPRECATIONS G_GNUC_BEGIN_IGNORE_DEPRECATIONS #endif @@ -345,3 +347,13 @@ main (int argc, char **argv) test_cleanup (); return errors != 0; } + +#else /* HAVE_PHP_XMLRPC */ + +int +main (int argc, char **argv) +{ + return 77; /* SKIP */ +} + +#endif |