diff mbox series

[nft,2/2] tests: build: run make on each ./configure option

Message ID 20180829163411.25422-2-pablo@netfilter.org
State Accepted
Delegated to: Pablo Neira
Headers show
Series None | expand

Commit Message

Pablo Neira Ayuso Aug. 29, 2018, 4:34 p.m. UTC
Not only ./configure, but make sure compilation does not break for each
option.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
---
 tests/build/run-tests.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tests/build/run-tests.sh b/tests/build/run-tests.sh
index db895c1dc249..626f6fd1577e 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