From ca6f73053a08da415a02b697ae8bcfd5bf676c3a Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Wed, 29 Jan 2014 18:20:34 +0000 Subject: [PATCH] keep status of jasmine test in mkws.jasmine_done that should make it possible to poll for successfull test run --- test/spec/mkws-pazpar2.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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; + }); }); + -- 1.7.10.4