From d4fdaa25dae49ca83a5427683087d16f395279a5 Mon Sep 17 00:00:00 2001 From: Olivia Appleton Date: Thu, 12 Sep 2024 18:31:28 -0500 Subject: [PATCH] Re-disable time limit if using luacov --- lua/test.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/test.lua b/lua/test.lua index c4e5b0b0..ec2c82ec 100644 --- a/lua/test.lua +++ b/lua/test.lua @@ -65,7 +65,7 @@ local function check_problem(file_name, expected_answer, is_slow, problem_name) ) end - if not is_slow and elapsed_time > 60 then + if not is_slow and not has_luacov and elapsed_time > 60 then error( "Problem " .. problem_name .. " took ~" .. string.format("%.3f", elapsed_time) .. "s, exceeding the expected time limit of 60s."