Skip to content

Commit

Permalink
Update runtests.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Mar 30, 2024
1 parent 8e9e9d1 commit c15f1e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ using Test
using Xpress

function test_licensing()
if haskey(ENV, "XPAUTH_PATH") || haskey(ENV, "XPRESSDIR")
return # Skip for non-standand licenses
if any(k -> haskey(ENV, k), ("XPAUTH_PATH", "XPRESSDIR", "XPRESS_JL_LIBRARY"))
return # Skip for non-standard licenses
end
# Create a bogus license file
xpauth_path = mktempdir()
Expand Down

0 comments on commit c15f1e6

Please sign in to comment.