test: remove unnecessary syscall to cpuinfo · nodejs/node@60c8fc0 · GitHub
Skip to content

Commit 60c8fc0

Browse files
anonrigtargos
authored andcommitted
test: remove unnecessary syscall to cpuinfo
PR-URL: #56968 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 8e6c191 commit 60c8fc0

12 files changed

Lines changed: 14 additions & 14 deletions

test/common/index.js

Lines changed: 3 additions & 3 deletions

test/pummel/test-crypto-dh-hash.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if (!common.hasCrypto) {
2626
common.skip('node compiled without OpenSSL.');
2727
}
2828

29-
if (common.isPi) {
29+
if (common.isPi()) {
3030
common.skip('Too slow for Raspberry Pi devices');
3131
}
3232

test/pummel/test-crypto-dh-keys.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if (!common.hasCrypto) {
2626
common.skip('node compiled without OpenSSL.');
2727
}
2828

29-
if (common.isPi) {
29+
if (common.isPi()) {
3030
common.skip('Too slow for Raspberry Pi devices');
3131
}
3232

test/pummel/test-dh-regr.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if (!common.hasCrypto) {
2626
common.skip('missing crypto');
2727
}
2828

29-
if (common.isPi) {
29+
if (common.isPi()) {
3030
common.skip('Too slow for Raspberry Pi devices');
3131
}
3232

test/pummel/test-fs-watch-system-limit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if (!common.isLinux) {
99
common.skip('The fs watch limit is OS-dependent');
1010
}
1111

12-
if (common.isPi) {
12+
if (common.isPi()) {
1313
common.skip('Too slow for Raspberry Pi devices');
1414
}
1515

test/pummel/test-hash-seed.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// Check that spawn child doesn't create duplicated entries
44
const common = require('../common');
55

6-
if (common.isPi) {
6+
if (common.isPi()) {
77
common.skip('Too slow for Raspberry Pi devices');
88
}
99

test/pummel/test-heapsnapshot-near-heap-limit-bounded.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const common = require('../common');
44

5-
if (common.isPi) {
5+
if (common.isPi()) {
66
common.skip('Too slow for Raspberry Pi devices');
77
}
88

test/pummel/test-heapsnapshot-near-heap-limit-by-api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
const common = require('../common');
55

6-
if (common.isPi) {
6+
if (common.isPi()) {
77
common.skip('Too slow for Raspberry Pi devices');
88
}
99

test/pummel/test-heapsnapshot-near-heap-limit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const common = require('../common');
44

5-
if (common.isPi) {
5+
if (common.isPi()) {
66
common.skip('Too slow for Raspberry Pi devices');
77
}
88

test/pummel/test-next-tick-infinite-calls.js

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)