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

Signed-off-by: Pablo Neira Ayuso <[email protected]>
---
 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

Reply via email to