13d8536b4Sopenharmony_ci# Copyright (c) 2022-2022 Huawei Device Co., Ltd. All rights reserved.
23d8536b4Sopenharmony_ci#
33d8536b4Sopenharmony_ci# Redistribution and use in source and binary forms, with or without modification,
43d8536b4Sopenharmony_ci# are permitted provided that the following conditions are met:
53d8536b4Sopenharmony_ci#
63d8536b4Sopenharmony_ci# 1. Redistributions of source code must retain the above copyright notice, this list of
73d8536b4Sopenharmony_ci#    conditions and the following disclaimer.
83d8536b4Sopenharmony_ci#
93d8536b4Sopenharmony_ci# 2. Redistributions in binary form must reproduce the above copyright notice, this list
103d8536b4Sopenharmony_ci#    of conditions and the following disclaimer in the documentation and/or other materials
113d8536b4Sopenharmony_ci#    provided with the distribution.
123d8536b4Sopenharmony_ci#
133d8536b4Sopenharmony_ci# 3. Neither the name of the copyright holder nor the names of its contributors may be used
143d8536b4Sopenharmony_ci#    to endorse or promote products derived from this software without specific prior written
153d8536b4Sopenharmony_ci#    permission.
163d8536b4Sopenharmony_ci#
173d8536b4Sopenharmony_ci# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
183d8536b4Sopenharmony_ci# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
193d8536b4Sopenharmony_ci# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
203d8536b4Sopenharmony_ci# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
213d8536b4Sopenharmony_ci# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
223d8536b4Sopenharmony_ci# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
233d8536b4Sopenharmony_ci# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
243d8536b4Sopenharmony_ci# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
253d8536b4Sopenharmony_ci# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
263d8536b4Sopenharmony_ci# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
273d8536b4Sopenharmony_ci# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
283d8536b4Sopenharmony_ci
293d8536b4Sopenharmony_ciimport("//kernel/liteos_m/liteos.gni")
303d8536b4Sopenharmony_ci
313d8536b4Sopenharmony_cistatic_library("test_posix") {
323d8536b4Sopenharmony_ci  sources = [
333d8536b4Sopenharmony_ci    "mqueue/It_posix_queue.c",
343d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_001.c",
353d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_002.c",
363d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_003.c",
373d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_004.c",
383d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_005.c",
393d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_006.c",
403d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_007.c",
413d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_008.c",
423d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_009.c",
433d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_010.c",
443d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_011.c",
453d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_012.c",
463d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_013.c",
473d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_014.c",
483d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_015.c",
493d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_016.c",
503d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_017.c",
513d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_018.c",
523d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_019.c",
533d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_020.c",
543d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_021.c",
553d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_022.c",
563d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_023.c",
573d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_024.c",
583d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_025.c",
593d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_026.c",
603d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_027.c",
613d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_028.c",
623d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_029.c",
633d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_030.c",
643d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_031.c",
653d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_032.c",
663d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_033.c",
673d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_034.c",
683d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_035.c",
693d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_036.c",
703d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_037.c",
713d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_038.c",
723d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_039.c",
733d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_040.c",
743d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_041.c",
753d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_042.c",
763d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_043.c",
773d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_044.c",
783d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_045.c",
793d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_046.c",
803d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_047.c",
813d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_048.c",
823d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_049.c",
833d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_050.c",
843d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_051.c",
853d8536b4Sopenharmony_ci    "mqueue/It_posix_queue_052.c",
863d8536b4Sopenharmony_ci    "mutex/It_posix_mutex.c",
873d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_001.c",
883d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_002.c",
893d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_003.c",
903d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_004.c",
913d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_005.c",
923d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_006.c",
933d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_007.c",
943d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_008.c",
953d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_009.c",
963d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_010.c",
973d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_011.c",
983d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_012.c",
993d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_013.c",
1003d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_014.c",
1013d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_015.c",
1023d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_016.c",
1033d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_017.c",
1043d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_018.c",
1053d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_019.c",
1063d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_020.c",
1073d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_021.c",
1083d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_022.c",
1093d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_023.c",
1103d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_024.c",
1113d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_025.c",
1123d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_026.c",
1133d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_027.c",
1143d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_028.c",
1153d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_029.c",
1163d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_030.c",
1173d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_031.c",
1183d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_032.c",
1193d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_033.c",
1203d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_034.c",
1213d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_035.c",
1223d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_036.c",
1233d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_037.c",
1243d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_038.c",
1253d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_039.c",
1263d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_040.c",
1273d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_041.c",
1283d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_042.c",
1293d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_043.c",
1303d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_044.c",
1313d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_045.c",
1323d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_046.c",
1333d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_047.c",
1343d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_048.c",
1353d8536b4Sopenharmony_ci    "mutex/It_posix_mutex_049.c",
1363d8536b4Sopenharmony_ci    "pthread/It_posix_pthread.c",
1373d8536b4Sopenharmony_ci    "pthread/It_posix_pthread_001.c",
1383d8536b4Sopenharmony_ci    "pthread/It_posix_pthread_002.c",
1393d8536b4Sopenharmony_ci    "pthread/It_posix_pthread_003.c",
1403d8536b4Sopenharmony_ci    "pthread/It_posix_pthread_004.c",
1413d8536b4Sopenharmony_ci    "pthread/It_posix_pthread_005.c",
1423d8536b4Sopenharmony_ci    "pthread/It_posix_pthread_006.c",
1433d8536b4Sopenharmony_ci    "pthread/It_posix_pthread_007.c",
1443d8536b4Sopenharmony_ci    "pthread/It_posix_pthread_008.c",
1453d8536b4Sopenharmony_ci    "pthread/It_posix_pthread_009.c",
1463d8536b4Sopenharmony_ci    "pthread/It_posix_pthread_010.c",
1473d8536b4Sopenharmony_ci    "pthread/It_posix_pthread_011.c",
1483d8536b4Sopenharmony_ci    "pthread/It_posix_pthread_012.c",
1493d8536b4Sopenharmony_ci    "pthread/It_posix_pthread_013.c",
1503d8536b4Sopenharmony_ci    "pthread/It_posix_pthread_014.c",
1513d8536b4Sopenharmony_ci    "pthread/It_posix_pthread_015.c",
1523d8536b4Sopenharmony_ci    "pthread/It_posix_pthread_016.c",
1533d8536b4Sopenharmony_ci    "pthread/It_posix_pthread_017.c",
1543d8536b4Sopenharmony_ci    "pthread/It_posix_pthread_018.c",
1553d8536b4Sopenharmony_ci    "pthread/It_posix_pthread_019.c",
1563d8536b4Sopenharmony_ci    "pthread/It_posix_pthread_020.c",
1573d8536b4Sopenharmony_ci    "pthread/It_posix_pthread_021.c",
1583d8536b4Sopenharmony_ci    "pthread/It_posix_pthread_022.c",
1593d8536b4Sopenharmony_ci    "pthread/It_posix_pthread_023.c",
1603d8536b4Sopenharmony_ci    "pthread/It_posix_pthread_024.c",
1613d8536b4Sopenharmony_ci    "pthread/It_posix_pthread_025.c",
1623d8536b4Sopenharmony_ci    "pthread_func_test.c",
1633d8536b4Sopenharmony_ci  ]
1643d8536b4Sopenharmony_ci
1653d8536b4Sopenharmony_ci  configs += [ "$LITEOSTOPDIR/testsuites:include" ]
1663d8536b4Sopenharmony_ci}
167