diff --git a/ets2panda/test/depanalyzer/CMakeLists.txt b/ets2panda/test/depanalyzer/CMakeLists.txt index 14e652d90d04f932d39c21dfaa8219d5071b5257..f442e285d650578ca99a16944459fc9254b7fe41 100644 --- a/ets2panda/test/depanalyzer/CMakeLists.txt +++ b/ets2panda/test/depanalyzer/CMakeLists.txt @@ -28,26 +28,29 @@ add_custom_target(path_getter DEPENDS ${GEN_INCLUDE_DIR}/path_getter.h) add_dependencies(panda_gen_files path_getter) -panda_add_gtest( - TEST_GROUP es2panda_gtests - STASH_LIST ets_stash_list - NAME es2panda_depanalyz_tests - SOURCES - test.cpp - LIBRARIES - es2panda-public - es2panda-lib - arkassembler - dependency_analyzer_lib - INCLUDE_DIRS - ${ES2PANDA_PATH} - ${ES2PANDA_BINARY_ROOT} - ${GEN_INCLUDE_DIR} - SANITIZERS - ${PANDA_SANITIZERS_LIST} -) +# NOTE(@srokashevich, #29191): enable with asan after fix +if (NOT PANDA_ENABLE_ADDRESS_SANITIZER) + panda_add_gtest( + TEST_GROUP es2panda_gtests + STASH_LIST ets_stash_list + NAME es2panda_depanalyz_tests + SOURCES + test.cpp + LIBRARIES + es2panda-public + es2panda-lib + arkassembler + dependency_analyzer_lib + INCLUDE_DIRS + ${ES2PANDA_PATH} + ${ES2PANDA_BINARY_ROOT} + ${GEN_INCLUDE_DIR} + SANITIZERS + ${PANDA_SANITIZERS_LIST} + ) -add_dependencies(es2panda_depanalyz_tests path_getter) + add_dependencies(es2panda_depanalyz_tests path_getter) +endif() if(NOT PANDA_WITH_ETS) return() diff --git a/ets2panda/test/test-lists/parser/parser-ets-ignored -ASAN.txt b/ets2panda/test/test-lists/parser/parser-ets-ignored -ASAN.txt new file mode 100644 index 0000000000000000000000000000000000000000..785a836b5364cf99a301a17fd6fd28d2d94ec5af --- /dev/null +++ b/ets2panda/test/test-lists/parser/parser-ets-ignored -ASAN.txt @@ -0,0 +1,2 @@ +# Issue: ##29234 +parser/ets/dynamic_import_tests/dynamic_optional_decl.ets diff --git a/ets2panda/test/unit/CMakeLists.txt b/ets2panda/test/unit/CMakeLists.txt index 80624e7dddba2d16652860b3aa9de304712c058a..a1a2cdf3006313e1249bb1efe986b51f7a134ab9 100644 --- a/ets2panda/test/unit/CMakeLists.txt +++ b/ets2panda/test/unit/CMakeLists.txt @@ -37,12 +37,15 @@ ets2panda_add_gtest(es2panda_name_mangling_tests CPP_SOURCES name_mangling_test.cpp ) -ets2panda_add_gtest(es2panda_union_normalization_tests_1 - CPP_SOURCES union_normalization_test_1.cpp -) -ets2panda_add_gtest(es2panda_union_normalization_tests_2 - CPP_SOURCES union_normalization_test_2.cpp -) +# NOTE(@srokashevich, #29195): enable with asan after fix +if (NOT PANDA_ENABLE_ADDRESS_SANITIZER) + ets2panda_add_gtest(es2panda_union_normalization_tests_1 + CPP_SOURCES union_normalization_test_1.cpp + ) + ets2panda_add_gtest(es2panda_union_normalization_tests_2 + CPP_SOURCES union_normalization_test_2.cpp + ) +endif() ets2panda_add_gtest(es2panda_globalETSObjectType_tests CPP_SOURCES globalETSObjectType_test.cpp ) diff --git a/ets2panda/test/unit/lowerings/CMakeLists.txt b/ets2panda/test/unit/lowerings/CMakeLists.txt index 8b0e899062ced84a83d1de2eeec3ef56c7dc54db..723c4a394b6b2b7ebba3f4ed688f4e89ac8323af 100644 --- a/ets2panda/test/unit/lowerings/CMakeLists.txt +++ b/ets2panda/test/unit/lowerings/CMakeLists.txt @@ -18,15 +18,22 @@ endif() ets2panda_add_gtest(scopes_initialization_test CPP_SOURCES scopes_initialization.cpp ) -ets2panda_add_gtest(string_constants_test - CPP_SOURCES string_constants.cpp -) -ets2panda_add_gtest(const_expression_test - CPP_SOURCES const_expression.cpp -) -ets2panda_add_gtest(top_level_statements_test - CPP_SOURCES top_level_statements.cpp -) + +# NOTE(@srokashevich, #29193): enable with asan after fix +if (NOT PANDA_ENABLE_ADDRESS_SANITIZER) + ets2panda_add_gtest(string_constants_test + CPP_SOURCES string_constants.cpp + ) + + ets2panda_add_gtest(const_expression_test + CPP_SOURCES const_expression.cpp + ) + + ets2panda_add_gtest(top_level_statements_test + CPP_SOURCES top_level_statements.cpp + ) +endif() + ets2panda_add_gtest(node_history_test CPP_SOURCES node_history.cpp ) @@ -35,6 +42,9 @@ ets2panda_add_gtest(node_history_test # CPP_SOURCES convert_primitive_cast_method_call.cpp # ) -ets2panda_add_gtest(interface_object_literal_test - CPP_SOURCES interface_object_literal.cpp -) +# NOTE(@srokashevich, #29193): enable with asan after fix +if (NOT PANDA_ENABLE_ADDRESS_SANITIZER) + ets2panda_add_gtest(interface_object_literal_test + CPP_SOURCES interface_object_literal.cpp + ) +endif() diff --git a/ets2panda/test/unit/lsp/CMakeLists.txt b/ets2panda/test/unit/lsp/CMakeLists.txt index d896777b56de0f2445b854e3ac8d146968e72ef5..cc117f6dfc07d74838c7b058e0acfe0185c33eae 100644 --- a/ets2panda/test/unit/lsp/CMakeLists.txt +++ b/ets2panda/test/unit/lsp/CMakeLists.txt @@ -11,6 +11,11 @@ # See the License for the specific language governing permissions and # limitations under the License. +# NOTE(@srokashevich, #29196): enable with asan after fix +if (PANDA_ENABLE_ADDRESS_SANITIZER) + return() +endif() + ets2panda_add_gtest(lsp_get_definition_at_position_test CPP_SOURCES get_definition_at_position_test.cpp ) diff --git a/ets2panda/test/unit/public/CMakeLists.txt b/ets2panda/test/unit/public/CMakeLists.txt index ed6fd59ca481789c210c99263a404c0bc584ce31..388453bee45e1c109a8e012b05c205e6d307a157 100644 --- a/ets2panda/test/unit/public/CMakeLists.txt +++ b/ets2panda/test/unit/public/CMakeLists.txt @@ -11,6 +11,11 @@ # See the License for the specific language governing permissions and # limitations under the License. +# NOTE(@srokashevich, #29152): enable with asan after fix +if (PANDA_ENABLE_ADDRESS_SANITIZER) + return() +endif() + ets2panda_add_gtest(ast_builder_test CPP_SOURCES ast_builder_test.cpp )