# Copyright (c) 2024 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. if(NOT PANDA_REGRESSION_TESTS) return() endif() add_subdirectory(dynamic) add_subdirectory(lowerings) add_subdirectory(public) add_subdirectory(src_dumper) ets2panda_add_gtest(es2panda_astdumper_tests CPP_SOURCES ast_dumper_test.cpp ) ets2panda_add_gtest(es2panda_union_normalization_tests CPP_SOURCES union_normalization_test.cpp ) # NOTE: es2panda_rest_parameter_flag test runs a lot of time on qemu, so let's disable it if (NOT PANDA_QEMU_BUILD) ets2panda_add_gtest(es2panda_rest_parameter_flag CPP_SOURCES rest_parameter_flag_test.cpp ) endif() if(NOT PANDA_WITH_ETS) return() endif() ets2panda_add_gtest(es2panda_checker_tests CPP_SOURCES checker_test.cpp )