Changeset 3186:03f115e06e7b in roaraudio


Ignore:
Timestamp:
01/22/10 21:42:48 (10 years ago)
Author:
phi
Branch:
default
Message:

make test work with soname set

Location:
tests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • tests/Makefile

    r3163 r3186  
    1111 
    1212#test: sandbox-install test-all sandbox-clean 
    13 test: test-all 
     13test: sandbox-clean sandbox-install test-all sandbox-clean 
    1414 
    1515test-all: test-runnable test-roard 
    1616 
    1717test-runnable: 
    18         ./test-runnable.sh "$(CLIENTS)" 
     18        PREFIX_BIN=$(PREFIX_BIN) PREFIX_LIB=$(PREFIX_LIB) ./test-runnable.sh "$(CLIENTS)" 
    1919test-roard: 
    20         ./test-roard.sh 
     20        PREFIX_BIN=$(PREFIX_BIN) PREFIX_LIB=$(PREFIX_LIB) ./test-roard.sh 
    2121sandbox-install: 
    2222        mkdir sandbox 
  • tests/common.sh

    r1411 r3186  
    22 
    33PWD=`pwd` 
    4 export LD_LIBRARY_PATH=$PWD/../lib/ 
     4PF="$PWD/sandbox" 
     5export LD_LIBRARY_PATH="$PF/$PREFIX_LIB" 
     6export BIN_PATH="$PF/$PREFIX_BIN" 
    57 
    68OK=0 
  • tests/test-roard.sh

    r1412 r3186  
    1010 
    1111printf "$FORMAT" 'Testing for general runnability' 
    12 if $LD_LIBRARY_PATH$c --no-listen --terminate --client-fh 0 < /dev/null > /dev/null 2> /dev/null 
     12if $BIN_PATH$c --no-listen --terminate --client-fh 0 < /dev/null > /dev/null 2> /dev/null 
    1313then 
    1414 _ok 
  • tests/test-runnable.sh

    r1411 r3186  
    1212 printf "%-16s : " "$c" 
    1313 
    14  $LD_LIBRARY_PATH$c --server '(INVALID)' < /dev/null > /dev/null 2> /dev/null 
     14 $BIN_PATH$c --server '(INVALID)' < /dev/null > /dev/null 2> /dev/null 
    1515 R=$? 
    1616 
Note: See TracChangeset for help on using the changeset viewer.