Skip to content

Commit

Permalink
Skipping specific tests in Profile
Browse files Browse the repository at this point in the history
  • Loading branch information
udesou committed Jan 24, 2024
1 parent 2e3e295 commit 4ecc3b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/scripts/ci-test-patching.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ declare -a tests_to_skip=(
# The required string int.jl does not appear in the output even if I test with the stock Julia code.
# I do not know what is wrong, but at this point, I dont want to spend time on it.
'@test occursin("int.jl", code)' "$JULIA_PATH/test/cmdlineargs.jl"

# These are failing for v1.9.2 on the stock Julia as well.
'@test process_running(p)' "$JULIA_PATH/stdlib/Profile/test/runtests.jl"
'@test occursin("Overhead ╎", s)' "$JULIA_PATH/stdlib/Profile/test/runtests.jl"
'@test length(prof.allocs) >= 1' "$JULIA_PATH/stdlib/Profile/test/allocs.jl"
'@test length(\[a for a in prof.allocs if a.type == MyType\]) >= 1' "$JULIA_PATH/stdlib/Profile/test/allocs.jl"
)

for (( i=0; i < ${#tests_to_skip[@]}; i+=2 )); do
Expand Down
2 changes: 0 additions & 2 deletions .github/scripts/ci-test-stdlib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ declare -a tests_to_skip=(
"SparseArrays"
# Running LinearAlgebra in a separate job
"LinearAlgebra"
# This is failing for v1.9.2 on the stock Julia as well.
"Profile"
)
# These tests need multiple workers.
declare -a tests_with_multi_workers=(
Expand Down

0 comments on commit 4ecc3b8

Please sign in to comment.