]> git.saurik.com Git - apt.git/blame - test/libapt/run-tests.sh
convert getlanguages_test to our new equals()
[apt.git] / test / libapt / run-tests.sh
CommitLineData
e4a30974
DK
1#!/bin/sh
2echo "Compiling the tests ..."
3make
4echo "Running all testcases ..."
5PATH=$(pwd)/../../build/bin
6for testapp in $(/bin/ls ${PATH}/*_libapt_test)
7do
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"
10done