10d163575Sopenharmony_ci# Copyright (c) 2022-2023 Huawei Device Co., Ltd. All rights reserved. 20d163575Sopenharmony_ci# 30d163575Sopenharmony_ci# Redistribution and use in source and binary forms, with or without modification, 40d163575Sopenharmony_ci# are permitted provided that the following conditions are met: 50d163575Sopenharmony_ci# 60d163575Sopenharmony_ci# 1. Redistributions of source code must retain the above copyright notice, this list of 70d163575Sopenharmony_ci# conditions and the following disclaimer. 80d163575Sopenharmony_ci# 90d163575Sopenharmony_ci# 2. Redistributions in binary form must reproduce the above copyright notice, this list 100d163575Sopenharmony_ci# of conditions and the following disclaimer in the documentation and/or other materials 110d163575Sopenharmony_ci# provided with the distribution. 120d163575Sopenharmony_ci# 130d163575Sopenharmony_ci# 3. Neither the name of the copyright holder nor the names of its contributors may be used 140d163575Sopenharmony_ci# to endorse or promote products derived from this software without specific prior written 150d163575Sopenharmony_ci# permission. 160d163575Sopenharmony_ci# 170d163575Sopenharmony_ci# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 180d163575Sopenharmony_ci# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 190d163575Sopenharmony_ci# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 200d163575Sopenharmony_ci# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 210d163575Sopenharmony_ci# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 220d163575Sopenharmony_ci# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 230d163575Sopenharmony_ci# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 240d163575Sopenharmony_ci# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 250d163575Sopenharmony_ci# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 260d163575Sopenharmony_ci# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 270d163575Sopenharmony_ci# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 280d163575Sopenharmony_ci 290d163575Sopenharmony_ciimport("//build/lite/config/test.gni") 300d163575Sopenharmony_ciimport("//kernel/liteos_a/testsuites/unittest/config.gni") 310d163575Sopenharmony_ci 320d163575Sopenharmony_cilibc_posix_pthread_include_dirs = [ "$TEST_UNITTEST_DIR/libc/posix/pthread" ] 330d163575Sopenharmony_ci 340d163575Sopenharmony_cilibc_posix_pthread_sources_entry = 350d163575Sopenharmony_ci [ "$TEST_UNITTEST_DIR/libc/posix/pthread/posix_pthread_test.cpp" ] 360d163575Sopenharmony_ci 370d163575Sopenharmony_cilibc_posix_pthread_sources_smoke = [ 380d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/smoke/It_posix_pthread_003.cpp", 390d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/smoke/It_posix_pthread_004.cpp", 400d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/smoke/It_posix_pthread_005.cpp", 410d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/smoke/It_posix_pthread_006.cpp", 420d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/smoke/It_posix_pthread_018.cpp", 430d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/smoke/It_posix_pthread_019.cpp", 440d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/smoke/It_posix_pthread_020.cpp", 450d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/smoke/It_posix_pthread_021.cpp", 460d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/smoke/It_posix_pthread_022.cpp", 470d163575Sopenharmony_ci] 480d163575Sopenharmony_ci 490d163575Sopenharmony_cilibc_posix_pthread_sources_full = [ 500d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_001.cpp", 510d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_002.cpp", 520d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_007.cpp", 530d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_010.cpp", 540d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_011.cpp", 550d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_013.cpp", 560d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_023.cpp", 570d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_025.cpp", 580d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_026.cpp", 590d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_027.cpp", 600d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_028.cpp", 610d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_029.cpp", 620d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_030.cpp", 630d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_031.cpp", 640d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_034.cpp", 650d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_035.cpp", 660d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_039.cpp", 670d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_040.cpp", 680d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_042.cpp", 690d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_044.cpp", 700d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_045.cpp", 710d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_046.cpp", 720d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_051.cpp", 730d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_052.cpp", 740d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_053.cpp", 750d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_054.cpp", 760d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_055.cpp", 770d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_057.cpp", 780d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_059.cpp", 790d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_060.cpp", 800d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_061.cpp", 810d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_062.cpp", 820d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_063.cpp", 830d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_064.cpp", 840d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_066.cpp", 850d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_069.cpp", 860d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_070.cpp", 870d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_071.cpp", 880d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_072.cpp", 890d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_073.cpp", 900d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_074.cpp", 910d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_078.cpp", 920d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_079.cpp", 930d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_080.cpp", 940d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_081.cpp", 950d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_082.cpp", 960d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_083.cpp", 970d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_084.cpp", 980d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_085.cpp", 990d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_087.cpp", 1000d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_088.cpp", 1010d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_089.cpp", 1020d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_090.cpp", 1030d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_091.cpp", 1040d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_092.cpp", 1050d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_094.cpp", 1060d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_095.cpp", 1070d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_106.cpp", 1080d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_107.cpp", 1090d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_116.cpp", 1100d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_123.cpp", 1110d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_124.cpp", 1120d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_125.cpp", 1130d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_127.cpp", 1140d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_129.cpp", 1150d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_132.cpp", 1160d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_133.cpp", 1170d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_134.cpp", 1180d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_136.cpp", 1190d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_138.cpp", 1200d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_141.cpp", 1210d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_142.cpp", 1220d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_144.cpp", 1230d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_152.cpp", 1240d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_154.cpp", 1250d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_166.cpp", 1260d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_167.cpp", 1270d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_173.cpp", 1280d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_175.cpp", 1290d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_176.cpp", 1300d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_177.cpp", 1310d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_182.cpp", 1320d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_185.cpp", 1330d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_186.cpp", 1340d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_187.cpp", 1350d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_188.cpp", 1360d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_193.cpp", 1370d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_194.cpp", 1380d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_200.cpp", 1390d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_203.cpp", 1400d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_204.cpp", 1410d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_205.cpp", 1420d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_206.cpp", 1430d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_209.cpp", 1440d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_213.cpp", 1450d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_217.cpp", 1460d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_218.cpp", 1470d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_219.cpp", 1480d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_221.cpp", 1490d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_224.cpp", 1500d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_226.cpp", 1510d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_233.cpp", 1520d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_238.cpp", 1530d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_239.cpp", 1540d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_240.cpp", 1550d163575Sopenharmony_ci "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_241.cpp", 1560d163575Sopenharmony_ci] 157