Make NPM tests faster

The test now builds with multiple jobs.
This commit is contained in:
Markus Mäkelä
2018-08-08 11:30:45 +03:00
parent 81d1a6122c
commit 37d9c09c5f

View File

@ -54,7 +54,7 @@ cmake $srcdir -DCMAKE_BUILD_TYPE=Debug \
-DDEFAULT_MODULE_CONFIGDIR=$maxscaledir \ -DDEFAULT_MODULE_CONFIGDIR=$maxscaledir \
-DDEFAULT_ADMIN_USER=`whoami` || exit 1 -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) # Create required directories (we could run the postinst script but it's a bit too invasive)
mkdir -p $maxscaledir/lib64/maxscale mkdir -p $maxscaledir/lib64/maxscale