You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2014/10/17 04:20:30 UTC

[1/2] ios commit: Ignore test build artifacts

Repository: cordova-ios
Updated Branches:
  refs/heads/master 9a3b1085f -> 3058347d4


Ignore test build artifacts


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

Branch: refs/heads/master
Commit: 45b4a85497396a474a32f01a516534f528000c77
Parents: 9a3b108
Author: Shazron Abdullah <sh...@apache.org>
Authored: Thu Oct 16 18:59:51 2014 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Thu Oct 16 18:59:51 2014 -0700

----------------------------------------------------------------------
 tests/CordovaLibTests/.gitignore | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/45b4a854/tests/CordovaLibTests/.gitignore
----------------------------------------------------------------------
diff --git a/tests/CordovaLibTests/.gitignore b/tests/CordovaLibTests/.gitignore
new file mode 100644
index 0000000..c795b05
--- /dev/null
+++ b/tests/CordovaLibTests/.gitignore
@@ -0,0 +1 @@
+build
\ No newline at end of file


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


[2/2] ios commit: CB-7812 - cordova-ios xcode unit-tests are failing from npm test, in Xcode it is fine

Posted by sh...@apache.org.
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/master
Commit: 3058347d4d52c9ae8ca21c95efb9b083fbbd19ec
Parents: 45b4a85
Author: Shazron Abdullah <sh...@apache.org>
Authored: Thu Oct 16 19:20:18 2014 -0700
Committer: Shazron Abdullah <sh...@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