# Copyright (c) 2022-2022 Huawei Device Co., Ltd. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this list of
#    conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright notice, this list
#    of conditions and the following disclaimer in the documentation and/or other materials
#    provided with the distribution.
#
# 3. Neither the name of the copyright holder nor the names of its contributors may be used
#    to endorse or promote products derived from this software without specific prior written
#    permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

import("//kernel/liteos_a/testsuites/unittest/config.gni")

posix_mqueue_include_dirs = [ "$TEST_UNITTEST_DIR/libc/posix/mqueue" ]

posix_mqueue_sources_entry =
    [ "$TEST_UNITTEST_DIR/libc/posix/mqueue/posix_mqueue_test.cpp" ]

posix_mqueue_sources_smoke = [
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/smoke/It_posix_queue_001.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/smoke/It_posix_queue_003.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/smoke/It_posix_queue_028.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/smoke/It_posix_queue_053.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/smoke/It_posix_queue_062.cpp",
]

posix_mqueue_sources_full = [
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_002.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_005.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_008.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_011.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_013.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_014.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_015.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_016.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_018.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_019.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_020.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_021.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_025.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_026.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_027.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_030.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_031.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_032.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_033.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_036.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_038.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_040.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_041.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_042.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_043.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_044.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_046.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_047.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_048.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_049.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_050.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_052.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_054.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_055.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_056.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_057.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_058.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_060.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_061.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_063.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_064.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_065.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_066.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_067.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_069.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_070.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_071.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_072.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_073.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_074.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_075.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_076.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_077.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_078.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_079.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_080.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_081.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_082.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_083.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_084.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_085.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_086.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_087.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_088.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_089.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_090.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_091.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_093.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_094.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_095.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_096.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_097.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_098.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_100.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_101.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_102.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_103.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_104.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_106.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_108.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_109.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_110.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_111.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_112.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_113.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_114.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_115.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_116.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_117.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_118.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_119.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_120.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_121.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_122.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_123.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_124.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_125.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_126.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_127.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_128.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_129.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_130.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_133.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_134.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_136.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_143.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_144.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_145.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_146.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_147.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_148.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_149.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_150.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_151.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_152.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_153.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_154.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_155.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_156.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_157.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_159.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_160.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_161.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_162.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_163.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_164.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_165.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_166.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_168.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_169.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_173.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_175.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_176.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_177.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_187.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_200.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_201.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_202.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_203.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_204.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_205.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_206.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_207.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_208.cpp",
  "$TEST_UNITTEST_DIR/libc/posix/mqueue/full/It_posix_queue_209.cpp",
]
