1# Copyright (c) 2022-2023 Huawei Device Co., Ltd. All rights reserved. 2# 3# Redistribution and use in source and binary forms, with or without modification, 4# are permitted provided that the following conditions are met: 5# 6# 1. Redistributions of source code must retain the above copyright notice, this list of 7# conditions and the following disclaimer. 8# 9# 2. Redistributions in binary form must reproduce the above copyright notice, this list 10# of conditions and the following disclaimer in the documentation and/or other materials 11# provided with the distribution. 12# 13# 3. Neither the name of the copyright holder nor the names of its contributors may be used 14# to endorse or promote products derived from this software without specific prior written 15# permission. 16# 17# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 19# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 20# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 21# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 22# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 23# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 24# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 25# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 26# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 27# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 29import("//build/lite/config/test.gni") 30import("//kernel/liteos_a/testsuites/unittest/config.gni") 31 32libc_posix_pthread_include_dirs = [ "$TEST_UNITTEST_DIR/libc/posix/pthread" ] 33 34libc_posix_pthread_sources_entry = 35 [ "$TEST_UNITTEST_DIR/libc/posix/pthread/posix_pthread_test.cpp" ] 36 37libc_posix_pthread_sources_smoke = [ 38 "$TEST_UNITTEST_DIR/libc/posix/pthread/smoke/It_posix_pthread_003.cpp", 39 "$TEST_UNITTEST_DIR/libc/posix/pthread/smoke/It_posix_pthread_004.cpp", 40 "$TEST_UNITTEST_DIR/libc/posix/pthread/smoke/It_posix_pthread_005.cpp", 41 "$TEST_UNITTEST_DIR/libc/posix/pthread/smoke/It_posix_pthread_006.cpp", 42 "$TEST_UNITTEST_DIR/libc/posix/pthread/smoke/It_posix_pthread_018.cpp", 43 "$TEST_UNITTEST_DIR/libc/posix/pthread/smoke/It_posix_pthread_019.cpp", 44 "$TEST_UNITTEST_DIR/libc/posix/pthread/smoke/It_posix_pthread_020.cpp", 45 "$TEST_UNITTEST_DIR/libc/posix/pthread/smoke/It_posix_pthread_021.cpp", 46 "$TEST_UNITTEST_DIR/libc/posix/pthread/smoke/It_posix_pthread_022.cpp", 47] 48 49libc_posix_pthread_sources_full = [ 50 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_001.cpp", 51 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_002.cpp", 52 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_007.cpp", 53 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_010.cpp", 54 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_011.cpp", 55 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_013.cpp", 56 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_023.cpp", 57 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_025.cpp", 58 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_026.cpp", 59 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_027.cpp", 60 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_028.cpp", 61 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_029.cpp", 62 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_030.cpp", 63 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_031.cpp", 64 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_034.cpp", 65 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_035.cpp", 66 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_039.cpp", 67 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_040.cpp", 68 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_042.cpp", 69 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_044.cpp", 70 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_045.cpp", 71 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_046.cpp", 72 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_051.cpp", 73 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_052.cpp", 74 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_053.cpp", 75 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_054.cpp", 76 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_055.cpp", 77 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_057.cpp", 78 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_059.cpp", 79 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_060.cpp", 80 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_061.cpp", 81 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_062.cpp", 82 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_063.cpp", 83 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_064.cpp", 84 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_066.cpp", 85 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_069.cpp", 86 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_070.cpp", 87 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_071.cpp", 88 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_072.cpp", 89 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_073.cpp", 90 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_074.cpp", 91 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_078.cpp", 92 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_079.cpp", 93 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_080.cpp", 94 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_081.cpp", 95 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_082.cpp", 96 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_083.cpp", 97 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_084.cpp", 98 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_085.cpp", 99 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_087.cpp", 100 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_088.cpp", 101 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_089.cpp", 102 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_090.cpp", 103 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_091.cpp", 104 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_092.cpp", 105 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_094.cpp", 106 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_095.cpp", 107 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_106.cpp", 108 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_107.cpp", 109 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_116.cpp", 110 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_123.cpp", 111 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_124.cpp", 112 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_125.cpp", 113 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_127.cpp", 114 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_129.cpp", 115 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_132.cpp", 116 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_133.cpp", 117 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_134.cpp", 118 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_136.cpp", 119 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_138.cpp", 120 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_141.cpp", 121 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_142.cpp", 122 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_144.cpp", 123 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_152.cpp", 124 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_154.cpp", 125 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_166.cpp", 126 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_167.cpp", 127 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_173.cpp", 128 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_175.cpp", 129 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_176.cpp", 130 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_177.cpp", 131 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_182.cpp", 132 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_185.cpp", 133 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_186.cpp", 134 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_187.cpp", 135 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_188.cpp", 136 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_193.cpp", 137 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_194.cpp", 138 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_200.cpp", 139 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_203.cpp", 140 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_204.cpp", 141 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_205.cpp", 142 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_206.cpp", 143 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_209.cpp", 144 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_213.cpp", 145 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_217.cpp", 146 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_218.cpp", 147 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_219.cpp", 148 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_221.cpp", 149 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_224.cpp", 150 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_226.cpp", 151 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_233.cpp", 152 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_238.cpp", 153 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_239.cpp", 154 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_240.cpp", 155 "$TEST_UNITTEST_DIR/libc/posix/pthread/full/It_posix_pthread_241.cpp", 156] 157