Make NPM tests faster
The test now builds with multiple jobs.
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user