SHA256
1
0
forked from pool/nodejs22

disable wpt/test-webcrypto.js on s390x

This commit is contained in:
Adam Majer 2024-12-20 13:58:35 +01:00
parent 583dabc4b3
commit 9832a6e96a
2 changed files with 20 additions and 0 deletions

View File

@ -113,3 +113,17 @@ Index: node-v22.12.0/test/parallel/test-dns.js
const parsed = dnstools.parseDNSPacket(msg); const parsed = dnstools.parseDNSPacket(msg);
const domain = parsed.questions[0].domain; const domain = parsed.questions[0].domain;
assert.strictEqual(domain, 'example.org'); assert.strictEqual(domain, 'example.org');
Index: node-v22.12.0/test/wpt/test-webcrypto.js
===================================================================
--- node-v22.12.0.orig/test/wpt/test-webcrypto.js
+++ node-v22.12.0/test/wpt/test-webcrypto.js
@@ -1,7 +1,8 @@
'use strict';
const common = require('../common');
-if (!common.hasCrypto)
+const os = require('os')
+if (!common.hasCrypto || os.arch() == 's390x')
common.skip('missing crypto');
const { WPTRunner } = require('../common/wpt');

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Dec 20 12:56:09 UTC 2024 - Adam Majer <adam.majer@suse.de>
- fix_ci_tests.patch: skip wpt/test-webcrypto on s390x as it has
unexpected differences between z13 and z15
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Dec 5 13:53:22 UTC 2024 - Adam Majer <adam.majer@suse.de> Thu Dec 5 13:53:22 UTC 2024 - Adam Majer <adam.majer@suse.de>