Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5A8D2106B5 for ; Fri, 17 Oct 2014 02:20:32 +0000 (UTC) Received: (qmail 74952 invoked by uid 500); 17 Oct 2014 02:20:30 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 74849 invoked by uid 500); 17 Oct 2014 02:20:30 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 74830 invoked by uid 99); 17 Oct 2014 02:20:30 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Oct 2014 02:20:30 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 651F8939C50; Fri, 17 Oct 2014 02:20:30 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: shazron@apache.org To: commits@cordova.apache.org Date: Fri, 17 Oct 2014 02:20:31 -0000 Message-Id: <4ebd42430fc64c539dd709aca60d0856@git.apache.org> In-Reply-To: <15bca81a44f24927b67840feba67376c@git.apache.org> References: <15bca81a44f24927b67840feba67376c@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/2] ios commit: CB-7812 - cordova-ios xcode unit-tests are failing from npm test, in Xcode it is fine 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 Authored: Thu Oct 16 19:20:18 2014 -0700 Committer: Shazron Abdullah 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