test: skip some pummel tests on slower machines

Skipped the longest-running pummel tests on the Raspberry Pi devices in
CI.

Refs: https://github.com/nodejs/node/pull/34289#issuecomment-823354459

PR-URL: https://github.com/nodejs/node/pull/38394
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
This commit is contained in:
Rich Trott
2021-04-24 21:13:48 -07:00
parent 09c97b8138
commit 4dc8e769a5
6 changed files with 41 additions and 5 deletions

View File

@@ -21,8 +21,15 @@
'use strict';
const common = require('../common');
if (!common.hasCrypto)
if (!common.hasCrypto) {
common.skip('node compiled without OpenSSL.');
}
if ((process.config.variables.arm_version === '6') ||
(process.config.variables.arm_version === '7')) {
common.skip('Too slow for armv6 and armv7 bots');
}
const assert = require('assert');
const crypto = require('crypto');

View File

@@ -21,8 +21,15 @@
'use strict';
const common = require('../common');
if (!common.hasCrypto)
if (!common.hasCrypto) {
common.skip('node compiled without OpenSSL.');
}
if ((process.config.variables.arm_version === '6') ||
(process.config.variables.arm_version === '7')) {
common.skip('Too slow for armv6 and armv7 bots');
}
const assert = require('assert');
const crypto = require('crypto');

View File

@@ -21,6 +21,7 @@
'use strict';
const common = require('../common');
if (!common.hasCrypto) {
common.skip('node compiled without OpenSSL.');
}

View File

@@ -21,8 +21,15 @@
'use strict';
const common = require('../common');
if (!common.hasCrypto)
if (!common.hasCrypto) {
common.skip('missing crypto');
}
if ((process.config.variables.arm_version === '6') ||
(process.config.variables.arm_version === '7')) {
common.skip('Too slow for armv6 and armv7 bots');
}
const assert = require('assert');
const crypto = require('crypto');

View File

@@ -20,7 +20,12 @@
// USE OR OTHER DEALINGS IN THE SOFTWARE.
'use strict';
require('../common');
const common = require('../common');
if ((process.config.variables.arm_version === '6') ||
(process.config.variables.arm_version === '7')) {
common.skip('Too slow for armv6 and armv7 bots');
}
let complete = 0;

View File

@@ -1,7 +1,16 @@
'use strict';
const common = require('../common');
if (!common.hasCrypto) common.skip('missing crypto');
if (!common.hasCrypto) {
common.skip('missing crypto');
}
if ((process.config.variables.arm_version === '6') ||
(process.config.variables.arm_version === '7')) {
common.skip('Too slow for armv6 and armv7 bots');
}
common.requireNoPackageJSONAbove();
const { debuglog } = require('util');