diff --git a/fix_ci_tests.patch b/fix_ci_tests.patch index c9bd3ce..4c43cc1 100644 --- a/fix_ci_tests.patch +++ b/fix_ci_tests.patch @@ -113,3 +113,17 @@ Index: node-v22.12.0/test/parallel/test-dns.js const parsed = dnstools.parseDNSPacket(msg); const domain = parsed.questions[0].domain; 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'); diff --git a/nodejs22.changes b/nodejs22.changes index 46bef60..235707a 100644 --- a/nodejs22.changes +++ b/nodejs22.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Dec 20 12:56:09 UTC 2024 - Adam Majer + +- 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