test: move common.isCPPSymbolsNotMapped to tick-processor tests

`common.isCPPSymbolsNotMapped` is used only by the tests in the
`test/tick-processor` folder. Move it local to those to get it
out of `common`.

PR-URL: https://github.com/nodejs/node/pull/22459
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
This commit is contained in:
James M Snell
2018-08-22 08:14:31 -07:00
parent 5673017c33
commit 6bb96a1183
8 changed files with 28 additions and 19 deletions

View File

@@ -1,10 +1,11 @@
'use strict';
const common = require('../common');
const { isCPPSymbolsNotMapped } = require('./util');
if (!common.enoughTestCpu)
common.skip('test is CPU-intensive');
if (common.isCPPSymbolsNotMapped) {
if (isCPPSymbolsNotMapped) {
common.skip('C++ symbols are not mapped for this os.');
}