Skip to content

Commit

Permalink
Revert test/run.
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottslaughter committed Aug 21, 2020
1 parent e16832f commit 69fca75
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions tests/run
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 69fca75

Please sign in to comment.