You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by dr...@apache.org on 2013/10/15 20:39:53 UTC

[12/31] git commit: added missing exit codes

added missing exit codes


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

Branch: refs/heads/master
Commit: 55f7a3e18827d847671547096171ccb328d8c579
Parents: 161839b
Author: David Kemp <dr...@google.com>
Authored: Thu Aug 22 13:45:37 2013 -0400
Committer: David Kemp <dr...@chromium.org>
Committed: Tue Oct 15 14:11:49 2013 -0400

----------------------------------------------------------------------
 src/build/makers/mobile_spec/jasmine-jsreporter.js | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-medic/blob/55f7a3e1/src/build/makers/mobile_spec/jasmine-jsreporter.js
----------------------------------------------------------------------
diff --git a/src/build/makers/mobile_spec/jasmine-jsreporter.js b/src/build/makers/mobile_spec/jasmine-jsreporter.js
index c804651..578afe5 100644
--- a/src/build/makers/mobile_spec/jasmine-jsreporter.js
+++ b/src/build/makers/mobile_spec/jasmine-jsreporter.js
@@ -135,6 +135,11 @@ limitations under the License.
                     if (xhr.status==201) {
                         // HTTP 201 Created
                         // we added the doc, hooray
+                        if(!(jasmine.runnerResults.failed)) {
+                            console.log('[[[ TEST OK ]]]');
+                        } else {
+                            console.log('[[[ TEST FAILED ]]]');
+                        }
                         console.log('>>> DONE <<<');
                         if (blackberry && blackberry.app && blackberry.app.exit) blackberry.app.exit();
                     } else if (xhr.status == 409) {