Changeset 3100


Ignore:
Timestamp:
Nov 1, 2013, 9:51:28 AM (8 years ago)
Author:
Peter
Message:

SKIP test when shared or static libs is not available

Location:
trunk/test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/defs.sh.in

    r3051 r3100  
    8484      test @have_libbam@ = "yes" || exit_skip no libbam
    8585      ;;
     86      libmy-shared)
     87      test -r test/lib/libmy-shared.la || exit_fatal "no 'libmy-shared.la'"
     88      test -s test/lib/libmy-shared.la || exit_skip no shared lib
     89      ;;
     90      libmy-static)
     91      test -r test/lib/libmy-static.a || exit_fatal "no 'libmy-static.a'"
     92      test -s test/lib/libmy-static.a || exit_skip no static lib
     93      ;;
    8694      libtool)
    8795      # GNU libtool comes as glibtool on Mac OS
  • trunk/test/yat_lt_link_la_ifelse_test.sh

    r3069 r3100  
    1919# along with yat. If not, see <http://www.gnu.org/licenses/>.
    2020
    21 required="autoconf automake libtool"
     21required="autoconf automake libtool libmy-static libmy-shared"
    2222set -e
    2323. ./test/init.sh || exit 99
     
    6666
    6767bootstrap
    68 ./configure || exit_fail
     68if ./configure; then
     69    echo OK;
     70else
     71    tail -n 500 config.log;
     72    exit_fail configure failed;
     73fi
     74
    6975exit_success
Note: See TracChangeset for help on using the changeset viewer.