Skip to content

Commit

Permalink
fix cmdlineargs test in our fork (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
d-netto authored Sep 20, 2024
1 parent 7843330 commit c690603
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
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 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
1 change: 0 additions & 1 deletion test/gc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,3 @@ end
run_nonzero_page_utilization_test()
run_pg_size_test()
end

0 comments on commit c690603

Please sign in to comment.