mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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: https://github.com/nodejs/node/pull/31967 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
This commit is contained in:
1 parent
eccd2a7740
commit
9c84d7773a
3 files changed
+20
-3
No files matched your search
@@ -9,3 +9,7 @@ prefix addons
|
||||
[$arch==arm]
|
||||
# https://github.com/nodejs/node/issues/30786
|
||||
openssl-binding/test: PASS,FLAKY
|
||||
|
||||
[$system==ibmi]
|
||||
openssl-binding/test: SKIP
|
||||
zlib-binding/test: SKIP
|
||||
@@ -3,8 +3,13 @@
|
||||
{
|
||||
'target_name': 'binding',
|
||||
'includes': ['../common.gypi'],
|
||||
'variables': {
|
||||
# Skip this building on IBM i.
|
||||
'aix_variant_name': '<!(uname -s)',
|
||||
},
|
||||
'conditions': [
|
||||
['node_use_openssl=="true"', {
|
||||
['node_use_openssl=="true" and '
|
||||
'"<(aix_variant_name)"!="OS400"', {
|
||||
'sources': ['binding.cc'],
|
||||
'include_dirs': ['../../../deps/openssl/openssl/include'],
|
||||
}],
|
||||
|
||||
@@ -2,8 +2,16 @@
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'binding',
|
||||
'sources': ['binding.cc'],
|
||||
'include_dirs': ['../../../deps/zlib'],
|
||||
'variables': {
|
||||
# Skip this building on IBM i.
|
||||
'aix_variant_name': '<!(uname -s)',
|
||||
},
|
||||
'conditions': [
|
||||
[ '"<(aix_variant_name)"!="OS400"', {
|
||||
'sources': ['binding.cc'],
|
||||
'include_dirs': ['../../../deps/zlib'],
|
||||
}],
|
||||
],
|
||||
'includes': ['../common.gypi'],
|
||||
},
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user