From 63fad159e84d5ea86ddb28dc1c1aad8459d98554 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 9 Apr 2009 01:24:41 +0000 Subject: Skip test #558 and #559 also when using a Win32 DLL --- tests/libtest/lib558.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'tests/libtest/lib558.c') diff --git a/tests/libtest/lib558.c b/tests/libtest/lib558.c index 6036fb2a8..eebf6dfa5 100644 --- a/tests/libtest/lib558.c +++ b/tests/libtest/lib558.c @@ -42,8 +42,16 @@ * ones in the public API. */ +#if defined(CURL_HIDDEN_SYMBOLS) +# define SKIP_TEST 1 +#elif defined(WIN32) && !defined(CURL_STATICLIB) +# define SKIP_TEST 1 +#else +# undef SKIP_TEST +#endif + -#if !defined(CURL_HIDDEN_SYMBOLS) +#if !defined(SKIP_TEST) #ifdef LIB559 static Curl_addrinfo *fake_ai(void) @@ -167,7 +175,7 @@ cleanup: } -#else /* !defined(CURL_HIDDEN_SYMBOLS) */ +#else /* !defined(SKIP_TEST) */ int test(char *URL) @@ -178,4 +186,4 @@ int test(char *URL) } -#endif /* !defined(CURL_HIDDEN_SYMBOLS) */ +#endif /* !defined(SKIP_TEST) */ -- cgit v1.2.3