We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c74b0c0 commit 4e2f72cCopy full SHA for 4e2f72c
test/runtests.jl
@@ -29,8 +29,8 @@ end
29
@test Gurobi_jll.gurobi_cl_path isa String
30
contents = sprint(io -> run(pipeline(`$(gurobi_cl()) -v`, stdout = io)))
31
if Sys.iswindows()
32
- # Is there an issue flushing `io`? Returns `""`
33
- @test contents == ""
+ # Is there an issue flushing `io`? Some versions return `""`
+ @test occursin("Gurobi Optimizer", contents) || isempty(contents)
34
else
35
@test occursin("Gurobi Optimizer", contents)
36
end
0 commit comments