Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/scripts/ci-test-other.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down
20 changes: 19 additions & 1 deletion .github/scripts/ci-test-stdlib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down