Skip to content

Commit

Permalink
igv: fix ENV["CI"] usage.
Browse files Browse the repository at this point in the history
Part of #70493.
  • Loading branch information
MikeMcQuaid committed Feb 8, 2021
1 parent 45fa4bc commit 4039115
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Formula/igv.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ def install
test do
assert_match "Usage:", shell_output("#{bin}/igvtools")
assert_match "org/broad/igv/ui/IGV.class", shell_output("#{Formula["openjdk"].bin}/jar tf #{libexec}/lib/igv.jar")
# Fails on Jenkins with Unhandled exception: java.awt.HeadlessException
unless ENV["CI"]
(testpath/"script").write "exit"
assert_match "Version", shell_output("#{bin}/igv -b script")
end
(testpath/"script").write "exit"
assert_match "Version", shell_output("#{bin}/igv -b script")
end
end

0 comments on commit 4039115

Please sign in to comment.