1# Copyright (c) 2022-2022 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("//kernel/liteos_a/testsuites/unittest/config.gni") 30 31posix_mqueue_include_dirs = [ "$TEST_UNITTEST_DIR/libc/posix/mqueue" ] 32 33posix_mqueue_sources_entry = 34 [ "$TEST_UNITTEST_DIR/libc/posix/mqueue/posix_mqueue_test.cpp" ] 35 36posix_mqueue_sources_smoke = [ 37 "$TEST_UNITTEST_DIR/libc/posix/mqueue/smoke/It_posix_queue_001.cpp", 38 "$TEST_UNITTEST_DIR/libc/posix/mqueue/smoke/It_posix_queue_003.cpp", 39 "$TEST_UNITTEST_DIR/libc/posix/mqueue/smoke/It_posix_queue_028.cpp", 40 "$TEST_UNITTEST_DIR/libc/posix/mqueue/smoke/It_posix_queue_053.cpp", 41 "$TEST_UNITTEST_DIR/libc/posix/mqueue/smoke/It_posix_queue_062.cpp", 42] 43 44posix_mqueue_sources_full = [ 45 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_002.cpp", 46 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_005.cpp", 47 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_008.cpp", 48 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_011.cpp", 49 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_013.cpp", 50 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_014.cpp", 51 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_015.cpp", 52 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_016.cpp", 53 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_018.cpp", 54 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_019.cpp", 55 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_020.cpp", 56 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_021.cpp", 57 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_025.cpp", 58 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_026.cpp", 59 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_027.cpp", 60 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_030.cpp", 61 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_031.cpp", 62 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_032.cpp", 63 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_033.cpp", 64 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_036.cpp", 65 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_038.cpp", 66 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_040.cpp", 67 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_041.cpp", 68 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_042.cpp", 69 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_043.cpp", 70 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_044.cpp", 71 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_046.cpp", 72 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_047.cpp", 73 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_048.cpp", 74 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_049.cpp", 75 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_050.cpp", 76 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_052.cpp", 77 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_054.cpp", 78 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_055.cpp", 79 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_056.cpp", 80 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_057.cpp", 81 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_058.cpp", 82 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_060.cpp", 83 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_061.cpp", 84 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_063.cpp", 85 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_064.cpp", 86 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_065.cpp", 87 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_066.cpp", 88 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_067.cpp", 89 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_069.cpp", 90 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_070.cpp", 91 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_071.cpp", 92 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_072.cpp", 93 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_073.cpp", 94 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_074.cpp", 95 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_075.cpp", 96 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_076.cpp", 97 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_077.cpp", 98 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_078.cpp", 99 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_079.cpp", 100 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_080.cpp", 101 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_081.cpp", 102 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_082.cpp", 103 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_083.cpp", 104 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_084.cpp", 105 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_085.cpp", 106 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_086.cpp", 107 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_087.cpp", 108 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_088.cpp", 109 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_089.cpp", 110 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_090.cpp", 111 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_091.cpp", 112 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_093.cpp", 113 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_094.cpp", 114 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_095.cpp", 115 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_096.cpp", 116 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_097.cpp", 117 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_098.cpp", 118 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_100.cpp", 119 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_101.cpp", 120 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_102.cpp", 121 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_103.cpp", 122 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_104.cpp", 123 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_106.cpp", 124 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_108.cpp", 125 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_109.cpp", 126 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_110.cpp", 127 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_111.cpp", 128 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_112.cpp", 129 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_113.cpp", 130 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_114.cpp", 131 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_115.cpp", 132 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_116.cpp", 133 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_117.cpp", 134 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_118.cpp", 135 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_119.cpp", 136 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_120.cpp", 137 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_121.cpp", 138 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_122.cpp", 139 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_123.cpp", 140 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_124.cpp", 141 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_125.cpp", 142 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_126.cpp", 143 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_127.cpp", 144 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_128.cpp", 145 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_129.cpp", 146 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_130.cpp", 147 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_133.cpp", 148 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_134.cpp", 149 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_136.cpp", 150 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_143.cpp", 151 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_144.cpp", 152 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_145.cpp", 153 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_146.cpp", 154 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_147.cpp", 155 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_148.cpp", 156 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_149.cpp", 157 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_150.cpp", 158 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_151.cpp", 159 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_152.cpp", 160 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_153.cpp", 161 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_154.cpp", 162 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_155.cpp", 163 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_156.cpp", 164 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_157.cpp", 165 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_159.cpp", 166 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_160.cpp", 167 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_161.cpp", 168 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_162.cpp", 169 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_163.cpp", 170 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_164.cpp", 171 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_165.cpp", 172 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_166.cpp", 173 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_168.cpp", 174 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_169.cpp", 175 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_173.cpp", 176 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_175.cpp", 177 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_176.cpp", 178 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_177.cpp", 179 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_187.cpp", 180 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_200.cpp", 181 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_201.cpp", 182 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_202.cpp", 183 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_203.cpp", 184 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_204.cpp", 185 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_205.cpp", 186 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_206.cpp", 187 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_207.cpp", 188 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_208.cpp", 189 "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_209.cpp", 190] 191