From 9d20d8c8eb99ff85d082956813c3d624132d5399 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Thu, 10 Dec 2009 21:48:54 +0100 Subject: merged -r 1920..1922 from lp:~donkult/apt/sid --- test/libapt/run-tests.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 test/libapt/run-tests.sh (limited to 'test/libapt') diff --git a/test/libapt/run-tests.sh b/test/libapt/run-tests.sh new file mode 100755 index 000000000..365bbe215 --- /dev/null +++ b/test/libapt/run-tests.sh @@ -0,0 +1,10 @@ +#!/bin/sh +echo "Compiling the tests ..." +make +echo "Running all testcases ..." +PATH=$(pwd)/../../build/bin +for testapp in $(/bin/ls ${PATH}/*_libapt_test) +do + echo -n "Testing with \033[1;35m$(/usr/bin/basename ${testapp})\033[0m ... " + LD_LIBRARY_PATH=${PATH} ${testapp} && echo "\033[1;32mOKAY\033[0m" || echo "\033[1;31mFAILED\033[0m" +done -- cgit v1.2.3