From: Wolfram Schneider Date: Wed, 29 Jan 2014 18:20:34 +0000 (+0000) Subject: keep status of jasmine test in mkws.jasmine_done X-Git-Tag: 1.0.0~1572 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=ca6f73053a08da415a02b697ae8bcfd5bf676c3a keep status of jasmine test in mkws.jasmine_done that should make it possible to poll for successfull test run --- diff --git a/test/spec/mkws-pazpar2.js b/test/spec/mkws-pazpar2.js index 03c7bd9..dd7a2ab 100644 --- a/test/spec/mkws-pazpar2.js +++ b/test/spec/mkws-pazpar2.js @@ -42,6 +42,8 @@ function init_jasmine_config() { } debug("jasmine config: " + key + " => " + jasmine_config[key]); } + + mkws.jasmine_done = false; } var get_hit_counter = function () { @@ -384,7 +386,10 @@ describe("Check status client counter", function () { }); -/* dummy EOF */ +/* done */ describe("All tests are done", function () { - it(">>> hooray <<<", function () {}); + it(">>> hooray <<<", function () { + mkws.jasmine_done = true; + }); }); +