Skip to content

Commit

Permalink
fix cmdlineargs test in our fork
Browse files Browse the repository at this point in the history
  • Loading branch information
d-netto committed Sep 20, 2024
1 parent 7843330 commit becd380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cmdlineargs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ let exename = `$(Base.julia_cmd()) --startup-file=no --color=no`
# --gcthreads
code = "print(Threads.ngcthreads())"
cpu_threads = ccall(:jl_effective_threads, Int32, ())
@test (cpu_threads == 1 ? "1" : string(div(cpu_threads, 2))) ==
@test (cpu_threads == 1 ? "1" : string(cpu_threads)) ==
read(`$exename --threads auto -e $code`, String) ==
read(`$exename --threads=auto -e $code`, String) ==
read(`$exename -tauto -e $code`, String) ==
Expand Down

0 comments on commit becd380

Please sign in to comment.