From 176e38508d077d179b73bae8fde8c350db46d606 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Wed, 29 Aug 2018 18:21:16 +0200 Subject: 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 --- tests/build/run-tests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/build/run-tests.sh') 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 -- cgit v1.2.3