From 69fca75161c793b0ea310f761be7f8923d91ee3f Mon Sep 17 00:00:00 2001 From: Elliott Slaughter Date: Fri, 21 Aug 2020 10:05:29 -0700 Subject: [PATCH] Revert test/run. --- tests/run | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/tests/run b/tests/run index 7d6640d3..58e5c194 100755 --- a/tests/run +++ b/tests/run @@ -32,15 +32,10 @@ for line in io.popen(lscmd):lines() do end local file = line:match("^([^/]*%.t)$") or line:match("^(fails/[^/]*%.t)$") if file then - local pass = true - for test_debug = 0, 0 do - debug_flag = test_debug == 1 and "-mg" or "" - print(debug_flag .. file .. ":") - local execstring = getcommand(file) .. " " .. file - local result = os.execute(execstring) - pass = pass and (type(result) == "number" and result == 0 or result == true) - end - if pass then + print(file .. ":") + local execstring = getcommand(file) .. " " .. file + local result = os.execute(execstring) + if type(result) == "number" and result == 0 or result == true then table.insert(passed,file) else --error("fail")