Skip to content

Commit

Permalink
[sanitizer] Enable more libc++ tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalybuka committed Dec 11, 2024
1 parent bb69573 commit 655634c
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions zorg/buildbot/builders/sanitizers/buildbot_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -406,10 +406,7 @@ function check_stage2 {
(
echo @@@BUILD_STEP stage2/$sanitizer_name check-cxx@@@
# Very slow.
export LIT_FILTER_OUT="modules_include.sh.cpp"
LIT_FILTER_OUT+="|std/algorithms/alg.modifying.operations/alg.transform/ranges.transform.pass.cpp"
LIT_FILTER_OUT+="|std/utilities/charconv/charconv.msvc/test.pass.cpp"
LIT_FILTER_OUT+="|std/utilities/format/format.functions/format.locale.runtime_format.pass.cpp"
export LIT_FILTER_OUT="std/utilities/format/format.functions/format.locale.runtime_format.pass.cpp"
LIT_FILTER_OUT+="|std/utilities/format/format.functions/format.runtime_format.pass.cpp"
LIT_FILTER_OUT+="|std/utilities/format/format.functions/format_to_n.locale.pass.cpp"
LIT_FILTER_OUT+="|std/utilities/format/format.functions/format_to_n.pass.cpp"
Expand All @@ -420,39 +417,22 @@ function check_stage2 {
LIT_FILTER_OUT+="|std/utilities/format/format.functions/formatted_size.locale.pass.cpp"
LIT_FILTER_OUT+="|std/utilities/format/format.functions/formatted_size.pass.cpp"
LIT_FILTER_OUT+="|std/utilities/format/format.functions/vformat"
LIT_FILTER_OUT+="|std/utilities/variant/variant.visit/visit_return_type.pass.cpp"
LIT_FILTER_OUT+="|std/utilities/variant/variant.visit/visit.pass.cpp"

if [[ "$(arch)" == "aarch64" && "$sanitizer_name" == "asan" ]] ; then
# TODO: Investigate one leak and two slowest tests.
LIT_FILTER_OUT+="|test_vector2.pass.cpp|catch_multi_level_pointer.pass.cpp"
LIT_FILTER_OUT+="|guard_threaded_test.pass.cpp"
fi
if [[ "$(arch)" == "aarch64" && "$sanitizer_name" == "msan" ]] ; then
# TODO: Investigate one slow tests.
LIT_FILTER_OUT+="|catch_multi_level_pointer.pass.cpp"
LIT_FILTER_OUT+="|guard_threaded_test.pass.cpp"
LIT_FILTER_OUT+="|test_demangle.pass.cpp"
fi
if [[ "$(arch)" == "aarch64" && "$sanitizer_name" == "hwasan" ]] ; then
# TODO: Investigate one slow tests.
LIT_FILTER_OUT+="|catch_multi_level_pointer.pass.cpp"
LIT_FILTER_OUT+="|guard_threaded_test.pass.cpp"
LIT_FILTER_OUT+="|test_demangle.pass.cpp"
LIT_FILTER_OUT+="|test_vector2.pass.cpp"
LIT_FILTER_OUT+="|forced_unwind2.pass.cpp"
fi

if [[ "$(arch)" == "aarch64" ]] ; then
# TODO: Investigate what is wrong with aarch64 unwinder.
LIT_FILTER_OUT+="|ostream.formatted.print/vprint_nonunicode.pass.cpp"
LIT_FILTER_OUT+="|ostream.formatted.print/vprint_unicode.pass.cpp"
LIT_FILTER_OUT+="|ra_sign_state.pass.cpp"
fi
ninja -C libcxx_build_${sanitizer_name} check-cxx || exit 1

echo @@@BUILD_STEP stage2/$sanitizer_name check-cxxabi@@@
ninja -C libcxx_build_${sanitizer_name} check-cxxabi || exit 1
ninja -C libcxx_build_${sanitizer_name} check-runtimes || exit 1
) || build_failure
)
fi
Expand Down

0 comments on commit 655634c

Please sign in to comment.