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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Not only ./configure, but make sure compilation does not break for each
option.

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

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
 
-- 
2.11.0




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux