From: David Kalnischkies Date: Thu, 15 Aug 2013 14:36:32 +0000 (+0200) Subject: do not call make from libapt/run-tests if its called by make X-Git-Tag: 0.9.11~6^2~5 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/1b32290b2e63fa96a3f27c75af04d14d713c4884 do not call make from libapt/run-tests if its called by make If we are called by make everything is build already and so this is just a noise nop we can just skip. (Noisy as it complains about being unable to communicate with the other makes to coordinate with the jobserver) Git-Dch: Ignore --- diff --git a/test/libapt/run-tests b/test/libapt/run-tests index f18be6d2b..4f34b03e8 100755 --- a/test/libapt/run-tests +++ b/test/libapt/run-tests @@ -2,9 +2,11 @@ set -e DIR=$(readlink -f $(dirname $0)) -echo "Compiling the tests …" -(cd $DIR && make) -echo "Running all testcases …" +if [ -z "$MAKELEVEL" ]; then + echo 'Compiling the tests …' + (cd $DIR && make) + echo 'Running all testcases …' +fi LDPATH="$DIR/../../build/bin" EXT="_libapt_test" EXIT_CODE=0