Skip to content

Commit

Permalink
Merge pull request #3 from haberman/master
Browse files Browse the repository at this point in the history
Currently returns 0 to OS even if tests fail.
  • Loading branch information
dcurrie committed Apr 9, 2012
2 parents 1ad6835 + 5cbb494 commit 586eebb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lunitx.lua
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ atexit(function()
print(emsg) print(emsg)
os.exit(1) os.exit(1)
end end
if lunit.stats.failed > 0 then
os.exit(1)
end
end) end)


return lunit return lunit

0 comments on commit 586eebb

Please sign in to comment.