Repository: cordova-mobile-spec
Updated Branches:
  refs/heads/master fe744fdc3 -> 4935cb5bc


CB-10572 Mobilespec tests not working for OSX

- OSX plugin list only activates when osx is only platform to test


Project: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/commit/4935cb5b
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/4935cb5b
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/4935cb5b

Branch: refs/heads/master
Commit: 4935cb5bc95e0cc14fb5009435826187fa784e43
Parents: fe744fd
Author: Tobias Bocanegra <[email protected]>
Authored: Thu Feb 11 14:32:21 2016 -0800
Committer: Tobias Bocanegra <[email protected]>
Committed: Thu Feb 11 14:32:21 2016 -0800

----------------------------------------------------------------------
 createmobilespec/createmobilespec.js | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/4935cb5b/createmobilespec/createmobilespec.js
----------------------------------------------------------------------
diff --git a/createmobilespec/createmobilespec.js 
b/createmobilespec/createmobilespec.js
index f03f0f5..32bba46 100755
--- a/createmobilespec/createmobilespec.js
+++ b/createmobilespec/createmobilespec.js
@@ -534,9 +534,11 @@ function installPlugins() {
     // special override for osx
     if (argv.osx) {
         if (platforms.length > 1) {
-            console.warn('Warning: OSX was added as platform to test - adding 
reduced plugin set due to compatibility problems.');
+            console.warn('Warning: Testing more than one platform at once 
might cause problems with unsupported plugins for OSX');
+        } else {
+            console.warn('Warning: Using reduced plugin list for OSX-only 
tests.');
+            plugins = DEFAULT_PLUGINS_OSX;
         }
-        plugins = DEFAULT_PLUGINS_OSX;
     }
 
     if (argv.plugins) {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to