Commit 74f92323 authored by Nathaniel Wesley Filardo's avatar Nathaniel Wesley Filardo Committed by Marcel Stör
Browse files

mispec: don't use %f

The additional reporting, while nice, prevents the use of mispec on
integer-only builds
parent 64993870
...@@ -117,8 +117,8 @@ M.runNextPending = function() ...@@ -117,8 +117,8 @@ M.runNextPending = function()
M.succeeded = M.total - M.failed M.succeeded = M.total - M.failed
local elapsedSeconds = (tmr.now() - M.startTime) / 1000 / 1000 local elapsedSeconds = (tmr.now() - M.startTime) / 1000 / 1000
print(string.format( print(string.format(
'\n\nCompleted in %.2f seconds.\nSuccess rate is %.1f%% (%d failed out of %d).', '\n\nCompleted in %d seconds; %d failed out of %d.',
elapsedSeconds, 100 * M.succeeded / M.total, M.failed, M.total)) elapsedSeconds, M.failed, M.total))
M.pending = nil M.pending = nil
M.queuedEventuallyCount = nil M.queuedEventuallyCount = nil
end end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment