diff options
Diffstat (limited to 'tests/range-test.c')
-rw-r--r-- | tests/range-test.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/tests/range-test.c b/tests/range-test.c index 4d008d46..c23ba462 100644 --- a/tests/range-test.c +++ b/tests/range-test.c @@ -2,8 +2,6 @@ #include "test-utils.h" -#ifdef HAVE_APACHE - SoupBuffer *full_response; int total_length; char *test_response; @@ -332,6 +330,8 @@ do_apache_range_test (void) { SoupSession *session; + SOUP_TEST_SKIP_IF_NO_APACHE; + session = soup_test_session_new (SOUP_TYPE_SESSION_ASYNC, NULL); #if HAVE_APACHE_2_2 @@ -397,13 +397,3 @@ main (int argc, char **argv) test_cleanup (); return ret; } - -#else /* HAVE_APACHE */ - -int -main (int argc, char **argv) -{ - return 77; /* SKIP */ -} - -#endif |