From b61488fe24ba0df85d0fc76703d769ed68e6920c Mon Sep 17 00:00:00 2001 From: Xu Meng Date: Mon, 13 Apr 2020 18:41:00 -0500 Subject: [PATCH] test: only detect uname on supported os MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To skip some tests on IBMi PASE, we use uname to detect the true os name, but on Windows machines there is no uname available. PR-URL: https://github.com/nodejs/node/pull/32833 Reviewed-By: James M Snell Reviewed-By: Tobias Nießen Reviewed-By: Sam Roberts Reviewed-By: Ujjwal Sharma Reviewed-By: Anna Henningsen Reviewed-By: Richard Lau --- test/addons/openssl-binding/binding.gyp | 26 +++++++++++++++++-------- test/addons/zlib-binding/binding.gyp | 17 +++++++++++----- 2 files changed, 30 insertions(+), 13 deletions(-) diff --git a/test/addons/openssl-binding/binding.gyp b/test/addons/openssl-binding/binding.gyp index 06c5d15057f586..c9ce9f1b2a6f6a 100644 --- a/test/addons/openssl-binding/binding.gyp +++ b/test/addons/openssl-binding/binding.gyp @@ -3,15 +3,25 @@ { 'target_name': 'binding', 'includes': ['../common.gypi'], - 'variables': { - # Skip this building on IBM i. - 'aix_variant_name': '