Skip to content

Commit

Permalink
Merge pull request #184 from JuliaGPU/tb/test_flags
Browse files Browse the repository at this point in the history
Behave like Base wrt. test flags.
  • Loading branch information
maleadt authored May 29, 2020
2 parents 19c1047 + 1583a33 commit 9ab9986
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,12 @@ end

# add workers
const test_exeflags = Base.julia_cmd()
filter!(test_exeflags.exec) do c
return !(startswith(c, "--depwarn") || startswith(c, "--check-bounds"))
end
push!(test_exeflags.exec, "--check-bounds=yes")
push!(test_exeflags.exec, "--startup-file=no")
push!(test_exeflags.exec, "--depwarn=error")
if Base.JLOptions().project != C_NULL
push!(test_exeflags.exec, "--project=$(unsafe_string(Base.JLOptions().project))")
end
Expand Down

0 comments on commit 9ab9986

Please sign in to comment.