From 37d9c09c5f52f32481526e45f397a9d2b27b222d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Wed, 8 Aug 2018 11:30:45 +0300 Subject: [PATCH] Make NPM tests faster The test now builds with multiple jobs. --- test/run_npm_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/run_npm_test.sh b/test/run_npm_test.sh index b56b9c463..49d32e6f5 100755 --- a/test/run_npm_test.sh +++ b/test/run_npm_test.sh @@ -54,7 +54,7 @@ cmake $srcdir -DCMAKE_BUILD_TYPE=Debug \ -DDEFAULT_MODULE_CONFIGDIR=$maxscaledir \ -DDEFAULT_ADMIN_USER=`whoami` || exit 1 -make install || exit 1 +make -j $(grep -c processor /proc/cpuinfo) install || exit 1 # Create required directories (we could run the postinst script but it's a bit too invasive) mkdir -p $maxscaledir/lib64/maxscale