]> git.saurik.com Git - apt.git/blob - test/libapt/run-tests.sh
convert getlanguages_test to our new equals()
[apt.git] / test / libapt / run-tests.sh
1 #!/bin/sh
2 echo "Compiling the tests ..."
3 make
4 echo "Running all testcases ..."
5 PATH=$(pwd)/../../build/bin
6 for testapp in $(/bin/ls ${PATH}/*_libapt_test)
7 do
8 echo -n "Testing with \033[1;35m$(/usr/bin/basename ${testapp})\033[0m ... "
9 LD_LIBRARY_PATH=${PATH} ${testapp} && echo "\033[1;32mOKAY\033[0m" || echo "\033[1;31mFAILED\033[0m"
10 done