From: Pablo Neira Ayuso Date: Wed, 29 Aug 2018 16:21:16 +0000 (+0200) Subject: tests: build: run make on each ./configure option X-Git-Tag: v0.9.1~297 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=176e38508d077d179b73bae8fde8c350db46d606;p=thirdparty%2Fnftables.git tests: build: run make on each ./configure option Not only ./configure, but make sure compilation does not break for each option. Signed-off-by: Pablo Neira Ayuso --- diff --git a/tests/build/run-tests.sh b/tests/build/run-tests.sh index db895c1d..626f6fd1 100755 --- a/tests/build/run-tests.sh +++ b/tests/build/run-tests.sh @@ -35,7 +35,8 @@ echo "Build works. Now, testing compile options" for var in "${argument[@]}" ; do echo "[EXECUTING] Testing compile option $var" - $cmd $var >/dev/null 2>>$log_file + ./configure $var >/dev/null 2>>$log_file + make -j 8 >/dev/null 2>>$log_file rt=$? echo -en "\033[1A\033[K" # clean the [EXECUTING] foobar line