diff --git a/.github/scripts/ci-test-other.sh b/.github/scripts/ci-test-other.sh index 77d0575..1d7c316 100755 --- a/.github/scripts/ci-test-other.sh +++ b/.github/scripts/ci-test-other.sh @@ -17,7 +17,7 @@ REGEX_PATTERN='.*const TESTNAMES = \[([^\[]*)^\].*' is_moving=$2 moving_feature=${is_moving,,} -declare -a tests_to_skip=( +declare -a max_moving_tests_to_skip=( # see https://github.com/mmtk/mmtk-julia/issues/259 "abstractarray" "cmdlineargs" @@ -50,9 +50,11 @@ if [[ $CHOOSE_TESTS_JL_CONTENT =~ $REGEX_PATTERN ]]; then continue fi - if [[ "${tests_to_skip[@]}" =~ "$test" ]]; then - echo "-> Skip" - continue + if [[ "${max_moving_tests_to_skip[@]}" =~ "$test" ]]; then + if [ "$moving_feature" == "max_moving" ]; then + echo "-> Skip" + continue + fi fi if [[ $test =~ "compiler_extras" ]]; then diff --git a/.github/scripts/ci-test-stdlib.sh b/.github/scripts/ci-test-stdlib.sh index 8c7f9a2..737bdf6 100755 --- a/.github/scripts/ci-test-stdlib.sh +++ b/.github/scripts/ci-test-stdlib.sh @@ -34,11 +34,21 @@ declare -a tests_to_skip=( # see https://github.com/mmtk/mmtk-julia/issues/259 "Downloads" "REPL" - "TOML" "Random" "LibCURL" "LazyArtifacts" ) + +declare -a max_moving_tests_to_skip=( + # Skipping tests that fail for max moving Immix + # see https://github.com/mmtk/mmtk-julia/issues/259 + "Downloads" + "REPL" + "Random" + "LibCURL" + "LazyArtifacts" +) + # These tests need multiple workers. declare -a tests_with_multi_workers=( "Pkg" @@ -78,6 +88,14 @@ do continue fi + # Skip tests with max moving build + if [[ "${max_moving_tests_to_skip[@]}" =~ "$test" ]]; then + if [ "$moving_feature" == "max_moving" ]; then + echo "-> Skip" + continue + fi + fi + if [[ "${tests_with_multi_workers[@]}" =~ "$test" ]]; then echo "-> Run multi threaded" ci_run_jl_test $test 2 $moving_feature