diff options
author | Yang Tse <yangsita@gmail.com> | 2009-04-09 01:24:41 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-04-09 01:24:41 +0000 |
commit | 63fad159e84d5ea86ddb28dc1c1aad8459d98554 (patch) | |
tree | b61c06d25178934f0412d8cc34203d4905f67565 | |
parent | e5f1480a384729e9423ed0f2591a5cf02e9b943f (diff) |
Skip test #558 and #559 also when using a Win32 DLL
-rw-r--r-- | tests/libtest/lib558.c | 14 |
1 files changed, 11 insertions, 3 deletions
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) */ |