From 77926d2d54c4ff7ebfd9ef00593a5b32510c79dd Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Mon, 1 Jan 2018 07:43:06 +0100 Subject: [PATCH] add soem debug output to intermittent test --- scripts/tests/e2/ships.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/tests/e2/ships.lua b/scripts/tests/e2/ships.lua index 973d70f8e..06fc78c09 100644 --- a/scripts/tests/e2/ships.lua +++ b/scripts/tests/e2/ships.lua @@ -58,6 +58,11 @@ function test_speedy_ship_slow() u2:set_skill("sailing", 24) -- sumskill = 50 u1:add_order("NACH O O O O O O O O O O") process_orders() + if 5 ~= u1.region.x then + for _, msg in ipairs(f.messages) do + print(msg) + end + end assert_equal(5, u1.region.x) end