From dda7bdbf09af79b1d0795a3680b41856d2d69aa9 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Sun, 6 Dec 2020 16:56:18 -0800 Subject: [PATCH] skip less --- test/build.test.js | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/test/build.test.js b/test/build.test.js index 45bae25b..e65f22a3 100644 --- a/test/build.test.js +++ b/test/build.test.js @@ -273,25 +273,25 @@ apps.forEach(function(app) { }); }); }); - - test(app.name + ' builds ' + app.args, function(t) { - run('node-pre-gyp', 'rebuild', '--fallback-to-build --loglevel=error', app, {}, function(err,stdout,stderr) { - t.ifError(err); - if (process.platform !== 'win32') { - if (app.args.indexOf('--debug') > -1) { - t.stringContains(stdout,'Debug/'+app.name+'.node'); - } else { - t.stringContains(stdout,'Release/'+app.name+'.node'); - } - } - t.end(); - }); - }); } else { // Skipping since this support broke upstream in node-gyp: https://github.com/nodejs/node-gyp/pull/1616 test.skip(app.name + ' builds with unparsed options ' + app.args, function() {}); } + test(app.name + ' builds ' + app.args, function(t) { + run('node-pre-gyp', 'rebuild', '--fallback-to-build --loglevel=error', app, {}, function(err,stdout,stderr) { + t.ifError(err); + if (process.platform !== 'win32') { + if (app.args.indexOf('--debug') > -1) { + t.stringContains(stdout,'Debug/'+app.name+'.node'); + } else { + t.stringContains(stdout,'Release/'+app.name+'.node'); + } + } + t.end(); + }); + }); + test(app.name + ' is found ' + app.args, function(t) { run('node-pre-gyp', 'reveal', 'module_path --silent', app, {}, function(err,stdout,stderr) { t.ifError(err);