cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject [14/50] ios commit: CB-7812 - cordova-ios xcode unit-tests are failing from npm test, in Xcode it is fine
Date Fri, 31 Oct 2014 23:43:34 GMT
CB-7812 - cordova-ios xcode unit-tests are failing from npm test, in Xcode it is fine


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/3058347d
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/3058347d
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/3058347d

Branch: refs/heads/wkwebview
Commit: 3058347d4d52c9ae8ca21c95efb9b083fbbd19ec
Parents: 45b4a85
Author: Shazron Abdullah <shazron@apache.org>
Authored: Thu Oct 16 19:20:18 2014 -0700
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Thu Oct 16 19:20:18 2014 -0700

----------------------------------------------------------------------
 tests/spec/cordovalib.spec.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/3058347d/tests/spec/cordovalib.spec.js
----------------------------------------------------------------------
diff --git a/tests/spec/cordovalib.spec.js b/tests/spec/cordovalib.spec.js
index f1236ff..dc581ff 100644
--- a/tests/spec/cordovalib.spec.js
+++ b/tests/spec/cordovalib.spec.js
@@ -23,6 +23,7 @@ var shell = require('shelljs'),
     util = require('util');
     
     var tests_dir = path.join(spec, '..');
+    var artifacts_dir = path.join(spec, '..', 'CordovaLibTests', 'build');
     
 describe('cordova-lib', function() {
 
@@ -42,7 +43,7 @@ describe('cordova-lib', function() {
         }
         
         // run the tests
-        command = util.format('xcodebuild test -workspace %s/cordova-ios.xcworkspace -scheme
CordovaLibTests -destination "platform=iOS Simulator,name=iPhone 5"', tests_dir);
+        command = util.format('xcodebuild test -workspace %s/cordova-ios.xcworkspace -scheme
CordovaLibTests -destination "platform=iOS Simulator,name=iPhone 5" CONFIGURATION_BUILD_DIR="%s"',
tests_dir, artifacts_dir);
         shell.echo(command);
         return_code = shell.exec(command).code;
         expect(return_code).toBe(0);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message