You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2015/02/05 20:32:34 UTC

[1/2] cordova-medic git commit: Ensure Windows apps have debugging enabled to avoid suspending

Repository: cordova-medic
Updated Branches:
  refs/heads/master 4c475e59b -> e7875c4cf


Ensure Windows apps have debugging enabled to avoid suspending


Project: http://git-wip-us.apache.org/repos/asf/cordova-medic/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-medic/commit/951b99c7
Tree: http://git-wip-us.apache.org/repos/asf/cordova-medic/tree/951b99c7
Diff: http://git-wip-us.apache.org/repos/asf/cordova-medic/diff/951b99c7

Branch: refs/heads/master
Commit: 951b99c732fc262c18e96890ced2e809fe5a4379
Parents: 4c475e5
Author: Nikhil Khandelwal <ni...@microsoft.com>
Authored: Thu Feb 5 00:17:01 2015 -0800
Committer: Nikhil Khandelwal <ni...@microsoft.com>
Committed: Thu Feb 5 11:07:01 2015 -0800

----------------------------------------------------------------------
 src/build/makers/windows.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-medic/blob/951b99c7/src/build/makers/windows.js
----------------------------------------------------------------------
diff --git a/src/build/makers/windows.js b/src/build/makers/windows.js
index e38565b..71a91c6 100644
--- a/src/build/makers/windows.js
+++ b/src/build/makers/windows.js
@@ -86,7 +86,7 @@ module.exports = function(output, sha, entry_point, couchdb_host, test_timeout,
                 fs.writeFileSync(path.join(output, '..', '..', 'www', 'medic.json'),medic_config,'utf-8');
                 
                 // patch WindowsStoreAppUtils script to allow app run w/out active desktop/remote session
-                if (build_target == "store80" || build_target == "store") {
+                if (build_target == "win") {
                     log('Patching WindowsStoreAppUtils to allow app to be run in automated mode');
                     shell.cp('-f', path.join(output, '..', '..', '..','medic','src', 'utils', 'EnableDebuggingForPackage.ps1'),
                              path.join(output, 'cordova', 'lib'));


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


[2/2] cordova-medic git commit: Print summary of failing tests

Posted by an...@apache.org.
Print summary of failing tests


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

Branch: refs/heads/master
Commit: e7875c4cf19500174482396c86a02b960e2e497e
Parents: 951b99c
Author: Nikhil Khandelwal <ni...@microsoft.com>
Authored: Thu Feb 5 09:05:10 2015 -0800
Committer: Nikhil Khandelwal <ni...@microsoft.com>
Committed: Thu Feb 5 11:07:06 2015 -0800

----------------------------------------------------------------------
 testchecker.js | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-medic/blob/e7875c4c/testchecker.js
----------------------------------------------------------------------
diff --git a/testchecker.js b/testchecker.js
index 5e7d3ff..e1465c7 100644
--- a/testchecker.js
+++ b/testchecker.js
@@ -61,7 +61,15 @@ module.exports = function(sha, dbHost) {
             console.log("No failures were detected");
             return true;
         } else {
+            console.log("Total failures: " + testResult.mobilespec.failures);
             console.log('Test failures were detected. Open ' + dbHost + '/_utils/document.html?mobilespec_results/' + testResult._id + ' for details');
+            console.log("Failing tests:");
+            testResult.mobilespec.results.forEach(function(result) {
+                if(result.status === "failed") {
+                    console.log(result.fullName);
+                }
+            });
+    
             return false;
         }
     };


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