Skip to content

Commit

Permalink
Merge pull request #274 from strickek/patch-1
Browse files Browse the repository at this point in the history
Update ExecutionTests.jl to work with Windows path
  • Loading branch information
vchuravy authored Jan 6, 2022
2 parents 8216b93 + 6cd22f0 commit 4da9aaf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/ExecutionTests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,9 @@ b = @bprofile likegcd(x, y) setup=(x = rand(2:200); y = rand(2:200))
io = IOBuffer()
Profile.print(IOContext(io, :displaysize=>(24,200)))
str = String(take!(io))
@test occursin(r"BenchmarkTools(\.jl)?/src/execution\.jl:\d+; _run", str)
@test !occursin(r"BenchmarkTools(\.jl)?/src/execution\.jl:\d+; warmup", str)
@test !occursin(r"BenchmarkTools(\.jl)?/src/execution\.jl:\d+; tune!", str)
@test occursin(r"BenchmarkTools(\.jl)?(/|\\)src(/|\\)execution\.jl:\d+; _run", str)
@test !occursin(r"BenchmarkTools(\.jl)?(/|\\)src(/|\\)execution\.jl:\d+; warmup", str)
@test !occursin(r"BenchmarkTools(\.jl)?(/|\\)src(/|\\)execution\.jl:\d+; tune!", str)
b = @bprofile 1+1
Profile.print(IOContext(io, :displaysize=>(24,200)))
str = String(take!(io))
Expand Down

0 comments on commit 4da9aaf

Please sign in to comment.