Mon, 10 Sep 2018 13:48:25 +0100
main: Move 'start' event to correct place (signals start of test run, not individual tests)
main.lua | file | annotate | diff | comparison | revisions |
--- a/main.lua Mon Sep 10 13:47:34 2018 +0100 +++ b/main.lua Mon Sep 10 13:48:25 2018 +0100 @@ -236,7 +236,6 @@ local function run_test_script(script_name) - log_data("start", { metadata = test_metadata }); local ok, result, err = pcall(main, log_data, script_name); local exit_code = 0; @@ -255,6 +254,8 @@ return exit_code; end +log_data("start", { metadata = test_metadata }); + local exit_code = 0; for i = 1, #arg do local ret = run_test_script(arg[i]);