mirror of
https://github.com/nodejs/node.git
synced 2025-05-08 21:49:48 +00:00

All hosts in CI return true for common.enoughTestCpu. At least for our CI, it is always true, so we can remove it. PR-URL: https://github.com/nodejs/node/pull/39161 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
20 lines
461 B
JavaScript
20 lines
461 B
JavaScript
'use strict';
|
|
const common = require('../common');
|
|
const { isCPPSymbolsNotMapped } = require('./util');
|
|
|
|
if (isCPPSymbolsNotMapped) {
|
|
common.skip('C++ symbols are not mapped for this os.');
|
|
}
|
|
|
|
const base = require('./tick-processor-base.js');
|
|
|
|
base.runTest({
|
|
pattern: /^{/,
|
|
code: `function f() {
|
|
require('vm').createContext({});
|
|
setImmediate(function() { f(); });
|
|
};
|
|
f();`,
|
|
profProcessFlags: ['--preprocess']
|
|
});
|