From f704993d210a0265032d289575770d81a59cb6ce Mon Sep 17 00:00:00 2001 From: Cody Tapscott Date: Mon, 30 Sep 2024 21:24:04 +0000 Subject: [PATCH] Fix-up Profile regex (changed on nightly) --- test/ExecutionTests.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/ExecutionTests.jl b/test/ExecutionTests.jl index b9cef1ca..b9b79c55 100644 --- a/test/ExecutionTests.jl +++ b/test/ExecutionTests.jl @@ -316,8 +316,8 @@ 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+; #?tune!", str) +@test occursin(r"BenchmarkTools(\.jl)?(/|\\)src(/|\\)execution\.jl:\d+( |;) #?_run", 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))