Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | From a9401b2289656c5a36dd1b0ecebf0d23e291ce70 Mon Sep 17 00:00:00 2001 |
| 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
| 3 | Date: Tue, 2 Oct 2018 23:58:24 +0800 |
| 4 | Subject: [PATCH] skip test_symbol_presence |
| 5 | |
| 6 | We cannot skip `01-test_symbol_presence.t' by configuring option `no-shared' |
| 7 | as INSTALL told us the shared libraries will not be built. |
| 8 | |
| 9 | [INSTALL snip] |
| 10 | Notes on shared libraries |
| 11 | ------------------------- |
| 12 | |
| 13 | For most systems the OpenSSL Configure script knows what is needed to |
| 14 | build shared libraries for libcrypto and libssl. On these systems |
| 15 | the shared libraries will be created by default. This can be suppressed and |
| 16 | only static libraries created by using the "no-shared" option. On systems |
| 17 | where OpenSSL does not know how to build shared libraries the "no-shared" |
| 18 | option will be forced and only static libraries will be created. |
| 19 | [INSTALL snip] |
| 20 | |
| 21 | Hence directly modification the case to skip it. |
| 22 | |
| 23 | Upstream-Status: Inappropriate [OE Specific] |
| 24 | |
| 25 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
| 26 | --- |
| 27 | test/recipes/01-test_symbol_presence.t | 3 +-- |
| 28 | 1 file changed, 1 insertion(+), 2 deletions(-) |
| 29 | |
| 30 | diff --git a/test/recipes/01-test_symbol_presence.t b/test/recipes/01-test_symbol_presence.t |
| 31 | index 7f2a2d7..0b93745 100644 |
| 32 | --- a/test/recipes/01-test_symbol_presence.t |
| 33 | +++ b/test/recipes/01-test_symbol_presence.t |
| 34 | @@ -14,8 +14,7 @@ use OpenSSL::Test::Utils; |
| 35 | |
| 36 | setup("test_symbol_presence"); |
| 37 | |
| 38 | -plan skip_all => "Only useful when building shared libraries" |
| 39 | - if disabled("shared"); |
| 40 | +plan skip_all => "The case needs debug symbols then we just disable it"; |
| 41 | |
| 42 | my @libnames = ("crypto", "ssl"); |
| 43 | my $testcount = scalar @libnames; |
| 44 | -- |
| 45 | 2.7.4 |
| 46 | |