[Fuego] [PATCH 2/2] boost: add more library search path

Liu Wenlong liuwl.fnst at cn.fujitsu.com
Mon Nov 13 10:33:34 UTC 2017


what has been added.
1. add platform/arch related search path;
2. to use different variable name for different library.

Signed-off-by: Liu Wenlong <liuwl.fnst at cn.fujitsu.com>
---
 engine/tests/Functional.boost/fuego_test.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/engine/tests/Functional.boost/fuego_test.sh b/engine/tests/Functional.boost/fuego_test.sh
index 9ef2b64..2f0d91c 100755
--- a/engine/tests/Functional.boost/fuego_test.sh
+++ b/engine/tests/Functional.boost/fuego_test.sh
@@ -7,8 +7,8 @@ BOOST_LIBRARY=('libboost_atomic.so' 'libboost_chrono.so' 'libboost_date_time.so'
 
 function test_pre_check {
     for lib in ${BOOST_LIBRARY[@]};do
-        is_on_target $lib TARGET_BOOST_LIB /lib:/usr/lib:/usr/local/lib
-        assert_define TARGET_BOOST_LIB
+        is_on_target $lib `echo ${lib%.*} | tr 'a-z' 'A-Z'` /lib:/usr/lib:/usr/local/lib:/usr/lib/$ARCH-linux-*/:/usr/lib/$PLATFORM-linux-*/
+        assert_define `echo ${lib%.*} | tr 'a-z' 'A-Z'`
     done
 }
 
-- 
2.7.4





More information about the Fuego mailing list