v4.x backport silent logs in addons tests
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
build v4.x
Description of change
Backport of https://github.com/nodejs/node/pull/8990 and https://github.com/nodejs/node/pull/9450
cc @TheAlphaNerd @danbev