@ -21,7 +21,9 @@ MAKEFLAGS += --no-builtin-rules
# GNU Make earlier than 4.0 don't have the output-sync option, but we need it
# GNU Make earlier than 4.0 don't have the output-sync option, but we need it
# to make parallel simulator test output readable. (otherwise it gets interleaved)
# to make parallel simulator test output readable. (otherwise it gets interleaved)
i f e q ( $( shell test $ ( firstword $ ( subst ., ,$ ( MAKE_VERSION ) ) ) -ge 4; echo $ $ ?) , 0 )
i f e q ( $( shell test $ ( firstword $ ( subst ., ,$ ( MAKE_VERSION ) ) ) -ge 4; echo $ $ ?) , 0 )
SUBDIR_MAKEFLAGS += --output-sync= target
MAKEFLAGS += --output-sync= target
e l s e
_using_old_make = 1
e n d i f
e n d i f
i n c l u d e $( dir $ ( abspath $ ( lastword $ ( MAKEFILE_LIST ) ) ) ) / e t c / m a k e f i l e s / a r d u i n o - c l i . m k
i n c l u d e $( dir $ ( abspath $ ( lastword $ ( MAKEFILE_LIST ) ) ) ) / e t c / m a k e f i l e s / a r d u i n o - c l i . m k
@ -73,6 +75,9 @@ update:
git submodule update --init --recursive
git submodule update --init --recursive
simulator-tests :
simulator-tests :
i f n e q ( $( _using_old_make ) , )
$( info You're using an older version of GNU Make that doesn' t offer the --output-sync option. If you' re running the test suite in parallel, output may be garbled. You might consider using GNU Make 4.0 or later instead)
e n d i f
$( MAKE) -C tests all
$( MAKE) -C tests all
docker-simulator-tests :
docker-simulator-tests :