Run tests using parallel make (reducing build time)
This commit is contained in:
@@ -537,7 +537,7 @@ def build(args):
|
|||||||
def test(args):
|
def test(args):
|
||||||
setup_for_build(args)
|
setup_for_build(args)
|
||||||
print('{0}Running the main module tests{1}'.format(ANSI_YELLOW, ANSI_RESET))
|
print('{0}Running the main module tests{1}'.format(ANSI_YELLOW, ANSI_RESET))
|
||||||
call_make(['tapfiles'], parallel=0)
|
call_make(['tapfiles'])
|
||||||
call_make(['test-results'], parallel=0, silent=True)
|
call_make(['test-results'], parallel=0, silent=True)
|
||||||
|
|
||||||
def doExec(args):
|
def doExec(args):
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ ret=0
|
|||||||
|
|
||||||
if [ "$TEST" != "NO" ]
|
if [ "$TEST" != "NO" ]
|
||||||
then
|
then
|
||||||
make tapfiles || ret=$?
|
make -j2 tapfiles || ret=$?
|
||||||
|
|
||||||
make -sk test-results
|
make -sk test-results
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user