diff --git a/tests/scripts/test_CMaizePrivateDepend.sh b/tests/scripts/test_CMaizePrivateDepend.sh index b270737b..cf7029e8 100755 --- a/tests/scripts/test_CMaizePrivateDepend.sh +++ b/tests/scripts/test_CMaizePrivateDepend.sh @@ -79,10 +79,16 @@ build_and_install $PACKAGE ${log_dir} $TOOLCHAIN $WORKSPACE/install \ # Verify that the installation was successful echo "Verifying package installation..." +version="1.0.0" +libext="so.$version" +if [[ "`uname`" == 'Darwin' ]]; then + libext=$version.dylib +fi + check_dir_exists "install/include/cmaize_private_depend" check_file_exists "install/include/cmaize_private_depend/cmaize_private_depend.hpp" check_dir_exists "install/lib/$PACKAGE" -check_file_exists "install/lib/$PACKAGE/lib${PACKAGE}.so.1.0.0" +check_file_exists "install/lib/$PACKAGE/lib${PACKAGE}.$libext" check_dir_exists "install/lib/$PACKAGE/cmake" check_file_exists "install/lib/$PACKAGE/cmake/${PACKAGE}Config.cmake" check_file_exists "install/lib/$PACKAGE/cmake/${PACKAGE}ConfigVersion.cmake" diff --git a/tests/scripts/test_CMaizePrivateDepend2.sh b/tests/scripts/test_CMaizePrivateDepend2.sh index 38403707..eec913eb 100755 --- a/tests/scripts/test_CMaizePrivateDepend2.sh +++ b/tests/scripts/test_CMaizePrivateDepend2.sh @@ -80,10 +80,16 @@ build_and_install $PACKAGE ${log_dir} $TOOLCHAIN $WORKSPACE/install \ # Verify that the installation was successful echo "Verifying package installation..." +version="1.0.0" +libext="so.$version" +if [[ "`uname`" == 'Darwin' ]]; then + libext=$version.dylib +fi + check_dir_exists "install/include/cmaize_private_depend_2" check_file_exists "install/include/cmaize_private_depend_2/cmaize_private_depend_2.hpp" check_dir_exists "install/lib/$PACKAGE" -check_file_exists "install/lib/$PACKAGE/lib${PACKAGE}.so.1.0.0" +check_file_exists "install/lib/$PACKAGE/lib${PACKAGE}.$libext" check_dir_exists "install/lib/$PACKAGE/cmake" check_file_exists "install/lib/$PACKAGE/cmake/${PACKAGE}Config.cmake" check_file_exists "install/lib/$PACKAGE/cmake/${PACKAGE}ConfigVersion.cmake" diff --git a/tests/scripts/test_CMaizePublicDepend.sh b/tests/scripts/test_CMaizePublicDepend.sh index 22c2b151..cccdfd09 100755 --- a/tests/scripts/test_CMaizePublicDepend.sh +++ b/tests/scripts/test_CMaizePublicDepend.sh @@ -78,10 +78,16 @@ build_and_install $PACKAGE ${log_dir} $TOOLCHAIN $WORKSPACE/install \ # Verify that the installation was successful echo "Verifying package installation..." +version="1.0.0" +libext="so.$version" +if [[ "`uname`" == 'Darwin' ]]; then + libext=$version.dylib +fi + check_dir_exists "install/include/cmaize_public_depend" check_file_exists "install/include/cmaize_public_depend/cmaize_public_depend.hpp" check_dir_exists "install/lib/$PACKAGE" -check_file_exists "install/lib/$PACKAGE/lib${PACKAGE}.so.1.0.0" +check_file_exists "install/lib/$PACKAGE/lib${PACKAGE}.$libext" check_dir_exists "install/lib/$PACKAGE/cmake" check_file_exists "install/lib/$PACKAGE/cmake/${PACKAGE}Config.cmake" check_file_exists "install/lib/$PACKAGE/cmake/${PACKAGE}ConfigVersion.cmake" diff --git a/tests/scripts/test_CMaizePublicDepend2.sh b/tests/scripts/test_CMaizePublicDepend2.sh index ba0b609b..7f9c5d8b 100755 --- a/tests/scripts/test_CMaizePublicDepend2.sh +++ b/tests/scripts/test_CMaizePublicDepend2.sh @@ -79,10 +79,16 @@ build_and_install $PACKAGE ${log_dir} $TOOLCHAIN $WORKSPACE/install \ # Verify that the installation was successful echo "Verifying package installation..." +version="1.0.0" +libext="so.$version" +if [[ "`uname`" == 'Darwin' ]]; then + libext=$version.dylib +fi + check_dir_exists "install/include/cmaize_public_depend_2" check_file_exists "install/include/cmaize_public_depend_2/cmaize_public_depend_2.hpp" check_dir_exists "install/lib/$PACKAGE" -check_file_exists "install/lib/$PACKAGE/lib${PACKAGE}.so.1.0.0" +check_file_exists "install/lib/$PACKAGE/lib${PACKAGE}.$libext" check_dir_exists "install/lib/$PACKAGE/cmake" check_file_exists "install/lib/$PACKAGE/cmake/${PACKAGE}Config.cmake" check_file_exists "install/lib/$PACKAGE/cmake/${PACKAGE}ConfigVersion.cmake" diff --git a/tests/scripts/test_CMakePrivate.sh b/tests/scripts/test_CMakePrivate.sh index ea90df37..582f2ea3 100755 --- a/tests/scripts/test_CMakePrivate.sh +++ b/tests/scripts/test_CMakePrivate.sh @@ -81,9 +81,14 @@ build_and_install $PACKAGE ${log_dir} $TOOLCHAIN $WORKSPACE/install \ # Verify that the installation was successful echo "Verifying package installation..." +libext="so" +if [[ "`uname`" == 'Darwin' ]]; then + libext=dylib +fi + check_dir_exists "install/include/cmake_private" check_file_exists "install/include/cmake_private/cmake_private.hpp" check_dir_exists "install/lib/cmakeprivate" -check_file_exists "install/lib/cmakeprivate/libCMakePrivate.so" +check_file_exists "install/lib/cmakeprivate/libCMakePrivate.$libext" check_dir_exists "install/lib/cmakeprivate/cmake" check_file_exists "install/lib/cmakeprivate/cmake/${PACKAGE}Config.cmake" diff --git a/tests/scripts/test_CMakePublic.sh b/tests/scripts/test_CMakePublic.sh index 00682ca8..0640c733 100755 --- a/tests/scripts/test_CMakePublic.sh +++ b/tests/scripts/test_CMakePublic.sh @@ -79,11 +79,16 @@ build_and_install $PACKAGE ${log_dir} $TOOLCHAIN $WORKSPACE/install \ # Verify that the installation was successful echo "Verifying package installation..." +libext="so" +if [[ "`uname`" == 'Darwin' ]]; then + libext=dylib +fi + check_dir_exists "install/include/cmake_public" check_file_exists "install/include/cmake_public/cmake_public.hpp" check_dir_exists "install/lib/CMakePublic" -check_file_exists "install/lib/CMakePublic/libhello.so" -check_file_exists "install/lib/CMakePublic/libworld.so" +check_file_exists "install/lib/CMakePublic/libhello.$libext" +check_file_exists "install/lib/CMakePublic/libworld.$libext" check_dir_exists "install/lib/CMakePublic/cmake" check_file_exists "install/lib/CMakePublic/cmake/${PACKAGE}Config.cmake" check_file_exists "install/lib/CMakePublic/cmake/helloConfig.cmake"