-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Open
Labels
Description
julia> Base.runtests("Profile")
# ...
Test Summary: | Pass Fail Broken Total Time
Overall | 15798 1 1 15800 50.9s
Profile | 15798 1 1 15800 50.3s
FAILURE
The global RNG seed was 0xfa3d414c0afcdb987260ed13b5a7f73d.
Error in testset Profile:
Test Failed at C:\cygwin64\home\cody\repos\julia\julia-a5576b4ddb\share\julia\stdlib\v1.13\Profile\test\runtests.jl:245
Expression: occursin("@juliasrc" * slash, str)
Evaluated: occursin("@juliasrc\\", "Overhead ╎ [+additional indent] Count ...
...
╎ ╎ ╎ ╎ ╎ ╎ ╎ ╎ ╎ ╎ 13 /home/cody/repos/julia/src\\gf.c:3636 jl_compile_method_internal
...
")
The problem seems to be that my file paths are Cygwin paths:
╎ ╎ ╎ ╎ 656 /home/cody/repos/julia/src\\builtins.c
...
╎ ╎ ╎ ╎ ╎ ╎ ╎ ╎ ╎ ╎ 13 /home/cody/repos/julia/src\\gf.c:3636 jl_compile_method_internal
╎ ╎ ╎ ╎ ╎ ╎ ╎ ╎ ╎ ╎ ╎ 13 /home/cody/repos/julia/src\\gf.c:463 jl_type_infer
versus the Windows path that Profile
is looking for:
julia> using Profile; Profile.SRC_DIR
"C:\\cygwin64\\home\\cody\\repos\\julia\\src"