Skip to content

Commit

Permalink
[DO NOT MERGE] Investigate 32-bit test failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrueg committed Feb 27, 2021
1 parent 630e1a1 commit fc16272
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/cmdlineargs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ let exename = `$(Base.julia_cmd()) --startup-file=no --color=no`
# We want to test oversubscription, but on manycore machines, this can
# actually exhaust limited PID spaces
cpu_threads = max(2*cpu_threads, min(50, 10*cpu_threads))
println("cpu_threads = ", cpu_threads, ", Sys.WORD_SIZE = ", Sys.WORD_SIZE)
@test read(`$exename -t $cpu_threads -e $code`, String) == string(cpu_threads)
withenv("JULIA_NUM_THREADS" => string(cpu_threads)) do
@test read(`$exename -e $code`, String) == string(cpu_threads)
Expand Down

0 comments on commit fc16272

Please sign in to comment.