Skip to content
Snippets Groups Projects
Commit ebd0f345 authored by Xu Cheng's avatar Xu Cheng
Browse files

tests: show fs leak result


Closes Homebrew/homebrew#41956.

Signed-off-by: default avatarXu Cheng <xucheng@me.com>
parent 0ad82a29
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,14 @@ module Homebrew
system("bundle", "install", "--path", "vendor/bundle")
system "bundle", "exec", "rake", "test"
Homebrew.failed = !$?.success?
if (fs_leak_log = HOMEBREW_LIBRARY/"Homebrew/test/fs_leak_log").file?
fs_leak_log_content = fs_leak_log.read
unless fs_leak_log_content.empty?
opoo "File leak is detected"
puts fs_leak_log_content
Homebrew.failed = true
end
end
end
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment