test: skip some binding tests on IBMi PASE · nodejs/node@9c84d77 · GitHub
Skip to content

Commit 9c84d77

Browse files
dmabupttargos
authored andcommitted
test: skip some binding tests on IBMi PASE
IBMi PASE Node.js always links to shared openssl and zlib libraries. So skip the static binding tests. PR-URL: #31967 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
1 parent eccd2a7 commit 9c84d77

3 files changed

Lines changed: 20 additions & 3 deletions

File tree

test/addons/addon.status

Lines changed: 4 additions & 0 deletions

test/addons/openssl-binding/binding.gyp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,13 @@
33
{
44
'target_name': 'binding',
55
'includes': ['../common.gypi'],
6+
'variables': {
7+
# Skip this building on IBM i.
8+
'aix_variant_name': '<!(uname -s)',
9+
},
610
'conditions': [
7-
['node_use_openssl=="true"', {
11+
['node_use_openssl=="true" and '
12+
'"<(aix_variant_name)"!="OS400"', {
813
'sources': ['binding.cc'],
914
'include_dirs': ['../../../deps/openssl/openssl/include'],
1015
}],

test/addons/zlib-binding/binding.gyp

Lines changed: 10 additions & 2 deletions

0 commit comments

Comments
 (0)