From 9bdf716407c125c9877b6f49c2133112c18cdabc Mon Sep 17 00:00:00 2001 From: lnlan Date: Fri, 28 May 2021 14:25:54 +0800 Subject: [PATCH] =?UTF-8?q?feat(build):=20=E4=BD=BF=E7=94=A8xts=20-notest?= =?UTF-8?q?=E9=80=89=E9=A1=B9=E6=97=B6=EF=BC=8C=E5=86=85=E6=A0=B8=E7=94=A8?= =?UTF-8?q?=E4=BE=8B=E4=B8=8D=E5=8F=82=E4=B8=8E=E7=BC=96=E8=AF=91=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E5=92=8C=E7=94=A8=E4=BE=8B=E7=BC=96=E8=AF=91=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=B9=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 【背景】 1.编译新增-notest选项为了排除用例参与构建,使用该选项时内核用例仍会参与构建,不符合预期 2.用例编译配置选项太多,需调整优化 【修改方案】 1.原内核用例的源文件是通过框架自带的source_set(一种虚拟静态库)的方式组织的, 不受unittests(自定义的一种方式)控制,修改为文件列表直接加入到unittest中。 2.编译配置通过level控制 【影响】 对现有的产品编译不会有影响。 Change-Id: I2c6a96e7276346de96f222b725d417418ff0e537 --- testsuites/unittest/BUILD.gn | 325 ++-- testsuites/unittest/IO/BUILD.gn | 120 +- testsuites/unittest/IPC/BUILD.gn | 46 +- testsuites/unittest/config.gni | 15 +- testsuites/unittest/drivers/hid/BUILD.gn | 44 +- testsuites/unittest/drivers/storage/BUILD.gn | 44 +- testsuites/unittest/dynload/BUILD.gn | 46 +- testsuites/unittest/exc/BUILD.gn | 54 +- testsuites/unittest/fs/BUILD.gn | 1527 +++++++++-------- testsuites/unittest/fs/proc/BUILD.gn | 54 +- testsuites/unittest/fs/vfat2/BUILD.gn | 329 ++-- testsuites/unittest/liteipc/BUILD.gn | 46 +- testsuites/unittest/mem/shm/BUILD.gn | 70 +- testsuites/unittest/mem/vm/BUILD.gn | 72 +- testsuites/unittest/misc/BUILD.gn | 70 +- testsuites/unittest/net/netdb/BUILD.gn | 98 +- testsuites/unittest/net/resolv/BUILD.gn | 60 +- testsuites/unittest/net/socket/BUILD.gn | 70 +- testsuites/unittest/posix/mem/BUILD.gn | 48 +- testsuites/unittest/posix/mqueue/BUILD.gn | 344 ++-- testsuites/unittest/posix/pthread/BUILD.gn | 272 ++- testsuites/unittest/process/mutex/BUILD.gn | 94 +- testsuites/unittest/process/process/BUILD.gn | 192 +-- testsuites/unittest/process/pthread/BUILD.gn | 92 +- testsuites/unittest/process/rwlock/BUILD.gn | 48 +- testsuites/unittest/process/spinlock/BUILD.gn | 46 +- .../unittest/security/capability/BUILD.gn | 46 +- testsuites/unittest/security/reugid/BUILD.gn | 46 +- testsuites/unittest/security/vid/BUILD.gn | 46 +- testsuites/unittest/signal/BUILD.gn | 170 +- testsuites/unittest/sys/BUILD.gn | 100 +- testsuites/unittest/time/clock/BUILD.gn | 66 +- testsuites/unittest/time/timer/BUILD.gn | 56 +- testsuites/unittest/util/BUILD.gn | 62 +- 34 files changed, 2296 insertions(+), 2522 deletions(-) diff --git a/testsuites/unittest/BUILD.gn b/testsuites/unittest/BUILD.gn index e342190d..da118cdf 100644 --- a/testsuites/unittest/BUILD.gn +++ b/testsuites/unittest/BUILD.gn @@ -29,51 +29,38 @@ import("config.gni") -local_flags = [] -local_flags_smoke = [] -local_flags_full = [] +local_flags = [ + "-fpermissive", + "-O2", + "-fbuiltin", + "-Wno-narrowing", + "-fPIE", +] if (LOSCFG_USER_TEST_SMP == "enable" || (LOSCFG_USER_TEST_SMP == "default" && board_name == "hispark_taurus")) { - local_flags = [ "-DLOSCFG_USER_TEST_SMP" ] + local_flags += [ "-DLOSCFG_USER_TEST_SMP" ] } -local_flags_smoke += [ "-DLOSCFG_USER_TEST_SMOKE" ] -local_flags_full += [ "-DLOSCFG_USER_TEST_SMOKE" ] -local_flags_full += [ "-DLOSCFG_USER_TEST_FULL" ] -#local_flags_full += [ "-DLOSCFG_USER_TEST_PRESSURE" ] -config("local_public_config") { - cflags = [ "-fpermissive" ] - cflags += [ - "-O2", - "-fbuiltin", - "-Wno-narrowing", - "-fPIE", +config("public_config_for_door") { + cflags = [ + "-DLOSCFG_USER_TEST_SMOKE", ] cflags += local_flags cflags_cc = cflags } -config("public_config_smk") { - cflags = [ "-fpermissive" ] - cflags += [ - "-O2", - "-fbuiltin", - "-Wno-narrowing", - "-fPIE", +config("public_config_for_all") { + cflags = [ + "-DLOSCFG_USER_TEST_SMOKE", + "-DLOSCFG_USER_TEST_FULL", ] - cflags += local_flags_smoke cflags += local_flags cflags_cc = cflags } -config("public_config_full") { - cflags = [ "-fpermissive" ] - cflags += [ - "-O2", - "-fbuiltin", - "-Wno-narrowing", - "-fPIE", +config("public_config_for_pressure") { + cflags = [ + "-DLOSCFG_USER_TEST_PRESSURE", ] - cflags += local_flags_full cflags += local_flags cflags_cc = cflags } @@ -81,253 +68,267 @@ config("public_config_full") { group("unittest") { deps = [] if (ohos_build_type == "debug") { - if (LOSCFG_USER_TEST_MISC == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "misc:liteos_a_misc_unittest" ] + if (LOSCFG_USER_TEST_FS_JFFS == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + deps += [ "fs:liteos_a_fs_unittest_door" ] } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { - deps += [ "misc:liteos_a_misc_unittest_door" ] + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "fs:liteos_a_fs_unittest" ] + } + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_HIGH) { + deps += [ "fs:liteos_a_fs_unittest_pressure" ] } } - if (LOSCFG_USER_TEST_DRIVERS_HID == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "drivers/hid:liteos_a_drivers_hid_unittest" ] + if (LOSCFG_USER_TEST_FS_VFAT == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + deps += [ "fs/vfat2:liteos_a_fs_vfat_unittest_door" ] } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { - deps += [ "drivers/hid:liteos_a_drivers_hid_unittest_door" ] + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "fs/vfat2:liteos_a_fs_vfat_unittest" ] + } + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_HIGH) { + deps += [ "fs/vfat2:liteos_a_fs_vfat_unittest_pressure" ] } } - if (LOSCFG_USER_TEST_DRIVERS_STORAGE == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "drivers/storage:liteos_a_drivers_storage_unittest" ] + if (LOSCFG_USER_TEST_FS_PROC == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + deps += [ "fs/proc:liteos_a_fs_procfs_unittest_door" ] } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { - deps += [ "drivers/storage:liteos_a_drivers_storage_unittest_door" ] + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "fs/proc:liteos_a_fs_procfs_unittest" ] } } - if (LOSCFG_USER_TEST_DYNLOAD == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "dynload:liteos_a_dynload_unittest" ] + if (LOSCFG_USER_TEST_MISC == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + deps += [ "misc:liteos_a_misc_unittest_door" ] } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { - deps += [ "dynload:liteos_a_dynload_unittest_door" ] + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "misc:liteos_a_misc_unittest" ] } } - if (LOSCFG_USER_TEST_EXC == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "exc:liteos_a_exc_unittest" ] + if (LOSCFG_USER_TEST_DRIVERS_HID == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + deps += [ "drivers/hid:liteos_a_drivers_hid_unittest_door" ] } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { - deps += [ "exc:liteos_a_exc_unittest_door" ] + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "drivers/hid:liteos_a_drivers_hid_unittest" ] } } - if (LOSCFG_USER_TEST_FS_JFFS == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "fs:liteos_a_fs_unittest" ] + if (LOSCFG_USER_TEST_DRIVERS_STORAGE == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + deps += [ "drivers/storage:liteos_a_drivers_storage_unittest_door" ] } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { - deps += [ "fs:liteos_a_fs_unittest_door" ] + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "drivers/storage:liteos_a_drivers_storage_unittest" ] } } - if (LOSCFG_USER_TEST_FS_VFAT == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "fs/vfat2:liteos_a_fs_vfat_unittest" ] + if (LOSCFG_USER_TEST_DYNLOAD == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + deps += [ "dynload:liteos_a_dynload_unittest_door" ] } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { - deps += [ "fs/vfat2:liteos_a_fs_vfat_unittest_door" ] + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "dynload:liteos_a_dynload_unittest" ] } } - if (LOSCFG_USER_TEST_IO == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "IO:liteos_a_io_unittest" ] + if (LOSCFG_USER_TEST_EXC == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + deps += [ "exc:liteos_a_exc_unittest_door" ] } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "exc:liteos_a_exc_unittest" ] + } + } + if (LOSCFG_USER_TEST_IO == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { deps += [ "IO:liteos_a_io_unittest_door" ] } + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "IO:liteos_a_io_unittest" ] + } } if (LOSCFG_USER_TEST_IPC == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "IPC:liteos_a_ipc_unittest" ] - } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { deps += [ "IPC:liteos_a_ipc_unittest_door" ] } + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "IPC:liteos_a_ipc_unittest" ] + } } if (LOSCFG_USER_TEST_LITEIPC == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "liteipc:liteos_a_liteipc_unittest" ] - } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { deps += [ "liteipc:liteos_a_liteipc_unittest_door" ] } + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "liteipc:liteos_a_liteipc_unittest" ] + } } if (LOSCFG_USER_TEST_MEM_SHM == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "mem/shm:liteos_a_mem_shm_unittest" ] - } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { deps += [ "mem/shm:liteos_a_mem_shm_unittest_door" ] } + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "mem/shm:liteos_a_mem_shm_unittest" ] + } } if (LOSCFG_USER_TEST_MEM_VM == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "mem/vm:liteos_a_mem_vm_unittest" ] - } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { deps += [ "mem/vm:liteos_a_mem_vm_unittest_door" ] } + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "mem/vm:liteos_a_mem_vm_unittest" ] + } } if (LOSCFG_USER_TEST_NET_NETDB == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "net/netdb:liteos_a_net_netdb_unittest" ] - } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { deps += [ "net/netdb:liteos_a_net_netdb_unittest_door" ] } + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "net/netdb:liteos_a_net_netdb_unittest" ] + } } if (LOSCFG_USER_TEST_NET_RESOLV == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "net/resolv:liteos_a_net_resolv_unittest" ] - } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { deps += [ "net/resolv:liteos_a_net_resolv_unittest_door" ] } + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "net/resolv:liteos_a_net_resolv_unittest" ] + } } if (LOSCFG_USER_TEST_NET_SOCKET == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "net/socket:liteos_a_net_socket_unittest" ] - } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { deps += [ "net/socket:liteos_a_net_socket_unittest_door" ] } + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "net/socket:liteos_a_net_socket_unittest" ] + } } if (LOSCFG_USER_TEST_POSIX_MEM == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "posix/mem:liteos_a_posix_mem_unittest" ] - } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { deps += [ "posix/mem:liteos_a_posix_mem_unittest_door" ] } + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "posix/mem:liteos_a_posix_mem_unittest" ] + } } if (LOSCFG_USER_TEST_POSIX_MQUEUE == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "posix/mqueue:liteos_a_posix_mqueue_unittest" ] - } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { deps += [ "posix/mqueue:liteos_a_posix_mqueue_unittest_door" ] } + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "posix/mqueue:liteos_a_posix_mqueue_unittest" ] + } } if (LOSCFG_USER_TEST_POSIX_PTHREAD == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "posix/pthread:liteos_a_posix_pthread_unittest" ] - } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { deps += [ "posix/pthread:liteos_a_posix_pthread_unittest_door" ] } + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "posix/pthread:liteos_a_posix_pthread_unittest" ] + } } if (LOSCFG_USER_TEST_MUTEX == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "process/mutex:liteos_a_mutex_unittest" ] - } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { deps += [ "process/mutex:liteos_a_mutex_unittest_door" ] } + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "process/mutex:liteos_a_mutex_unittest" ] + } } if (LOSCFG_USER_TEST_PROCESS == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "process/process:liteos_a_process_unittest" ] - } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { deps += [ "process/process:liteos_a_process_unittest_door" ] } + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "process/process:liteos_a_process_unittest" ] + } } if (LOSCFG_USER_TEST_PTHREAD == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "process/pthread:liteos_a_pthread_unittest" ] - } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { deps += [ "process/pthread:liteos_a_pthread_unittest_door" ] } + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "process/pthread:liteos_a_pthread_unittest" ] + } } if (LOSCFG_USER_TEST_RWLOCK == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "process/rwlock:liteos_a_rwlock_unittest" ] - } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { deps += [ "process/rwlock:liteos_a_rwlock_unittest_door" ] } + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "process/rwlock:liteos_a_rwlock_unittest" ] + } } if (LOSCFG_USER_TEST_SPINLOCK == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "process/spinlock:liteos_a_spinlock_unittest" ] - } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { deps += [ "process/spinlock:liteos_a_spinlock_unittest_door" ] } + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "process/spinlock:liteos_a_spinlock_unittest" ] + } } if (LOSCFG_USER_TEST_SECURITY_REUGID == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "security/reugid:liteos_a_security_reugid_unittest" ] - } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { deps += [ "security/reugid:liteos_a_security_reugid_unittest_door" ] } + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "security/reugid:liteos_a_security_reugid_unittest" ] + } } if (LOSCFG_USER_TEST_SECURITY_CAPABILITY == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "security/capability:liteos_a_security_capability_unittest" ] - } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { deps += [ "security/capability:liteos_a_security_capability_unittest_door" ] } + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "security/capability:liteos_a_security_capability_unittest" ] + } } if (LOSCFG_USER_TEST_SECURITY_VID == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "security/vid:liteos_a_security_vid_unittest" ] - } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { deps += [ "security/vid:liteos_a_security_vid_unittest_door" ] } + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "security/vid:liteos_a_security_vid_unittest" ] + } } if (LOSCFG_USER_TEST_UTIL == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "util:liteos_a_util_unittest" ] - } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { deps += [ "util:liteos_a_util_unittest_door" ] } + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "util:liteos_a_util_unittest" ] + } } if (LOSCFG_USER_TEST_TIME_TIMER == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "time/timer:liteos_a_time_timer_unittest" ] - } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { deps += [ "time/timer:liteos_a_time_timer_unittest_door" ] } + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "time/timer:liteos_a_time_timer_unittest" ] + } } if (LOSCFG_USER_TEST_TIME_CLOCK == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "time/clock:liteos_a_time_clock_unittest" ] - } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { deps += [ "time/clock:liteos_a_time_clock_unittest_door" ] } + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "time/clock:liteos_a_time_clock_unittest" ] + } } if (LOSCFG_USER_TEST_SYS == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "sys:liteos_a_sys_unittest" ] - } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { deps += [ "sys:liteos_a_sys_unittest_door" ] } + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "sys:liteos_a_sys_unittest" ] + } } if (LOSCFG_USER_TEST_SIGNAL == true) { - if (LOSCFG_USER_TEST_FOR_ALL == true) { - deps += [ "signal:liteos_a_signal_unittest" ] - } - if (LOSCFG_USER_TEST_FOR_DOOR == true) { + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { deps += [ "signal:liteos_a_signal_unittest_door" ] } + if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + deps += [ "signal:liteos_a_signal_unittest" ] + } } } } diff --git a/testsuites/unittest/IO/BUILD.gn b/testsuites/unittest/IO/BUILD.gn index 3836d24e..eb2e555e 100644 --- a/testsuites/unittest/IO/BUILD.gn +++ b/testsuites/unittest/IO/BUILD.gn @@ -41,81 +41,73 @@ sources_entry = [ "io_test.cpp", ] -source_set("sources_smoke") { - sources = [ - "smoke/IO_test_005.cpp", - "smoke/IO_test_008.cpp", - "smoke/IO_test_010.cpp", - "smoke/IO_test_013.cpp", - ] - configs += [ "..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ + "smoke/IO_test_005.cpp", + "smoke/IO_test_008.cpp", + "smoke/IO_test_010.cpp", + "smoke/IO_test_013.cpp", +] -source_set("sources_other") { - sources = [ - "full/IO_test_confstr_001.cpp", - "full/IO_test_dcgettext_001.cpp", - "full/IO_test_dcgettext_002.cpp", - "full/IO_test_dcngettext_001.cpp", - "full/IO_test_dcngettext_002.cpp", - "full/IO_test_dngettext_001.cpp", - "full/IO_test_dngettext_002.cpp", - "full/IO_test_duplocale_001.cpp", - "full/IO_test_locale_001.cpp", - "full/IO_test_locale_002.cpp", - "full/IO_test_ngettext_001.cpp", - "full/IO_test_nl_langinfo_001.cpp", - "full/IO_test_nl_langinfo_l_001.cpp", - "full/IO_test_strcasecmp_l_001.cpp", - "full/IO_test_strcasecmp_l_002.cpp", - "full/IO_test_strfmon_l_001.cpp", - "full/IO_test_strfmon_l_002.cpp", - "full/It_locale_localeconv_001.cpp", - "full/It_stdio_fputws_001.cpp", - "full/It_stdio_fwprintf_001.cpp", - "full/It_stdio_getc_unlocked_001.cpp", - "full/It_stdio_hasmntopt_001.cpp", - "full/It_stdio_mblen_001.cpp", - "full/It_stdio_mbrlen_001.cpp", - "full/It_stdio_putwc_001.cpp", - "full/It_stdio_readv_001.cpp", - "full/It_stdio_rindex_001.cpp", - "full/It_stdio_setlogmask_001.cpp", - "full/It_stdlib_gcvt_001.cpp", - "full/It_stdlib_poll_002.cpp", - "full/It_stdlib_poll_003.cpp", - "full/IO_test_gettext_001.cpp", - "full/IO_test_strncasecmp_l_001.cpp", - "full/IO_test_strncasecmp_l_002.cpp", - ] - configs += [ "..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_full = [ + "full/IO_test_confstr_001.cpp", + "full/IO_test_dcgettext_001.cpp", + "full/IO_test_dcgettext_002.cpp", + "full/IO_test_dcngettext_001.cpp", + "full/IO_test_dcngettext_002.cpp", + "full/IO_test_dngettext_001.cpp", + "full/IO_test_dngettext_002.cpp", + "full/IO_test_duplocale_001.cpp", + "full/IO_test_locale_001.cpp", + "full/IO_test_locale_002.cpp", + "full/IO_test_ngettext_001.cpp", + "full/IO_test_nl_langinfo_001.cpp", + "full/IO_test_nl_langinfo_l_001.cpp", + "full/IO_test_strcasecmp_l_001.cpp", + "full/IO_test_strcasecmp_l_002.cpp", + "full/IO_test_strfmon_l_001.cpp", + "full/IO_test_strfmon_l_002.cpp", + "full/It_locale_localeconv_001.cpp", + "full/It_stdio_fputws_001.cpp", + "full/It_stdio_fwprintf_001.cpp", + "full/It_stdio_getc_unlocked_001.cpp", + "full/It_stdio_hasmntopt_001.cpp", + "full/It_stdio_mblen_001.cpp", + "full/It_stdio_mbrlen_001.cpp", + "full/It_stdio_putwc_001.cpp", + "full/It_stdio_readv_001.cpp", + "full/It_stdio_rindex_001.cpp", + "full/It_stdio_setlogmask_001.cpp", + "full/It_stdlib_gcvt_001.cpp", + "full/It_stdlib_poll_002.cpp", + "full/It_stdlib_poll_003.cpp", + "full/IO_test_gettext_001.cpp", + "full/IO_test_strncasecmp_l_001.cpp", + "full/IO_test_strncasecmp_l_002.cpp", +] -if (LOSCFG_USER_TEST_FOR_ALL == true) { - unittest("liteos_a_io_unittest") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_io_unittest_door") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "..:public_config_full" ] - deps = [] - deps += [ ":sources_smoke" ] - deps += [ ":sources_other" ] + sources += sources_smoke + sources_full = [] + sources += sources_full + configs = [ "..:public_config_for_door" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_io_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + unittest("liteos_a_io_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "..:public_config_smk" ] - deps = [] - deps += [ ":sources_smoke" ] + sources += sources_smoke + sources += sources_full + configs = [ "..:public_config_for_all" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } -} \ No newline at end of file +} diff --git a/testsuites/unittest/IPC/BUILD.gn b/testsuites/unittest/IPC/BUILD.gn index ce22d5b4..701a3d08 100644 --- a/testsuites/unittest/IPC/BUILD.gn +++ b/testsuites/unittest/IPC/BUILD.gn @@ -41,45 +41,37 @@ sources_entry = [ "ipc_test.cpp", ] -source_set("sources_smoke") { - sources = [ - ] - configs += [ "..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ +] -source_set("sources_other") { - sources = [ - "full/IPC_test_mkfifoat_001.cpp", - "full/IPC_test_mkfifoat_002.cpp", - ] - configs += [ "..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_full = [ + "full/IPC_test_mkfifoat_001.cpp", + "full/IPC_test_mkfifoat_002.cpp", +] -if (LOSCFG_USER_TEST_FOR_ALL == true) { - unittest("liteos_a_ipc_unittest") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_ipc_unittest_door") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "..:public_config_full" ] - deps = [] - deps += [ ":sources_smoke" ] - deps += [ ":sources_other" ] + sources += sources_smoke + sources_full = [] + sources += sources_full + configs = [ "..:public_config_for_door" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_ipc_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + unittest("liteos_a_ipc_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "..:public_config_smk" ] - deps = [] - deps += [ ":sources_smoke" ] + sources += sources_smoke + sources += sources_full + configs = [ "..:public_config_for_all" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } diff --git a/testsuites/unittest/config.gni b/testsuites/unittest/config.gni index e7a74e34..d7c6da1c 100644 --- a/testsuites/unittest/config.gni +++ b/testsuites/unittest/config.gni @@ -27,13 +27,19 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -LOSCFG_USER_TEST_FOR_DOOR = true -LOSCFG_USER_TEST_FOR_ALL = false -LOSCFG_USER_TEST_PRESSURE = false +TEST_LEVEL_LOW = 1 +TEST_LEVEL_MIDDLE = 3 +TEST_LEVEL_HIGH = 5 + +# 0: don`t generate +# TEST_LEVEL_LOW: only generate xxx_unittest_door.bin (smoke) +# TEST_LEVEL_MIDDLE: generate xxx_unittest_door.bin (smoke) & xxx_unittest.bin (smoke + full) +# TEST_LEVEL_HIGH: generate xxx_unittest_door.bin (smoke) & xxx_unittest.bin (smoke + full) & xxx_unittest_pressure.bin (pressure) +LOSCFG_USER_TEST_LEVEL = TEST_LEVEL_HIGH # "default": depend on board_name # "enable": those testsuites testing for SMP is enable -# "disable" those testsuites is disable +# "disable": those testsuites is disable LOSCFG_USER_TEST_SMP = "default" LOSCFG_USER_TEST_MISC = true @@ -42,6 +48,7 @@ LOSCFG_USER_TEST_DRIVERS_STORAGE = true LOSCFG_USER_TEST_DYNLOAD = true LOSCFG_USER_TEST_EXC = true LOSCFG_USER_TEST_FS_JFFS = false +LOSCFG_USER_TEST_FS_PROC = false LOSCFG_USER_TEST_FS_VFAT = false LOSCFG_USER_TEST_IO = true LOSCFG_USER_TEST_IPC = false diff --git a/testsuites/unittest/drivers/hid/BUILD.gn b/testsuites/unittest/drivers/hid/BUILD.gn index 797a5a47..63290dd9 100644 --- a/testsuites/unittest/drivers/hid/BUILD.gn +++ b/testsuites/unittest/drivers/hid/BUILD.gn @@ -41,44 +41,36 @@ sources_entry = [ "drivers_hid_test.cpp", ] -source_set("sources_smoke") { - sources = [ - "smoke/hid_test_001.cpp", - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ + "smoke/hid_test_001.cpp", +] -source_set("sources_other") { - sources = [ - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_full = [ +] -if (LOSCFG_USER_TEST_FOR_ALL == true) { - unittest("liteos_a_drivers_hid_unittest") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_drivers_hid_unittest_door") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_full" ] - deps = [] - deps += [ ":sources_smoke" ] - deps += [ ":sources_other" ] + sources += sources_smoke + sources_full = [] + sources += sources_full + configs = [ "../..:public_config_for_door" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_drivers_hid_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + unittest("liteos_a_drivers_hid_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_smk" ] - deps = [] - deps += [ ":sources_smoke" ] + sources += sources_smoke + sources += sources_full + configs = [ "../..:public_config_for_all" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } \ No newline at end of file diff --git a/testsuites/unittest/drivers/storage/BUILD.gn b/testsuites/unittest/drivers/storage/BUILD.gn index a5c62fa8..90007532 100644 --- a/testsuites/unittest/drivers/storage/BUILD.gn +++ b/testsuites/unittest/drivers/storage/BUILD.gn @@ -41,44 +41,36 @@ sources_entry = [ "drivers_storage_test.cpp", ] -source_set("sources_smoke") { - sources = [ - "smoke/storage_test_001.cpp", - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ + "smoke/storage_test_001.cpp", +] -source_set("sources_other") { - sources = [ - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_full = [ +] -if (LOSCFG_USER_TEST_FOR_ALL == true) { - unittest("liteos_a_drivers_storage_unittest") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_drivers_storage_unittest_door") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_full" ] - deps = [] - deps += [ ":sources_smoke" ] - deps += [ ":sources_other" ] + sources += sources_smoke + sources_full = [] + sources += sources_full + configs = [ "../..:public_config_for_door" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_drivers_storage_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + unittest("liteos_a_drivers_storage_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_smk" ] - deps = [] - deps += [ ":sources_smoke" ] + sources += sources_smoke + sources += sources_full + configs = [ "../..:public_config_for_all" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } \ No newline at end of file diff --git a/testsuites/unittest/dynload/BUILD.gn b/testsuites/unittest/dynload/BUILD.gn index e336a08d..a984256d 100644 --- a/testsuites/unittest/dynload/BUILD.gn +++ b/testsuites/unittest/dynload/BUILD.gn @@ -41,45 +41,37 @@ sources_entry = [ "dynload_test.cpp", ] -source_set("sources_smoke") { - sources = [ - "smoke/dynload_test_002.cpp", - "smoke/dynload_test_004.cpp", - ] - configs += [ "..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ + "smoke/dynload_test_002.cpp", + "smoke/dynload_test_004.cpp", +] -source_set("sources_other") { - sources = [ - ] - configs += [ "..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_full = [ +] -if (LOSCFG_USER_TEST_FOR_ALL == true) { - unittest("liteos_a_dynload_unittest") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_dynload_unittest_door") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "..:public_config_full" ] - deps = [] - deps += [ ":sources_smoke" ] - deps += [ ":sources_other" ] + sources += sources_smoke + sources_full = [] + sources += sources_full + configs = [ "..:public_config_for_door" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_dynload_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + unittest("liteos_a_dynload_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "..:public_config_smk" ] - deps = [] - deps += [ ":sources_smoke" ] + sources += sources_smoke + sources += sources_full + configs = [ "..:public_config_for_all" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } \ No newline at end of file diff --git a/testsuites/unittest/exc/BUILD.gn b/testsuites/unittest/exc/BUILD.gn index 6b68ae08..3502cec1 100644 --- a/testsuites/unittest/exc/BUILD.gn +++ b/testsuites/unittest/exc/BUILD.gn @@ -41,49 +41,41 @@ sources_entry = [ "exc_test.cpp", ] -source_set("sources_smoke") { - sources = [ - "smoke/it_test_exc_001.cpp", - "smoke/it_test_exc_002.cpp", - "smoke/it_test_exc_003.cpp", - "smoke/it_test_exc_004.cpp", - "smoke/it_test_exc_005.cpp", - ] - configs += [ "..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ + "smoke/it_test_exc_001.cpp", + "smoke/it_test_exc_002.cpp", + "smoke/it_test_exc_003.cpp", + "smoke/it_test_exc_004.cpp", + "smoke/it_test_exc_005.cpp", +] -source_set("sources_other") { - sources = [ - "full/it_test_fexecve_001.cpp", - ] - configs += [ "..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_full = [ + "full/it_test_fexecve_001.cpp", +] -if (LOSCFG_USER_TEST_FOR_ALL == true) { - unittest("liteos_a_exc_unittest") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_exc_unittest_door") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "..:public_config_full" ] - deps = [] - deps += [ ":sources_smoke" ] - deps += [ ":sources_other" ] + sources += sources_smoke + sources_full = [] + sources += sources_full + configs = [ "..:public_config_for_door" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_exc_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + unittest("liteos_a_exc_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "..:public_config_smk" ] - deps = [] - deps += [ ":sources_smoke" ] + sources += sources_smoke + sources += sources_full + configs = [ "..:public_config_for_all" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } \ No newline at end of file diff --git a/testsuites/unittest/fs/BUILD.gn b/testsuites/unittest/fs/BUILD.gn index a0989e8d..5912e8f0 100644 --- a/testsuites/unittest/fs/BUILD.gn +++ b/testsuites/unittest/fs/BUILD.gn @@ -42,785 +42,788 @@ sources_entry = [ "jffs/vfs_jffs_test.cpp", ] -source_set("sources_smoke") { - sources = [ - "jffs/smoke/It_vfs_jffs_001.cpp", - "jffs/smoke/It_vfs_jffs_002.cpp", - "jffs/smoke/It_vfs_jffs_003.cpp", - "jffs/smoke/It_vfs_jffs_005.cpp", - "jffs/smoke/It_vfs_jffs_021.cpp", - "jffs/smoke/It_vfs_jffs_022.cpp", - "jffs/smoke/It_vfs_jffs_026.cpp", - "jffs/smoke/It_vfs_jffs_027.cpp", - "jffs/smoke/It_vfs_jffs_034.cpp", - "jffs/smoke/It_vfs_jffs_035.cpp", - "jffs/smoke/It_vfs_jffs_094.cpp", - "jffs/smoke/It_vfs_jffs_095.cpp", - #"jffs/smoke/It_vfs_jffs_103.cpp", - "jffs/smoke/It_vfs_jffs_535.cpp", - "jffs/smoke/It_vfs_jffs_Dac_001.cpp", - ] - configs += [ "..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ + "jffs/smoke/It_vfs_jffs_001.cpp", + "jffs/smoke/It_vfs_jffs_002.cpp", + "jffs/smoke/It_vfs_jffs_003.cpp", + "jffs/smoke/It_vfs_jffs_005.cpp", + "jffs/smoke/It_vfs_jffs_021.cpp", + "jffs/smoke/It_vfs_jffs_022.cpp", + "jffs/smoke/It_vfs_jffs_026.cpp", + "jffs/smoke/It_vfs_jffs_027.cpp", + "jffs/smoke/It_vfs_jffs_034.cpp", + "jffs/smoke/It_vfs_jffs_035.cpp", + "jffs/smoke/It_vfs_jffs_094.cpp", + "jffs/smoke/It_vfs_jffs_095.cpp", + #"jffs/smoke/It_vfs_jffs_103.cpp", + "jffs/smoke/It_vfs_jffs_535.cpp", + "jffs/smoke/It_vfs_jffs_Dac_001.cpp", +] + +sources_pressure = [ + "jffs/pressure/It_fs_jffs_performance_001.cpp", + "jffs/pressure/It_fs_jffs_performance_002.cpp", + "jffs/pressure/It_fs_jffs_performance_003.cpp", + "jffs/pressure/It_fs_jffs_performance_004.cpp", + "jffs/pressure/It_fs_jffs_performance_005.cpp", + "jffs/pressure/It_fs_jffs_performance_006.cpp", + "jffs/pressure/It_fs_jffs_performance_007.cpp", + "jffs/pressure/It_fs_jffs_performance_008.cpp", + "jffs/pressure/It_fs_jffs_performance_009.cpp", + "jffs/pressure/It_fs_jffs_performance_010.cpp", + "jffs/pressure/It_fs_jffs_performance_011.cpp", + "jffs/pressure/It_fs_jffs_performance_012.cpp", + "jffs/pressure/It_fs_jffs_performance_013.cpp", + "jffs/pressure/It_fs_jffs_pressure_001.cpp", + "jffs/pressure/It_fs_jffs_pressure_002.cpp", + "jffs/pressure/It_fs_jffs_pressure_003.cpp", + "jffs/pressure/It_fs_jffs_pressure_004.cpp", + "jffs/pressure/It_fs_jffs_pressure_005.cpp", + "jffs/pressure/It_fs_jffs_pressure_006.cpp", + "jffs/pressure/It_fs_jffs_pressure_007.cpp", + "jffs/pressure/It_fs_jffs_pressure_008.cpp", + "jffs/pressure/It_fs_jffs_pressure_009.cpp", + "jffs/pressure/It_fs_jffs_pressure_010.cpp", + "jffs/pressure/It_fs_jffs_pressure_011.cpp", + "jffs/pressure/It_fs_jffs_pressure_012.cpp", + "jffs/pressure/It_fs_jffs_pressure_014.cpp", + "jffs/pressure/It_fs_jffs_pressure_015.cpp", + "jffs/pressure/It_fs_jffs_pressure_016.cpp", + "jffs/pressure/It_fs_jffs_pressure_017.cpp", + "jffs/pressure/It_fs_jffs_pressure_018.cpp", + "jffs/pressure/It_fs_jffs_pressure_019.cpp", + "jffs/pressure/It_fs_jffs_pressure_020.cpp", + "jffs/pressure/It_fs_jffs_pressure_021.cpp", + "jffs/pressure/It_fs_jffs_pressure_022.cpp", + "jffs/pressure/It_fs_jffs_pressure_023.cpp", + "jffs/pressure/It_fs_jffs_pressure_024.cpp", + "jffs/pressure/It_fs_jffs_pressure_025.cpp", + "jffs/pressure/It_fs_jffs_pressure_026.cpp", + "jffs/pressure/It_fs_jffs_pressure_027.cpp", + "jffs/pressure/It_fs_jffs_pressure_028.cpp", + "jffs/pressure/It_fs_jffs_pressure_029.cpp", + "jffs/pressure/It_fs_jffs_pressure_030.cpp", + "jffs/pressure/It_fs_jffs_pressure_031.cpp", + "jffs/pressure/It_fs_jffs_pressure_032.cpp", + "jffs/pressure/It_fs_jffs_pressure_033.cpp", + "jffs/pressure/It_fs_jffs_pressure_034.cpp", + "jffs/pressure/It_fs_jffs_pressure_035.cpp", + "jffs/pressure/It_fs_jffs_pressure_036.cpp", + "jffs/pressure/It_fs_jffs_pressure_037.cpp", + "jffs/pressure/It_fs_jffs_pressure_038.cpp", + "jffs/pressure/It_fs_jffs_pressure_039.cpp", + "jffs/pressure/It_fs_jffs_pressure_040.cpp", + "jffs/pressure/It_fs_jffs_pressure_041.cpp", + "jffs/pressure/It_fs_jffs_pressure_042.cpp", + "jffs/pressure/It_fs_jffs_pressure_043.cpp", + "jffs/pressure/It_fs_jffs_pressure_044.cpp", + "jffs/pressure/It_fs_jffs_pressure_045.cpp", + "jffs/pressure/It_fs_jffs_pressure_046.cpp", + "jffs/pressure/It_fs_jffs_pressure_047.cpp", + "jffs/pressure/It_fs_jffs_pressure_048.cpp", + "jffs/pressure/It_fs_jffs_pressure_049.cpp", + "jffs/pressure/It_fs_jffs_pressure_050.cpp", + "jffs/pressure/It_fs_jffs_pressure_051.cpp", + "jffs/pressure/It_fs_jffs_pressure_052.cpp", + "jffs/pressure/It_fs_jffs_pressure_053.cpp", + "jffs/pressure/It_fs_jffs_pressure_301.cpp", + "jffs/pressure/It_fs_jffs_pressure_302.cpp", + #"jffs/pressure/It_fs_jffs_pressure_303.cpp", + "jffs/pressure/It_fs_jffs_pressure_304.cpp", + "jffs/pressure/It_fs_jffs_pressure_305.cpp", + "jffs/pressure/It_fs_jffs_pressure_306.cpp", + "jffs/pressure/It_fs_jffs_pressure_307.cpp", + "jffs/pressure/It_fs_jffs_pressure_308.cpp", + "jffs/pressure/It_fs_jffs_pressure_309.cpp", + "jffs/pressure/It_fs_jffs_pressure_310.cpp", + "jffs/pressure/It_fs_jffs_pressure_311.cpp", + "jffs/pressure/It_fs_jffs_pressure_312.cpp", + "jffs/pressure/It_fs_jffs_pressure_313.cpp", + "jffs/pressure/It_fs_jffs_pressure_314.cpp", + "jffs/pressure/It_fs_jffs_pressure_315.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_001.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_002.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_003.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_004.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_005.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_006.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_007.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_008.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_009.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_010.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_011.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_012.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_013.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_014.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_015.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_016.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_017.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_018.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_019.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_020.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_021.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_022.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_023.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_024.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_025.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_026.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_027.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_028.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_029.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_030.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_031.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_032.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_033.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_034.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_035.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_036.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_037.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_038.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_039.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_040.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_041.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_042.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_043.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_044.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_045.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_046.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_047.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_048.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_049.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_050.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_051.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_052.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_053.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_054.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_055.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_056.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_057.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_058.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_059.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_060.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_061.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_062.cpp", + "jffs/pressure/It_vfs_jffs_multipthread_063.cpp", +] -if (LOSCFG_USER_TEST_PRESSURE == true) { - source_set("sources_pressure") { - sources = [ - "jffs/pressure/It_fs_jffs_performance_001.cpp", - "jffs/pressure/It_fs_jffs_performance_002.cpp", - "jffs/pressure/It_fs_jffs_performance_003.cpp", - "jffs/pressure/It_fs_jffs_performance_004.cpp", - "jffs/pressure/It_fs_jffs_performance_005.cpp", - "jffs/pressure/It_fs_jffs_performance_006.cpp", - "jffs/pressure/It_fs_jffs_performance_007.cpp", - "jffs/pressure/It_fs_jffs_performance_008.cpp", - "jffs/pressure/It_fs_jffs_performance_009.cpp", - "jffs/pressure/It_fs_jffs_performance_010.cpp", - "jffs/pressure/It_fs_jffs_performance_011.cpp", - "jffs/pressure/It_fs_jffs_performance_012.cpp", - "jffs/pressure/It_fs_jffs_performance_013.cpp", - "jffs/pressure/It_fs_jffs_pressure_001.cpp", - "jffs/pressure/It_fs_jffs_pressure_002.cpp", - "jffs/pressure/It_fs_jffs_pressure_003.cpp", - "jffs/pressure/It_fs_jffs_pressure_004.cpp", - "jffs/pressure/It_fs_jffs_pressure_005.cpp", - "jffs/pressure/It_fs_jffs_pressure_006.cpp", - "jffs/pressure/It_fs_jffs_pressure_007.cpp", - "jffs/pressure/It_fs_jffs_pressure_008.cpp", - "jffs/pressure/It_fs_jffs_pressure_009.cpp", - "jffs/pressure/It_fs_jffs_pressure_010.cpp", - "jffs/pressure/It_fs_jffs_pressure_011.cpp", - "jffs/pressure/It_fs_jffs_pressure_012.cpp", - "jffs/pressure/It_fs_jffs_pressure_014.cpp", - "jffs/pressure/It_fs_jffs_pressure_015.cpp", - "jffs/pressure/It_fs_jffs_pressure_016.cpp", - "jffs/pressure/It_fs_jffs_pressure_017.cpp", - "jffs/pressure/It_fs_jffs_pressure_018.cpp", - "jffs/pressure/It_fs_jffs_pressure_019.cpp", - "jffs/pressure/It_fs_jffs_pressure_020.cpp", - "jffs/pressure/It_fs_jffs_pressure_021.cpp", - "jffs/pressure/It_fs_jffs_pressure_022.cpp", - "jffs/pressure/It_fs_jffs_pressure_023.cpp", - "jffs/pressure/It_fs_jffs_pressure_024.cpp", - "jffs/pressure/It_fs_jffs_pressure_025.cpp", - "jffs/pressure/It_fs_jffs_pressure_026.cpp", - "jffs/pressure/It_fs_jffs_pressure_027.cpp", - "jffs/pressure/It_fs_jffs_pressure_028.cpp", - "jffs/pressure/It_fs_jffs_pressure_029.cpp", - "jffs/pressure/It_fs_jffs_pressure_030.cpp", - "jffs/pressure/It_fs_jffs_pressure_031.cpp", - "jffs/pressure/It_fs_jffs_pressure_032.cpp", - "jffs/pressure/It_fs_jffs_pressure_033.cpp", - "jffs/pressure/It_fs_jffs_pressure_034.cpp", - "jffs/pressure/It_fs_jffs_pressure_035.cpp", - "jffs/pressure/It_fs_jffs_pressure_036.cpp", - "jffs/pressure/It_fs_jffs_pressure_037.cpp", - "jffs/pressure/It_fs_jffs_pressure_038.cpp", - "jffs/pressure/It_fs_jffs_pressure_039.cpp", - "jffs/pressure/It_fs_jffs_pressure_040.cpp", - "jffs/pressure/It_fs_jffs_pressure_041.cpp", - "jffs/pressure/It_fs_jffs_pressure_042.cpp", - "jffs/pressure/It_fs_jffs_pressure_043.cpp", - "jffs/pressure/It_fs_jffs_pressure_044.cpp", - "jffs/pressure/It_fs_jffs_pressure_045.cpp", - "jffs/pressure/It_fs_jffs_pressure_046.cpp", - "jffs/pressure/It_fs_jffs_pressure_047.cpp", - "jffs/pressure/It_fs_jffs_pressure_048.cpp", - "jffs/pressure/It_fs_jffs_pressure_049.cpp", - "jffs/pressure/It_fs_jffs_pressure_050.cpp", - "jffs/pressure/It_fs_jffs_pressure_051.cpp", - "jffs/pressure/It_fs_jffs_pressure_052.cpp", - "jffs/pressure/It_fs_jffs_pressure_053.cpp", - "jffs/pressure/It_fs_jffs_pressure_301.cpp", - "jffs/pressure/It_fs_jffs_pressure_302.cpp", - #"jffs/pressure/It_fs_jffs_pressure_303.cpp", - "jffs/pressure/It_fs_jffs_pressure_304.cpp", - "jffs/pressure/It_fs_jffs_pressure_305.cpp", - "jffs/pressure/It_fs_jffs_pressure_306.cpp", - "jffs/pressure/It_fs_jffs_pressure_307.cpp", - "jffs/pressure/It_fs_jffs_pressure_308.cpp", - "jffs/pressure/It_fs_jffs_pressure_309.cpp", - "jffs/pressure/It_fs_jffs_pressure_310.cpp", - "jffs/pressure/It_fs_jffs_pressure_311.cpp", - "jffs/pressure/It_fs_jffs_pressure_312.cpp", - "jffs/pressure/It_fs_jffs_pressure_313.cpp", - "jffs/pressure/It_fs_jffs_pressure_314.cpp", - "jffs/pressure/It_fs_jffs_pressure_315.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_001.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_002.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_003.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_004.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_005.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_006.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_007.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_008.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_009.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_010.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_011.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_012.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_013.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_014.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_015.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_016.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_017.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_018.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_019.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_020.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_021.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_022.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_023.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_024.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_025.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_026.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_027.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_028.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_029.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_030.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_031.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_032.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_033.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_034.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_035.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_036.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_037.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_038.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_039.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_040.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_041.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_042.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_043.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_044.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_045.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_046.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_047.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_048.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_049.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_050.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_051.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_052.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_053.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_054.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_055.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_056.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_057.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_058.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_059.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_060.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_061.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_062.cpp", - "jffs/pressure/It_vfs_jffs_multipthread_063.cpp", - ] +sources_full = [ + "jffs/full/It_jffs_001.cpp", + "jffs/full/It_jffs_002.cpp", + "jffs/full/It_jffs_003.cpp", + "jffs/full/It_jffs_004.cpp", + "jffs/full/It_jffs_005.cpp", + "jffs/full/It_jffs_006.cpp", + "jffs/full/It_jffs_007.cpp", + "jffs/full/It_jffs_008.cpp", + "jffs/full/It_jffs_009.cpp", + "jffs/full/It_jffs_010.cpp", + "jffs/full/It_jffs_011.cpp", + "jffs/full/It_jffs_012.cpp", + "jffs/full/It_jffs_013.cpp", + "jffs/full/It_jffs_014.cpp", + "jffs/full/It_jffs_015.cpp", + "jffs/full/It_jffs_016.cpp", + "jffs/full/It_jffs_017.cpp", + "jffs/full/It_jffs_018.cpp", + "jffs/full/It_jffs_019.cpp", + "jffs/full/It_jffs_020.cpp", + "jffs/full/It_jffs_021.cpp", + "jffs/full/It_jffs_022.cpp", + "jffs/full/It_jffs_023.cpp", + "jffs/full/It_jffs_024.cpp", + "jffs/full/It_jffs_025.cpp", + "jffs/full/It_jffs_026.cpp", + "jffs/full/It_jffs_027.cpp", + "jffs/full/It_jffs_028.cpp", + "jffs/full/It_jffs_029.cpp", + "jffs/full/It_jffs_030.cpp", + "jffs/full/It_jffs_031.cpp", + "jffs/full/It_jffs_032.cpp", + "jffs/full/It_jffs_033.cpp", + "jffs/full/It_jffs_034.cpp", + "jffs/full/It_jffs_035.cpp", + "jffs/full/It_jffs_036.cpp", + "jffs/full/It_jffs_037.cpp", + "jffs/full/It_jffs_038.cpp", + "jffs/full/It_jffs_039.cpp", + "jffs/full/It_jffs_040.cpp", + "jffs/full/It_jffs_041.cpp", + "jffs/full/It_jffs_042.cpp", + "jffs/full/It_jffs_043.cpp", + "jffs/full/It_jffs_044.cpp", + "jffs/full/It_vfs_jffs_004.cpp", + "jffs/full/It_vfs_jffs_006.cpp", + "jffs/full/It_vfs_jffs_007.cpp", + "jffs/full/It_vfs_jffs_008.cpp", + "jffs/full/It_vfs_jffs_009.cpp", + "jffs/full/It_vfs_jffs_010.cpp", + "jffs/full/It_vfs_jffs_011.cpp", + "jffs/full/It_vfs_jffs_012.cpp", + "jffs/full/It_vfs_jffs_013.cpp", + "jffs/full/It_vfs_jffs_014.cpp", + "jffs/full/It_vfs_jffs_015.cpp", + "jffs/full/It_vfs_jffs_016.cpp", + "jffs/full/It_vfs_jffs_017.cpp", + "jffs/full/It_vfs_jffs_018.cpp", + "jffs/full/It_vfs_jffs_019.cpp", + "jffs/full/It_vfs_jffs_020.cpp", + "jffs/full/It_vfs_jffs_023.cpp", + "jffs/full/It_vfs_jffs_024.cpp", + "jffs/full/It_vfs_jffs_025.cpp", + "jffs/full/It_vfs_jffs_028.cpp", + "jffs/full/It_vfs_jffs_029.cpp", + "jffs/full/It_vfs_jffs_030.cpp", + "jffs/full/It_vfs_jffs_031.cpp", + "jffs/full/It_vfs_jffs_032.cpp", + "jffs/full/It_vfs_jffs_033.cpp", + "jffs/full/It_vfs_jffs_037.cpp", + "jffs/full/It_vfs_jffs_038.cpp", + "jffs/full/It_vfs_jffs_039.cpp", + "jffs/full/It_vfs_jffs_040.cpp", + "jffs/full/It_vfs_jffs_041.cpp", + "jffs/full/It_vfs_jffs_042.cpp", + "jffs/full/It_vfs_jffs_043.cpp", + "jffs/full/It_vfs_jffs_044.cpp", + "jffs/full/It_vfs_jffs_045.cpp", + "jffs/full/It_vfs_jffs_046.cpp", + "jffs/full/It_vfs_jffs_048.cpp", + "jffs/full/It_vfs_jffs_049.cpp", + "jffs/full/It_vfs_jffs_050.cpp", + #"jffs/full/It_vfs_jffs_051.cpp", + "jffs/full/It_vfs_jffs_053.cpp", + "jffs/full/It_vfs_jffs_055.cpp", + "jffs/full/It_vfs_jffs_056.cpp", + "jffs/full/It_vfs_jffs_057.cpp", + "jffs/full/It_vfs_jffs_058.cpp", + "jffs/full/It_vfs_jffs_059.cpp", + "jffs/full/It_vfs_jffs_060.cpp", + "jffs/full/It_vfs_jffs_061.cpp", + "jffs/full/It_vfs_jffs_062.cpp", + "jffs/full/It_vfs_jffs_063.cpp", + "jffs/full/It_vfs_jffs_064.cpp", + "jffs/full/It_vfs_jffs_065.cpp", + "jffs/full/It_vfs_jffs_066.cpp", + "jffs/full/It_vfs_jffs_067.cpp", + "jffs/full/It_vfs_jffs_068.cpp", + "jffs/full/It_vfs_jffs_069.cpp", + "jffs/full/It_vfs_jffs_070.cpp", + "jffs/full/It_vfs_jffs_071.cpp", + "jffs/full/It_vfs_jffs_072.cpp", + "jffs/full/It_vfs_jffs_073.cpp", + "jffs/full/It_vfs_jffs_074.cpp", + "jffs/full/It_vfs_jffs_076.cpp", + "jffs/full/It_vfs_jffs_077.cpp", + "jffs/full/It_vfs_jffs_078.cpp", + "jffs/full/It_vfs_jffs_079.cpp", + "jffs/full/It_vfs_jffs_080.cpp", + "jffs/full/It_vfs_jffs_081.cpp", + "jffs/full/It_vfs_jffs_082.cpp", + "jffs/full/It_vfs_jffs_083.cpp", + "jffs/full/It_vfs_jffs_084.cpp", + "jffs/full/It_vfs_jffs_085.cpp", + "jffs/full/It_vfs_jffs_086.cpp", + "jffs/full/It_vfs_jffs_088.cpp", + "jffs/full/It_vfs_jffs_090.cpp", + "jffs/full/It_vfs_jffs_092.cpp", + "jffs/full/It_vfs_jffs_093.cpp", + "jffs/full/It_vfs_jffs_096.cpp", + "jffs/full/It_vfs_jffs_097.cpp", + "jffs/full/It_vfs_jffs_099.cpp", + "jffs/full/It_vfs_jffs_100.cpp", + "jffs/full/It_vfs_jffs_101.cpp", + "jffs/full/It_vfs_jffs_102.cpp", + "jffs/full/It_vfs_jffs_104.cpp", + "jffs/full/It_vfs_jffs_105.cpp", + "jffs/full/It_vfs_jffs_106.cpp", + "jffs/full/It_vfs_jffs_107.cpp", + "jffs/full/It_vfs_jffs_116.cpp", + "jffs/full/It_vfs_jffs_117.cpp", + "jffs/full/It_vfs_jffs_118.cpp", + "jffs/full/It_vfs_jffs_119.cpp", + "jffs/full/It_vfs_jffs_120.cpp", + "jffs/full/It_vfs_jffs_121.cpp", + "jffs/full/It_vfs_jffs_122.cpp", + "jffs/full/It_vfs_jffs_123.cpp", + "jffs/full/It_vfs_jffs_124.cpp", + "jffs/full/It_vfs_jffs_125.cpp", + "jffs/full/It_vfs_jffs_126.cpp", + "jffs/full/It_vfs_jffs_127.cpp", + "jffs/full/It_vfs_jffs_128.cpp", + "jffs/full/It_vfs_jffs_129.cpp", + "jffs/full/It_vfs_jffs_130.cpp", + "jffs/full/It_vfs_jffs_131.cpp", + "jffs/full/It_vfs_jffs_132.cpp", + "jffs/full/It_vfs_jffs_133.cpp", + "jffs/full/It_vfs_jffs_134.cpp", + "jffs/full/It_vfs_jffs_135.cpp", + "jffs/full/It_vfs_jffs_136.cpp", + "jffs/full/It_vfs_jffs_137.cpp", + "jffs/full/It_vfs_jffs_138.cpp", + "jffs/full/It_vfs_jffs_139.cpp", + "jffs/full/It_vfs_jffs_140.cpp", + "jffs/full/It_vfs_jffs_141.cpp", + "jffs/full/It_vfs_jffs_142.cpp", + "jffs/full/It_vfs_jffs_143.cpp", + "jffs/full/It_vfs_jffs_144.cpp", + "jffs/full/It_vfs_jffs_145.cpp", + "jffs/full/It_vfs_jffs_146.cpp", + "jffs/full/It_vfs_jffs_147.cpp", + "jffs/full/It_vfs_jffs_148.cpp", + "jffs/full/It_vfs_jffs_149.cpp", + "jffs/full/It_vfs_jffs_150.cpp", + "jffs/full/It_vfs_jffs_151.cpp", + "jffs/full/It_vfs_jffs_152.cpp", + "jffs/full/It_vfs_jffs_153.cpp", + "jffs/full/It_vfs_jffs_154.cpp", + "jffs/full/It_vfs_jffs_155.cpp", + "jffs/full/It_vfs_jffs_156.cpp", + "jffs/full/It_vfs_jffs_157.cpp", + "jffs/full/It_vfs_jffs_158.cpp", + "jffs/full/It_vfs_jffs_159.cpp", + "jffs/full/It_vfs_jffs_160.cpp", + "jffs/full/It_vfs_jffs_161.cpp", + "jffs/full/It_vfs_jffs_162.cpp", + "jffs/full/It_vfs_jffs_163.cpp", + "jffs/full/It_vfs_jffs_164.cpp", + "jffs/full/It_vfs_jffs_165.cpp", + "jffs/full/It_vfs_jffs_166.cpp", + "jffs/full/It_vfs_jffs_167.cpp", + "jffs/full/It_vfs_jffs_168.cpp", + "jffs/full/It_vfs_jffs_169.cpp", + "jffs/full/It_vfs_jffs_170.cpp", + "jffs/full/It_vfs_jffs_171.cpp", + "jffs/full/It_vfs_jffs_172.cpp", + "jffs/full/It_vfs_jffs_173.cpp", + "jffs/full/It_vfs_jffs_174.cpp", + "jffs/full/It_vfs_jffs_175.cpp", + "jffs/full/It_vfs_jffs_176.cpp", + "jffs/full/It_vfs_jffs_177.cpp", + "jffs/full/It_vfs_jffs_178.cpp", + "jffs/full/It_vfs_jffs_179.cpp", + "jffs/full/It_vfs_jffs_180.cpp", + "jffs/full/It_vfs_jffs_182.cpp", + "jffs/full/It_vfs_jffs_183.cpp", + "jffs/full/It_vfs_jffs_184.cpp", + "jffs/full/It_vfs_jffs_185.cpp", + "jffs/full/It_vfs_jffs_187.cpp", + "jffs/full/It_vfs_jffs_188.cpp", + "jffs/full/It_vfs_jffs_189.cpp", + "jffs/full/It_vfs_jffs_190.cpp", + "jffs/full/It_vfs_jffs_191.cpp", + "jffs/full/It_vfs_jffs_192.cpp", + "jffs/full/It_vfs_jffs_193.cpp", + "jffs/full/It_vfs_jffs_194.cpp", + "jffs/full/It_vfs_jffs_195.cpp", + "jffs/full/It_vfs_jffs_196.cpp", + "jffs/full/It_vfs_jffs_197.cpp", + "jffs/full/It_vfs_jffs_198.cpp", + "jffs/full/It_vfs_jffs_199.cpp", + "jffs/full/It_vfs_jffs_200.cpp", + "jffs/full/It_vfs_jffs_201.cpp", + "jffs/full/It_vfs_jffs_202.cpp", + "jffs/full/It_vfs_jffs_203.cpp", + "jffs/full/It_vfs_jffs_204.cpp", + "jffs/full/It_vfs_jffs_205.cpp", + "jffs/full/It_vfs_jffs_206.cpp", + "jffs/full/It_vfs_jffs_207.cpp", + "jffs/full/It_vfs_jffs_208.cpp", + "jffs/full/It_vfs_jffs_209.cpp", + "jffs/full/It_vfs_jffs_210.cpp", + "jffs/full/It_vfs_jffs_211.cpp", + "jffs/full/It_vfs_jffs_212.cpp", + "jffs/full/It_vfs_jffs_213.cpp", + "jffs/full/It_vfs_jffs_214.cpp", + "jffs/full/It_vfs_jffs_215.cpp", + "jffs/full/It_vfs_jffs_216.cpp", + "jffs/full/It_vfs_jffs_217.cpp", + "jffs/full/It_vfs_jffs_218.cpp", + "jffs/full/It_vfs_jffs_219.cpp", + "jffs/full/It_vfs_jffs_220.cpp", + "jffs/full/It_vfs_jffs_221.cpp", + "jffs/full/It_vfs_jffs_222.cpp", + "jffs/full/It_vfs_jffs_223.cpp", + "jffs/full/It_vfs_jffs_224.cpp", + "jffs/full/It_vfs_jffs_225.cpp", + "jffs/full/It_vfs_jffs_226.cpp", + "jffs/full/It_vfs_jffs_227.cpp", + "jffs/full/It_vfs_jffs_228.cpp", + "jffs/full/It_vfs_jffs_229.cpp", + "jffs/full/It_vfs_jffs_230.cpp", + "jffs/full/It_vfs_jffs_231.cpp", + "jffs/full/It_vfs_jffs_232.cpp", + "jffs/full/It_vfs_jffs_233.cpp", + "jffs/full/It_vfs_jffs_234.cpp", + "jffs/full/It_vfs_jffs_235.cpp", + "jffs/full/It_vfs_jffs_236.cpp", + "jffs/full/It_vfs_jffs_237.cpp", + "jffs/full/It_vfs_jffs_238.cpp", + "jffs/full/It_vfs_jffs_239.cpp", + "jffs/full/It_vfs_jffs_240.cpp", + "jffs/full/It_vfs_jffs_241.cpp", + "jffs/full/It_vfs_jffs_242.cpp", + "jffs/full/It_vfs_jffs_243.cpp", + "jffs/full/It_vfs_jffs_244.cpp", + "jffs/full/It_vfs_jffs_245.cpp", + "jffs/full/It_vfs_jffs_246.cpp", + "jffs/full/It_vfs_jffs_247.cpp", + "jffs/full/It_vfs_jffs_248.cpp", + "jffs/full/It_vfs_jffs_249.cpp", + "jffs/full/It_vfs_jffs_250.cpp", + "jffs/full/It_vfs_jffs_251.cpp", + "jffs/full/It_vfs_jffs_252.cpp", + "jffs/full/It_vfs_jffs_253.cpp", + "jffs/full/It_vfs_jffs_254.cpp", + "jffs/full/It_vfs_jffs_255.cpp", + "jffs/full/It_vfs_jffs_256.cpp", + "jffs/full/It_vfs_jffs_257.cpp", + "jffs/full/It_vfs_jffs_258.cpp", + "jffs/full/It_vfs_jffs_259.cpp", + "jffs/full/It_vfs_jffs_260.cpp", + "jffs/full/It_vfs_jffs_261.cpp", + "jffs/full/It_vfs_jffs_262.cpp", + "jffs/full/It_vfs_jffs_263.cpp", + "jffs/full/It_vfs_jffs_264.cpp", + "jffs/full/It_vfs_jffs_265.cpp", + "jffs/full/It_vfs_jffs_266.cpp", + "jffs/full/It_vfs_jffs_267.cpp", + "jffs/full/It_vfs_jffs_268.cpp", + "jffs/full/It_vfs_jffs_269.cpp", + "jffs/full/It_vfs_jffs_270.cpp", + "jffs/full/It_vfs_jffs_271.cpp", + "jffs/full/It_vfs_jffs_272.cpp", + "jffs/full/It_vfs_jffs_273.cpp", + "jffs/full/It_vfs_jffs_274.cpp", + "jffs/full/It_vfs_jffs_275.cpp", + "jffs/full/It_vfs_jffs_276.cpp", + "jffs/full/It_vfs_jffs_277.cpp", + "jffs/full/It_vfs_jffs_278.cpp", + "jffs/full/It_vfs_jffs_279.cpp", + "jffs/full/It_vfs_jffs_280.cpp", + "jffs/full/It_vfs_jffs_281.cpp", + "jffs/full/It_vfs_jffs_282.cpp", + "jffs/full/It_vfs_jffs_283.cpp", + "jffs/full/It_vfs_jffs_284.cpp", + "jffs/full/It_vfs_jffs_285.cpp", + "jffs/full/It_vfs_jffs_286.cpp", + "jffs/full/It_vfs_jffs_287.cpp", + "jffs/full/It_vfs_jffs_288.cpp", + "jffs/full/It_vfs_jffs_289.cpp", + "jffs/full/It_vfs_jffs_290.cpp", + "jffs/full/It_vfs_jffs_291.cpp", + "jffs/full/It_vfs_jffs_292.cpp", + "jffs/full/It_vfs_jffs_293.cpp", + "jffs/full/It_vfs_jffs_294.cpp", + "jffs/full/It_vfs_jffs_295.cpp", + "jffs/full/It_vfs_jffs_296.cpp", + "jffs/full/It_vfs_jffs_297.cpp", + "jffs/full/It_vfs_jffs_298.cpp", + "jffs/full/It_vfs_jffs_299.cpp", + "jffs/full/It_vfs_jffs_300.cpp", + "jffs/full/It_vfs_jffs_301.cpp", + "jffs/full/It_vfs_jffs_302.cpp", + "jffs/full/It_vfs_jffs_303.cpp", + "jffs/full/It_vfs_jffs_304.cpp", + "jffs/full/It_vfs_jffs_305.cpp", + "jffs/full/It_vfs_jffs_306.cpp", + "jffs/full/It_vfs_jffs_307.cpp", + "jffs/full/It_vfs_jffs_308.cpp", + "jffs/full/It_vfs_jffs_309.cpp", + "jffs/full/It_vfs_jffs_310.cpp", + "jffs/full/It_vfs_jffs_311.cpp", + "jffs/full/It_vfs_jffs_312.cpp", + "jffs/full/It_vfs_jffs_313.cpp", + "jffs/full/It_vfs_jffs_314.cpp", + "jffs/full/It_vfs_jffs_315.cpp", + "jffs/full/It_vfs_jffs_316.cpp", + "jffs/full/It_vfs_jffs_317.cpp", + "jffs/full/It_vfs_jffs_318.cpp", + "jffs/full/It_vfs_jffs_319.cpp", + "jffs/full/It_vfs_jffs_320.cpp", + "jffs/full/It_vfs_jffs_321.cpp", + "jffs/full/It_vfs_jffs_322.cpp", + "jffs/full/It_vfs_jffs_323.cpp", + "jffs/full/It_vfs_jffs_324.cpp", + "jffs/full/It_vfs_jffs_325.cpp", + "jffs/full/It_vfs_jffs_326.cpp", + "jffs/full/It_vfs_jffs_327.cpp", + "jffs/full/It_vfs_jffs_328.cpp", + "jffs/full/It_vfs_jffs_329.cpp", + "jffs/full/It_vfs_jffs_330.cpp", + "jffs/full/It_vfs_jffs_331.cpp", + "jffs/full/It_vfs_jffs_332.cpp", + "jffs/full/It_vfs_jffs_333.cpp", + "jffs/full/It_vfs_jffs_334.cpp", + "jffs/full/It_vfs_jffs_335.cpp", + "jffs/full/It_vfs_jffs_336.cpp", + "jffs/full/It_vfs_jffs_337.cpp", + "jffs/full/It_vfs_jffs_338.cpp", + "jffs/full/It_vfs_jffs_339.cpp", + "jffs/full/It_vfs_jffs_340.cpp", + "jffs/full/It_vfs_jffs_342.cpp", + "jffs/full/It_vfs_jffs_343.cpp", + "jffs/full/It_vfs_jffs_344.cpp", + "jffs/full/It_vfs_jffs_346.cpp", + "jffs/full/It_vfs_jffs_352.cpp", + "jffs/full/It_vfs_jffs_353.cpp", + "jffs/full/It_vfs_jffs_354.cpp", + "jffs/full/It_vfs_jffs_355.cpp", + "jffs/full/It_vfs_jffs_356.cpp", + "jffs/full/It_vfs_jffs_357.cpp", + "jffs/full/It_vfs_jffs_358.cpp", + "jffs/full/It_vfs_jffs_359.cpp", + "jffs/full/It_vfs_jffs_360.cpp", + "jffs/full/It_vfs_jffs_361.cpp", + "jffs/full/It_vfs_jffs_362.cpp", + "jffs/full/It_vfs_jffs_364.cpp", + "jffs/full/It_vfs_jffs_365.cpp", + "jffs/full/It_vfs_jffs_366.cpp", + "jffs/full/It_vfs_jffs_367.cpp", + "jffs/full/It_vfs_jffs_368.cpp", + "jffs/full/It_vfs_jffs_369.cpp", + "jffs/full/It_vfs_jffs_370.cpp", + "jffs/full/It_vfs_jffs_371.cpp", + "jffs/full/It_vfs_jffs_372.cpp", + "jffs/full/It_vfs_jffs_373.cpp", + "jffs/full/It_vfs_jffs_374.cpp", + "jffs/full/It_vfs_jffs_375.cpp", + "jffs/full/It_vfs_jffs_376.cpp", + "jffs/full/It_vfs_jffs_377.cpp", + "jffs/full/It_vfs_jffs_378.cpp", + "jffs/full/It_vfs_jffs_379.cpp", + "jffs/full/It_vfs_jffs_380.cpp", + "jffs/full/It_vfs_jffs_381.cpp", + "jffs/full/It_vfs_jffs_382.cpp", + "jffs/full/It_vfs_jffs_383.cpp", + "jffs/full/It_vfs_jffs_384.cpp", + "jffs/full/It_vfs_jffs_385.cpp", + "jffs/full/It_vfs_jffs_386.cpp", + "jffs/full/It_vfs_jffs_387.cpp", + "jffs/full/It_vfs_jffs_388.cpp", + "jffs/full/It_vfs_jffs_389.cpp", + "jffs/full/It_vfs_jffs_390.cpp", + "jffs/full/It_vfs_jffs_391.cpp", + "jffs/full/It_vfs_jffs_392.cpp", + "jffs/full/It_vfs_jffs_393.cpp", + "jffs/full/It_vfs_jffs_394.cpp", + "jffs/full/It_vfs_jffs_395.cpp", + "jffs/full/It_vfs_jffs_396.cpp", + "jffs/full/It_vfs_jffs_397.cpp", + "jffs/full/It_vfs_jffs_398.cpp", + "jffs/full/It_vfs_jffs_399.cpp", + "jffs/full/It_vfs_jffs_400.cpp", + "jffs/full/It_vfs_jffs_401.cpp", + "jffs/full/It_vfs_jffs_402.cpp", + "jffs/full/It_vfs_jffs_403.cpp", + "jffs/full/It_vfs_jffs_404.cpp", + "jffs/full/It_vfs_jffs_405.cpp", + "jffs/full/It_vfs_jffs_406.cpp", + "jffs/full/It_vfs_jffs_407.cpp", + "jffs/full/It_vfs_jffs_408.cpp", + "jffs/full/It_vfs_jffs_409.cpp", + "jffs/full/It_vfs_jffs_410.cpp", + "jffs/full/It_vfs_jffs_411.cpp", + "jffs/full/It_vfs_jffs_412.cpp", + "jffs/full/It_vfs_jffs_413.cpp", + "jffs/full/It_vfs_jffs_414.cpp", + "jffs/full/It_vfs_jffs_415.cpp", + "jffs/full/It_vfs_jffs_416.cpp", + "jffs/full/It_vfs_jffs_417.cpp", + "jffs/full/It_vfs_jffs_418.cpp", + "jffs/full/It_vfs_jffs_419.cpp", + "jffs/full/It_vfs_jffs_420.cpp", + "jffs/full/It_vfs_jffs_421.cpp", + "jffs/full/It_vfs_jffs_422.cpp", + "jffs/full/It_vfs_jffs_423.cpp", + "jffs/full/It_vfs_jffs_424.cpp", + "jffs/full/It_vfs_jffs_425.cpp", + "jffs/full/It_vfs_jffs_426.cpp", + "jffs/full/It_vfs_jffs_427.cpp", + "jffs/full/It_vfs_jffs_428.cpp", + "jffs/full/It_vfs_jffs_429.cpp", + "jffs/full/It_vfs_jffs_430.cpp", + "jffs/full/It_vfs_jffs_431.cpp", + "jffs/full/It_vfs_jffs_432.cpp", + "jffs/full/It_vfs_jffs_433.cpp", + "jffs/full/It_vfs_jffs_434.cpp", + "jffs/full/It_vfs_jffs_435.cpp", + "jffs/full/It_vfs_jffs_454.cpp", + "jffs/full/It_vfs_jffs_455.cpp", + "jffs/full/It_vfs_jffs_456.cpp", + "jffs/full/It_vfs_jffs_457.cpp", + "jffs/full/It_vfs_jffs_458.cpp", + "jffs/full/It_vfs_jffs_459.cpp", + "jffs/full/It_vfs_jffs_460.cpp", + "jffs/full/It_vfs_jffs_461.cpp", + "jffs/full/It_vfs_jffs_462.cpp", + "jffs/full/It_vfs_jffs_487.cpp", + "jffs/full/It_vfs_jffs_488.cpp", + "jffs/full/It_vfs_jffs_489.cpp", + "jffs/full/It_vfs_jffs_490.cpp", + "jffs/full/It_vfs_jffs_491.cpp", + "jffs/full/It_vfs_jffs_492.cpp", + "jffs/full/It_vfs_jffs_493.cpp", + "jffs/full/It_vfs_jffs_494.cpp", + "jffs/full/It_vfs_jffs_495.cpp", + "jffs/full/It_vfs_jffs_496.cpp", + "jffs/full/It_vfs_jffs_497.cpp", + "jffs/full/It_vfs_jffs_498.cpp", + "jffs/full/It_vfs_jffs_499.cpp", + "jffs/full/It_vfs_jffs_500.cpp", + "jffs/full/It_vfs_jffs_501.cpp", + "jffs/full/It_vfs_jffs_502.cpp", + "jffs/full/It_vfs_jffs_503.cpp", + "jffs/full/It_vfs_jffs_504.cpp", + "jffs/full/It_vfs_jffs_505.cpp", + "jffs/full/It_vfs_jffs_506.cpp", + "jffs/full/It_vfs_jffs_507.cpp", + "jffs/full/It_vfs_jffs_508.cpp", + "jffs/full/It_vfs_jffs_509.cpp", + "jffs/full/It_vfs_jffs_510.cpp", + "jffs/full/It_vfs_jffs_511.cpp", + "jffs/full/It_vfs_jffs_512.cpp", + "jffs/full/It_vfs_jffs_513.cpp", + "jffs/full/It_vfs_jffs_514.cpp", + "jffs/full/It_vfs_jffs_515.cpp", + "jffs/full/It_vfs_jffs_516.cpp", + "jffs/full/It_vfs_jffs_517.cpp", + "jffs/full/It_vfs_jffs_518.cpp", + "jffs/full/It_vfs_jffs_519.cpp", + "jffs/full/It_vfs_jffs_520.cpp", + "jffs/full/It_vfs_jffs_521.cpp", + "jffs/full/It_vfs_jffs_522.cpp", + "jffs/full/It_vfs_jffs_523.cpp", + "jffs/full/It_vfs_jffs_524.cpp", + "jffs/full/It_vfs_jffs_526.cpp", + "jffs/full/It_vfs_jffs_528.cpp", + "jffs/full/It_vfs_jffs_529.cpp", + "jffs/full/It_vfs_jffs_530.cpp", + "jffs/full/It_vfs_jffs_531.cpp", + "jffs/full/It_vfs_jffs_532.cpp", + "jffs/full/It_vfs_jffs_533.cpp", + "jffs/full/It_vfs_jffs_534.cpp", + "jffs/full/It_vfs_jffs_541.cpp", + "jffs/full/It_vfs_jffs_542.cpp", + "jffs/full/It_vfs_jffs_543.cpp", + "jffs/full/It_vfs_jffs_544.cpp", + "jffs/full/It_vfs_jffs_545.cpp", + "jffs/full/It_vfs_jffs_546.cpp", + "jffs/full/It_vfs_jffs_547.cpp", + "jffs/full/It_vfs_jffs_548.cpp", + "jffs/full/It_vfs_jffs_549.cpp", + "jffs/full/It_vfs_jffs_550.cpp", + "jffs/full/It_vfs_jffs_551.cpp", + "jffs/full/It_vfs_jffs_552.cpp", + "jffs/full/It_vfs_jffs_553.cpp", + "jffs/full/It_vfs_jffs_554.cpp", + "jffs/full/It_vfs_jffs_555.cpp", + "jffs/full/It_vfs_jffs_556.cpp", + "jffs/full/It_vfs_jffs_557.cpp", + "jffs/full/It_vfs_jffs_560.cpp", + "jffs/full/It_vfs_jffs_562.cpp", + "jffs/full/It_vfs_jffs_563.cpp", + "jffs/full/It_vfs_jffs_564.cpp", + "jffs/full/It_vfs_jffs_565.cpp", + "jffs/full/It_vfs_jffs_566.cpp", + "jffs/full/It_vfs_jffs_567.cpp", + "jffs/full/It_vfs_jffs_568.cpp", + "jffs/full/It_vfs_jffs_569.cpp", + "jffs/full/It_vfs_jffs_570.cpp", + "jffs/full/It_vfs_jffs_571.cpp", + "jffs/full/It_vfs_jffs_572.cpp", + "jffs/full/It_vfs_jffs_573.cpp", + "jffs/full/It_vfs_jffs_574.cpp", + "jffs/full/It_vfs_jffs_583.cpp", + "jffs/full/It_vfs_jffs_584.cpp", + "jffs/full/It_vfs_jffs_586.cpp", + "jffs/full/It_vfs_jffs_589.cpp", + "jffs/full/It_vfs_jffs_590.cpp", + "jffs/full/It_vfs_jffs_591.cpp", + "jffs/full/It_vfs_jffs_592.cpp", + "jffs/full/It_vfs_jffs_593.cpp", + "jffs/full/It_vfs_jffs_594.cpp", + "jffs/full/It_vfs_jffs_595.cpp", + "jffs/full/It_vfs_jffs_596.cpp", + "jffs/full/It_vfs_jffs_603.cpp", + "jffs/full/It_vfs_jffs_636.cpp", + "jffs/full/It_vfs_jffs_643.cpp", + "jffs/full/It_vfs_jffs_644.cpp", + "jffs/full/It_vfs_jffs_645.cpp", + "jffs/full/It_vfs_jffs_646.cpp", + "jffs/full/It_vfs_jffs_648.cpp", + "jffs/full/It_vfs_jffs_649.cpp", + "jffs/full/It_vfs_jffs_650.cpp", + "jffs/full/It_vfs_jffs_651.cpp", + "jffs/full/It_vfs_jffs_652.cpp", + "jffs/full/It_vfs_jffs_653.cpp", + "jffs/full/It_vfs_jffs_654.cpp", + "jffs/full/It_vfs_jffs_655.cpp", + "jffs/full/It_vfs_jffs_656.cpp", + "jffs/full/It_vfs_jffs_663.cpp", + "jffs/full/It_vfs_jffs_664.cpp", + "jffs/full/It_vfs_jffs_665.cpp", + "jffs/full/It_vfs_jffs_666.cpp", + "jffs/full/It_vfs_jffs_668.cpp", + "jffs/full/It_vfs_jffs_669.cpp", + "jffs/full/It_vfs_jffs_670.cpp", + "jffs/full/It_vfs_jffs_671.cpp", + "jffs/full/It_vfs_jffs_672.cpp", + "jffs/full/It_vfs_jffs_673.cpp", + "jffs/full/It_vfs_jffs_674.cpp", + "jffs/full/It_vfs_jffs_675.cpp", + "jffs/full/It_vfs_jffs_676.cpp", + "jffs/full/It_vfs_jffs_690.cpp", + "jffs/full/It_vfs_jffs_694.cpp", + "jffs/full/It_vfs_jffs_696.cpp", + "jffs/full/It_vfs_jffs_697.cpp", + "jffs/full/It_vfs_jffs_700.cpp", + "jffs/full/It_vfs_jffs_701.cpp", + "jffs/full/It_vfs_jffs_807.cpp", + "jffs/full/It_vfs_jffs_808.cpp", +] + +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_fs_unittest_door") { + output_extension = "bin" + output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs + sources = sources_entry + sources += sources_smoke + sources_full = [] + sources += sources_full + sources_pressure = [] + sources += sources_pressure + configs = [ "..:public_config_for_door" ] deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -source_set("sources_other") { - sources = [ - "jffs/full/It_jffs_001.cpp", - "jffs/full/It_jffs_002.cpp", - "jffs/full/It_jffs_003.cpp", - "jffs/full/It_jffs_004.cpp", - "jffs/full/It_jffs_005.cpp", - "jffs/full/It_jffs_006.cpp", - "jffs/full/It_jffs_007.cpp", - "jffs/full/It_jffs_008.cpp", - "jffs/full/It_jffs_009.cpp", - "jffs/full/It_jffs_010.cpp", - "jffs/full/It_jffs_011.cpp", - "jffs/full/It_jffs_012.cpp", - "jffs/full/It_jffs_013.cpp", - "jffs/full/It_jffs_014.cpp", - "jffs/full/It_jffs_015.cpp", - "jffs/full/It_jffs_016.cpp", - "jffs/full/It_jffs_017.cpp", - "jffs/full/It_jffs_018.cpp", - "jffs/full/It_jffs_019.cpp", - "jffs/full/It_jffs_020.cpp", - "jffs/full/It_jffs_021.cpp", - "jffs/full/It_jffs_022.cpp", - "jffs/full/It_jffs_023.cpp", - "jffs/full/It_jffs_024.cpp", - "jffs/full/It_jffs_025.cpp", - "jffs/full/It_jffs_026.cpp", - "jffs/full/It_jffs_027.cpp", - "jffs/full/It_jffs_028.cpp", - "jffs/full/It_jffs_029.cpp", - "jffs/full/It_jffs_030.cpp", - "jffs/full/It_jffs_031.cpp", - "jffs/full/It_jffs_032.cpp", - "jffs/full/It_jffs_033.cpp", - "jffs/full/It_jffs_034.cpp", - "jffs/full/It_jffs_035.cpp", - "jffs/full/It_jffs_036.cpp", - "jffs/full/It_jffs_037.cpp", - "jffs/full/It_jffs_038.cpp", - "jffs/full/It_jffs_039.cpp", - "jffs/full/It_jffs_040.cpp", - "jffs/full/It_jffs_041.cpp", - "jffs/full/It_jffs_042.cpp", - "jffs/full/It_jffs_043.cpp", - "jffs/full/It_jffs_044.cpp", - "jffs/full/It_vfs_jffs_004.cpp", - "jffs/full/It_vfs_jffs_006.cpp", - "jffs/full/It_vfs_jffs_007.cpp", - "jffs/full/It_vfs_jffs_008.cpp", - "jffs/full/It_vfs_jffs_009.cpp", - "jffs/full/It_vfs_jffs_010.cpp", - "jffs/full/It_vfs_jffs_011.cpp", - "jffs/full/It_vfs_jffs_012.cpp", - "jffs/full/It_vfs_jffs_013.cpp", - "jffs/full/It_vfs_jffs_014.cpp", - "jffs/full/It_vfs_jffs_015.cpp", - "jffs/full/It_vfs_jffs_016.cpp", - "jffs/full/It_vfs_jffs_017.cpp", - "jffs/full/It_vfs_jffs_018.cpp", - "jffs/full/It_vfs_jffs_019.cpp", - "jffs/full/It_vfs_jffs_020.cpp", - "jffs/full/It_vfs_jffs_023.cpp", - "jffs/full/It_vfs_jffs_024.cpp", - "jffs/full/It_vfs_jffs_025.cpp", - "jffs/full/It_vfs_jffs_028.cpp", - "jffs/full/It_vfs_jffs_029.cpp", - "jffs/full/It_vfs_jffs_030.cpp", - "jffs/full/It_vfs_jffs_031.cpp", - "jffs/full/It_vfs_jffs_032.cpp", - "jffs/full/It_vfs_jffs_033.cpp", - "jffs/full/It_vfs_jffs_037.cpp", - "jffs/full/It_vfs_jffs_038.cpp", - "jffs/full/It_vfs_jffs_039.cpp", - "jffs/full/It_vfs_jffs_040.cpp", - "jffs/full/It_vfs_jffs_041.cpp", - "jffs/full/It_vfs_jffs_042.cpp", - "jffs/full/It_vfs_jffs_043.cpp", - "jffs/full/It_vfs_jffs_044.cpp", - "jffs/full/It_vfs_jffs_045.cpp", - "jffs/full/It_vfs_jffs_046.cpp", - "jffs/full/It_vfs_jffs_048.cpp", - "jffs/full/It_vfs_jffs_049.cpp", - "jffs/full/It_vfs_jffs_050.cpp", - #"jffs/full/It_vfs_jffs_051.cpp", - "jffs/full/It_vfs_jffs_053.cpp", - "jffs/full/It_vfs_jffs_055.cpp", - "jffs/full/It_vfs_jffs_056.cpp", - "jffs/full/It_vfs_jffs_057.cpp", - "jffs/full/It_vfs_jffs_058.cpp", - "jffs/full/It_vfs_jffs_059.cpp", - "jffs/full/It_vfs_jffs_060.cpp", - "jffs/full/It_vfs_jffs_061.cpp", - "jffs/full/It_vfs_jffs_062.cpp", - "jffs/full/It_vfs_jffs_063.cpp", - "jffs/full/It_vfs_jffs_064.cpp", - "jffs/full/It_vfs_jffs_065.cpp", - "jffs/full/It_vfs_jffs_066.cpp", - "jffs/full/It_vfs_jffs_067.cpp", - "jffs/full/It_vfs_jffs_068.cpp", - "jffs/full/It_vfs_jffs_069.cpp", - "jffs/full/It_vfs_jffs_070.cpp", - "jffs/full/It_vfs_jffs_071.cpp", - "jffs/full/It_vfs_jffs_072.cpp", - "jffs/full/It_vfs_jffs_073.cpp", - "jffs/full/It_vfs_jffs_074.cpp", - "jffs/full/It_vfs_jffs_076.cpp", - "jffs/full/It_vfs_jffs_077.cpp", - "jffs/full/It_vfs_jffs_078.cpp", - "jffs/full/It_vfs_jffs_079.cpp", - "jffs/full/It_vfs_jffs_080.cpp", - "jffs/full/It_vfs_jffs_081.cpp", - "jffs/full/It_vfs_jffs_082.cpp", - "jffs/full/It_vfs_jffs_083.cpp", - "jffs/full/It_vfs_jffs_084.cpp", - "jffs/full/It_vfs_jffs_085.cpp", - "jffs/full/It_vfs_jffs_086.cpp", - "jffs/full/It_vfs_jffs_088.cpp", - "jffs/full/It_vfs_jffs_090.cpp", - "jffs/full/It_vfs_jffs_092.cpp", - "jffs/full/It_vfs_jffs_093.cpp", - "jffs/full/It_vfs_jffs_096.cpp", - "jffs/full/It_vfs_jffs_097.cpp", - "jffs/full/It_vfs_jffs_099.cpp", - "jffs/full/It_vfs_jffs_100.cpp", - "jffs/full/It_vfs_jffs_101.cpp", - "jffs/full/It_vfs_jffs_102.cpp", - "jffs/full/It_vfs_jffs_104.cpp", - "jffs/full/It_vfs_jffs_105.cpp", - "jffs/full/It_vfs_jffs_106.cpp", - "jffs/full/It_vfs_jffs_107.cpp", - "jffs/full/It_vfs_jffs_116.cpp", - "jffs/full/It_vfs_jffs_117.cpp", - "jffs/full/It_vfs_jffs_118.cpp", - "jffs/full/It_vfs_jffs_119.cpp", - "jffs/full/It_vfs_jffs_120.cpp", - "jffs/full/It_vfs_jffs_121.cpp", - "jffs/full/It_vfs_jffs_122.cpp", - "jffs/full/It_vfs_jffs_123.cpp", - "jffs/full/It_vfs_jffs_124.cpp", - "jffs/full/It_vfs_jffs_125.cpp", - "jffs/full/It_vfs_jffs_126.cpp", - "jffs/full/It_vfs_jffs_127.cpp", - "jffs/full/It_vfs_jffs_128.cpp", - "jffs/full/It_vfs_jffs_129.cpp", - "jffs/full/It_vfs_jffs_130.cpp", - "jffs/full/It_vfs_jffs_131.cpp", - "jffs/full/It_vfs_jffs_132.cpp", - "jffs/full/It_vfs_jffs_133.cpp", - "jffs/full/It_vfs_jffs_134.cpp", - "jffs/full/It_vfs_jffs_135.cpp", - "jffs/full/It_vfs_jffs_136.cpp", - "jffs/full/It_vfs_jffs_137.cpp", - "jffs/full/It_vfs_jffs_138.cpp", - "jffs/full/It_vfs_jffs_139.cpp", - "jffs/full/It_vfs_jffs_140.cpp", - "jffs/full/It_vfs_jffs_141.cpp", - "jffs/full/It_vfs_jffs_142.cpp", - "jffs/full/It_vfs_jffs_143.cpp", - "jffs/full/It_vfs_jffs_144.cpp", - "jffs/full/It_vfs_jffs_145.cpp", - "jffs/full/It_vfs_jffs_146.cpp", - "jffs/full/It_vfs_jffs_147.cpp", - "jffs/full/It_vfs_jffs_148.cpp", - "jffs/full/It_vfs_jffs_149.cpp", - "jffs/full/It_vfs_jffs_150.cpp", - "jffs/full/It_vfs_jffs_151.cpp", - "jffs/full/It_vfs_jffs_152.cpp", - "jffs/full/It_vfs_jffs_153.cpp", - "jffs/full/It_vfs_jffs_154.cpp", - "jffs/full/It_vfs_jffs_155.cpp", - "jffs/full/It_vfs_jffs_156.cpp", - "jffs/full/It_vfs_jffs_157.cpp", - "jffs/full/It_vfs_jffs_158.cpp", - "jffs/full/It_vfs_jffs_159.cpp", - "jffs/full/It_vfs_jffs_160.cpp", - "jffs/full/It_vfs_jffs_161.cpp", - "jffs/full/It_vfs_jffs_162.cpp", - "jffs/full/It_vfs_jffs_163.cpp", - "jffs/full/It_vfs_jffs_164.cpp", - "jffs/full/It_vfs_jffs_165.cpp", - "jffs/full/It_vfs_jffs_166.cpp", - "jffs/full/It_vfs_jffs_167.cpp", - "jffs/full/It_vfs_jffs_168.cpp", - "jffs/full/It_vfs_jffs_169.cpp", - "jffs/full/It_vfs_jffs_170.cpp", - "jffs/full/It_vfs_jffs_171.cpp", - "jffs/full/It_vfs_jffs_172.cpp", - "jffs/full/It_vfs_jffs_173.cpp", - "jffs/full/It_vfs_jffs_174.cpp", - "jffs/full/It_vfs_jffs_175.cpp", - "jffs/full/It_vfs_jffs_176.cpp", - "jffs/full/It_vfs_jffs_177.cpp", - "jffs/full/It_vfs_jffs_178.cpp", - "jffs/full/It_vfs_jffs_179.cpp", - "jffs/full/It_vfs_jffs_180.cpp", - "jffs/full/It_vfs_jffs_182.cpp", - "jffs/full/It_vfs_jffs_183.cpp", - "jffs/full/It_vfs_jffs_184.cpp", - "jffs/full/It_vfs_jffs_185.cpp", - "jffs/full/It_vfs_jffs_187.cpp", - "jffs/full/It_vfs_jffs_188.cpp", - "jffs/full/It_vfs_jffs_189.cpp", - "jffs/full/It_vfs_jffs_190.cpp", - "jffs/full/It_vfs_jffs_191.cpp", - "jffs/full/It_vfs_jffs_192.cpp", - "jffs/full/It_vfs_jffs_193.cpp", - "jffs/full/It_vfs_jffs_194.cpp", - "jffs/full/It_vfs_jffs_195.cpp", - "jffs/full/It_vfs_jffs_196.cpp", - "jffs/full/It_vfs_jffs_197.cpp", - "jffs/full/It_vfs_jffs_198.cpp", - "jffs/full/It_vfs_jffs_199.cpp", - "jffs/full/It_vfs_jffs_200.cpp", - "jffs/full/It_vfs_jffs_201.cpp", - "jffs/full/It_vfs_jffs_202.cpp", - "jffs/full/It_vfs_jffs_203.cpp", - "jffs/full/It_vfs_jffs_204.cpp", - "jffs/full/It_vfs_jffs_205.cpp", - "jffs/full/It_vfs_jffs_206.cpp", - "jffs/full/It_vfs_jffs_207.cpp", - "jffs/full/It_vfs_jffs_208.cpp", - "jffs/full/It_vfs_jffs_209.cpp", - "jffs/full/It_vfs_jffs_210.cpp", - "jffs/full/It_vfs_jffs_211.cpp", - "jffs/full/It_vfs_jffs_212.cpp", - "jffs/full/It_vfs_jffs_213.cpp", - "jffs/full/It_vfs_jffs_214.cpp", - "jffs/full/It_vfs_jffs_215.cpp", - "jffs/full/It_vfs_jffs_216.cpp", - "jffs/full/It_vfs_jffs_217.cpp", - "jffs/full/It_vfs_jffs_218.cpp", - "jffs/full/It_vfs_jffs_219.cpp", - "jffs/full/It_vfs_jffs_220.cpp", - "jffs/full/It_vfs_jffs_221.cpp", - "jffs/full/It_vfs_jffs_222.cpp", - "jffs/full/It_vfs_jffs_223.cpp", - "jffs/full/It_vfs_jffs_224.cpp", - "jffs/full/It_vfs_jffs_225.cpp", - "jffs/full/It_vfs_jffs_226.cpp", - "jffs/full/It_vfs_jffs_227.cpp", - "jffs/full/It_vfs_jffs_228.cpp", - "jffs/full/It_vfs_jffs_229.cpp", - "jffs/full/It_vfs_jffs_230.cpp", - "jffs/full/It_vfs_jffs_231.cpp", - "jffs/full/It_vfs_jffs_232.cpp", - "jffs/full/It_vfs_jffs_233.cpp", - "jffs/full/It_vfs_jffs_234.cpp", - "jffs/full/It_vfs_jffs_235.cpp", - "jffs/full/It_vfs_jffs_236.cpp", - "jffs/full/It_vfs_jffs_237.cpp", - "jffs/full/It_vfs_jffs_238.cpp", - "jffs/full/It_vfs_jffs_239.cpp", - "jffs/full/It_vfs_jffs_240.cpp", - "jffs/full/It_vfs_jffs_241.cpp", - "jffs/full/It_vfs_jffs_242.cpp", - "jffs/full/It_vfs_jffs_243.cpp", - "jffs/full/It_vfs_jffs_244.cpp", - "jffs/full/It_vfs_jffs_245.cpp", - "jffs/full/It_vfs_jffs_246.cpp", - "jffs/full/It_vfs_jffs_247.cpp", - "jffs/full/It_vfs_jffs_248.cpp", - "jffs/full/It_vfs_jffs_249.cpp", - "jffs/full/It_vfs_jffs_250.cpp", - "jffs/full/It_vfs_jffs_251.cpp", - "jffs/full/It_vfs_jffs_252.cpp", - "jffs/full/It_vfs_jffs_253.cpp", - "jffs/full/It_vfs_jffs_254.cpp", - "jffs/full/It_vfs_jffs_255.cpp", - "jffs/full/It_vfs_jffs_256.cpp", - "jffs/full/It_vfs_jffs_257.cpp", - "jffs/full/It_vfs_jffs_258.cpp", - "jffs/full/It_vfs_jffs_259.cpp", - "jffs/full/It_vfs_jffs_260.cpp", - "jffs/full/It_vfs_jffs_261.cpp", - "jffs/full/It_vfs_jffs_262.cpp", - "jffs/full/It_vfs_jffs_263.cpp", - "jffs/full/It_vfs_jffs_264.cpp", - "jffs/full/It_vfs_jffs_265.cpp", - "jffs/full/It_vfs_jffs_266.cpp", - "jffs/full/It_vfs_jffs_267.cpp", - "jffs/full/It_vfs_jffs_268.cpp", - "jffs/full/It_vfs_jffs_269.cpp", - "jffs/full/It_vfs_jffs_270.cpp", - "jffs/full/It_vfs_jffs_271.cpp", - "jffs/full/It_vfs_jffs_272.cpp", - "jffs/full/It_vfs_jffs_273.cpp", - "jffs/full/It_vfs_jffs_274.cpp", - "jffs/full/It_vfs_jffs_275.cpp", - "jffs/full/It_vfs_jffs_276.cpp", - "jffs/full/It_vfs_jffs_277.cpp", - "jffs/full/It_vfs_jffs_278.cpp", - "jffs/full/It_vfs_jffs_279.cpp", - "jffs/full/It_vfs_jffs_280.cpp", - "jffs/full/It_vfs_jffs_281.cpp", - "jffs/full/It_vfs_jffs_282.cpp", - "jffs/full/It_vfs_jffs_283.cpp", - "jffs/full/It_vfs_jffs_284.cpp", - "jffs/full/It_vfs_jffs_285.cpp", - "jffs/full/It_vfs_jffs_286.cpp", - "jffs/full/It_vfs_jffs_287.cpp", - "jffs/full/It_vfs_jffs_288.cpp", - "jffs/full/It_vfs_jffs_289.cpp", - "jffs/full/It_vfs_jffs_290.cpp", - "jffs/full/It_vfs_jffs_291.cpp", - "jffs/full/It_vfs_jffs_292.cpp", - "jffs/full/It_vfs_jffs_293.cpp", - "jffs/full/It_vfs_jffs_294.cpp", - "jffs/full/It_vfs_jffs_295.cpp", - "jffs/full/It_vfs_jffs_296.cpp", - "jffs/full/It_vfs_jffs_297.cpp", - "jffs/full/It_vfs_jffs_298.cpp", - "jffs/full/It_vfs_jffs_299.cpp", - "jffs/full/It_vfs_jffs_300.cpp", - "jffs/full/It_vfs_jffs_301.cpp", - "jffs/full/It_vfs_jffs_302.cpp", - "jffs/full/It_vfs_jffs_303.cpp", - "jffs/full/It_vfs_jffs_304.cpp", - "jffs/full/It_vfs_jffs_305.cpp", - "jffs/full/It_vfs_jffs_306.cpp", - "jffs/full/It_vfs_jffs_307.cpp", - "jffs/full/It_vfs_jffs_308.cpp", - "jffs/full/It_vfs_jffs_309.cpp", - "jffs/full/It_vfs_jffs_310.cpp", - "jffs/full/It_vfs_jffs_311.cpp", - "jffs/full/It_vfs_jffs_312.cpp", - "jffs/full/It_vfs_jffs_313.cpp", - "jffs/full/It_vfs_jffs_314.cpp", - "jffs/full/It_vfs_jffs_315.cpp", - "jffs/full/It_vfs_jffs_316.cpp", - "jffs/full/It_vfs_jffs_317.cpp", - "jffs/full/It_vfs_jffs_318.cpp", - "jffs/full/It_vfs_jffs_319.cpp", - "jffs/full/It_vfs_jffs_320.cpp", - "jffs/full/It_vfs_jffs_321.cpp", - "jffs/full/It_vfs_jffs_322.cpp", - "jffs/full/It_vfs_jffs_323.cpp", - "jffs/full/It_vfs_jffs_324.cpp", - "jffs/full/It_vfs_jffs_325.cpp", - "jffs/full/It_vfs_jffs_326.cpp", - "jffs/full/It_vfs_jffs_327.cpp", - "jffs/full/It_vfs_jffs_328.cpp", - "jffs/full/It_vfs_jffs_329.cpp", - "jffs/full/It_vfs_jffs_330.cpp", - "jffs/full/It_vfs_jffs_331.cpp", - "jffs/full/It_vfs_jffs_332.cpp", - "jffs/full/It_vfs_jffs_333.cpp", - "jffs/full/It_vfs_jffs_334.cpp", - "jffs/full/It_vfs_jffs_335.cpp", - "jffs/full/It_vfs_jffs_336.cpp", - "jffs/full/It_vfs_jffs_337.cpp", - "jffs/full/It_vfs_jffs_338.cpp", - "jffs/full/It_vfs_jffs_339.cpp", - "jffs/full/It_vfs_jffs_340.cpp", - "jffs/full/It_vfs_jffs_342.cpp", - "jffs/full/It_vfs_jffs_343.cpp", - "jffs/full/It_vfs_jffs_344.cpp", - "jffs/full/It_vfs_jffs_346.cpp", - "jffs/full/It_vfs_jffs_352.cpp", - "jffs/full/It_vfs_jffs_353.cpp", - "jffs/full/It_vfs_jffs_354.cpp", - "jffs/full/It_vfs_jffs_355.cpp", - "jffs/full/It_vfs_jffs_356.cpp", - "jffs/full/It_vfs_jffs_357.cpp", - "jffs/full/It_vfs_jffs_358.cpp", - "jffs/full/It_vfs_jffs_359.cpp", - "jffs/full/It_vfs_jffs_360.cpp", - "jffs/full/It_vfs_jffs_361.cpp", - "jffs/full/It_vfs_jffs_362.cpp", - "jffs/full/It_vfs_jffs_364.cpp", - "jffs/full/It_vfs_jffs_365.cpp", - "jffs/full/It_vfs_jffs_366.cpp", - "jffs/full/It_vfs_jffs_367.cpp", - "jffs/full/It_vfs_jffs_368.cpp", - "jffs/full/It_vfs_jffs_369.cpp", - "jffs/full/It_vfs_jffs_370.cpp", - "jffs/full/It_vfs_jffs_371.cpp", - "jffs/full/It_vfs_jffs_372.cpp", - "jffs/full/It_vfs_jffs_373.cpp", - "jffs/full/It_vfs_jffs_374.cpp", - "jffs/full/It_vfs_jffs_375.cpp", - "jffs/full/It_vfs_jffs_376.cpp", - "jffs/full/It_vfs_jffs_377.cpp", - "jffs/full/It_vfs_jffs_378.cpp", - "jffs/full/It_vfs_jffs_379.cpp", - "jffs/full/It_vfs_jffs_380.cpp", - "jffs/full/It_vfs_jffs_381.cpp", - "jffs/full/It_vfs_jffs_382.cpp", - "jffs/full/It_vfs_jffs_383.cpp", - "jffs/full/It_vfs_jffs_384.cpp", - "jffs/full/It_vfs_jffs_385.cpp", - "jffs/full/It_vfs_jffs_386.cpp", - "jffs/full/It_vfs_jffs_387.cpp", - "jffs/full/It_vfs_jffs_388.cpp", - "jffs/full/It_vfs_jffs_389.cpp", - "jffs/full/It_vfs_jffs_390.cpp", - "jffs/full/It_vfs_jffs_391.cpp", - "jffs/full/It_vfs_jffs_392.cpp", - "jffs/full/It_vfs_jffs_393.cpp", - "jffs/full/It_vfs_jffs_394.cpp", - "jffs/full/It_vfs_jffs_395.cpp", - "jffs/full/It_vfs_jffs_396.cpp", - "jffs/full/It_vfs_jffs_397.cpp", - "jffs/full/It_vfs_jffs_398.cpp", - "jffs/full/It_vfs_jffs_399.cpp", - "jffs/full/It_vfs_jffs_400.cpp", - "jffs/full/It_vfs_jffs_401.cpp", - "jffs/full/It_vfs_jffs_402.cpp", - "jffs/full/It_vfs_jffs_403.cpp", - "jffs/full/It_vfs_jffs_404.cpp", - "jffs/full/It_vfs_jffs_405.cpp", - "jffs/full/It_vfs_jffs_406.cpp", - "jffs/full/It_vfs_jffs_407.cpp", - "jffs/full/It_vfs_jffs_408.cpp", - "jffs/full/It_vfs_jffs_409.cpp", - "jffs/full/It_vfs_jffs_410.cpp", - "jffs/full/It_vfs_jffs_411.cpp", - "jffs/full/It_vfs_jffs_412.cpp", - "jffs/full/It_vfs_jffs_413.cpp", - "jffs/full/It_vfs_jffs_414.cpp", - "jffs/full/It_vfs_jffs_415.cpp", - "jffs/full/It_vfs_jffs_416.cpp", - "jffs/full/It_vfs_jffs_417.cpp", - "jffs/full/It_vfs_jffs_418.cpp", - "jffs/full/It_vfs_jffs_419.cpp", - "jffs/full/It_vfs_jffs_420.cpp", - "jffs/full/It_vfs_jffs_421.cpp", - "jffs/full/It_vfs_jffs_422.cpp", - "jffs/full/It_vfs_jffs_423.cpp", - "jffs/full/It_vfs_jffs_424.cpp", - "jffs/full/It_vfs_jffs_425.cpp", - "jffs/full/It_vfs_jffs_426.cpp", - "jffs/full/It_vfs_jffs_427.cpp", - "jffs/full/It_vfs_jffs_428.cpp", - "jffs/full/It_vfs_jffs_429.cpp", - "jffs/full/It_vfs_jffs_430.cpp", - "jffs/full/It_vfs_jffs_431.cpp", - "jffs/full/It_vfs_jffs_432.cpp", - "jffs/full/It_vfs_jffs_433.cpp", - "jffs/full/It_vfs_jffs_434.cpp", - "jffs/full/It_vfs_jffs_435.cpp", - "jffs/full/It_vfs_jffs_454.cpp", - "jffs/full/It_vfs_jffs_455.cpp", - "jffs/full/It_vfs_jffs_456.cpp", - "jffs/full/It_vfs_jffs_457.cpp", - "jffs/full/It_vfs_jffs_458.cpp", - "jffs/full/It_vfs_jffs_459.cpp", - "jffs/full/It_vfs_jffs_460.cpp", - "jffs/full/It_vfs_jffs_461.cpp", - "jffs/full/It_vfs_jffs_462.cpp", - "jffs/full/It_vfs_jffs_487.cpp", - "jffs/full/It_vfs_jffs_488.cpp", - "jffs/full/It_vfs_jffs_489.cpp", - "jffs/full/It_vfs_jffs_490.cpp", - "jffs/full/It_vfs_jffs_491.cpp", - "jffs/full/It_vfs_jffs_492.cpp", - "jffs/full/It_vfs_jffs_493.cpp", - "jffs/full/It_vfs_jffs_494.cpp", - "jffs/full/It_vfs_jffs_495.cpp", - "jffs/full/It_vfs_jffs_496.cpp", - "jffs/full/It_vfs_jffs_497.cpp", - "jffs/full/It_vfs_jffs_498.cpp", - "jffs/full/It_vfs_jffs_499.cpp", - "jffs/full/It_vfs_jffs_500.cpp", - "jffs/full/It_vfs_jffs_501.cpp", - "jffs/full/It_vfs_jffs_502.cpp", - "jffs/full/It_vfs_jffs_503.cpp", - "jffs/full/It_vfs_jffs_504.cpp", - "jffs/full/It_vfs_jffs_505.cpp", - "jffs/full/It_vfs_jffs_506.cpp", - "jffs/full/It_vfs_jffs_507.cpp", - "jffs/full/It_vfs_jffs_508.cpp", - "jffs/full/It_vfs_jffs_509.cpp", - "jffs/full/It_vfs_jffs_510.cpp", - "jffs/full/It_vfs_jffs_511.cpp", - "jffs/full/It_vfs_jffs_512.cpp", - "jffs/full/It_vfs_jffs_513.cpp", - "jffs/full/It_vfs_jffs_514.cpp", - "jffs/full/It_vfs_jffs_515.cpp", - "jffs/full/It_vfs_jffs_516.cpp", - "jffs/full/It_vfs_jffs_517.cpp", - "jffs/full/It_vfs_jffs_518.cpp", - "jffs/full/It_vfs_jffs_519.cpp", - "jffs/full/It_vfs_jffs_520.cpp", - "jffs/full/It_vfs_jffs_521.cpp", - "jffs/full/It_vfs_jffs_522.cpp", - "jffs/full/It_vfs_jffs_523.cpp", - "jffs/full/It_vfs_jffs_524.cpp", - "jffs/full/It_vfs_jffs_526.cpp", - "jffs/full/It_vfs_jffs_528.cpp", - "jffs/full/It_vfs_jffs_529.cpp", - "jffs/full/It_vfs_jffs_530.cpp", - "jffs/full/It_vfs_jffs_531.cpp", - "jffs/full/It_vfs_jffs_532.cpp", - "jffs/full/It_vfs_jffs_533.cpp", - "jffs/full/It_vfs_jffs_534.cpp", - "jffs/full/It_vfs_jffs_541.cpp", - "jffs/full/It_vfs_jffs_542.cpp", - "jffs/full/It_vfs_jffs_543.cpp", - "jffs/full/It_vfs_jffs_544.cpp", - "jffs/full/It_vfs_jffs_545.cpp", - "jffs/full/It_vfs_jffs_546.cpp", - "jffs/full/It_vfs_jffs_547.cpp", - "jffs/full/It_vfs_jffs_548.cpp", - "jffs/full/It_vfs_jffs_549.cpp", - "jffs/full/It_vfs_jffs_550.cpp", - "jffs/full/It_vfs_jffs_551.cpp", - "jffs/full/It_vfs_jffs_552.cpp", - "jffs/full/It_vfs_jffs_553.cpp", - "jffs/full/It_vfs_jffs_554.cpp", - "jffs/full/It_vfs_jffs_555.cpp", - "jffs/full/It_vfs_jffs_556.cpp", - "jffs/full/It_vfs_jffs_557.cpp", - "jffs/full/It_vfs_jffs_560.cpp", - "jffs/full/It_vfs_jffs_562.cpp", - "jffs/full/It_vfs_jffs_563.cpp", - "jffs/full/It_vfs_jffs_564.cpp", - "jffs/full/It_vfs_jffs_565.cpp", - "jffs/full/It_vfs_jffs_566.cpp", - "jffs/full/It_vfs_jffs_567.cpp", - "jffs/full/It_vfs_jffs_568.cpp", - "jffs/full/It_vfs_jffs_569.cpp", - "jffs/full/It_vfs_jffs_570.cpp", - "jffs/full/It_vfs_jffs_571.cpp", - "jffs/full/It_vfs_jffs_572.cpp", - "jffs/full/It_vfs_jffs_573.cpp", - "jffs/full/It_vfs_jffs_574.cpp", - "jffs/full/It_vfs_jffs_583.cpp", - "jffs/full/It_vfs_jffs_584.cpp", - "jffs/full/It_vfs_jffs_586.cpp", - "jffs/full/It_vfs_jffs_589.cpp", - "jffs/full/It_vfs_jffs_590.cpp", - "jffs/full/It_vfs_jffs_591.cpp", - "jffs/full/It_vfs_jffs_592.cpp", - "jffs/full/It_vfs_jffs_593.cpp", - "jffs/full/It_vfs_jffs_594.cpp", - "jffs/full/It_vfs_jffs_595.cpp", - "jffs/full/It_vfs_jffs_596.cpp", - "jffs/full/It_vfs_jffs_603.cpp", - "jffs/full/It_vfs_jffs_636.cpp", - "jffs/full/It_vfs_jffs_643.cpp", - "jffs/full/It_vfs_jffs_644.cpp", - "jffs/full/It_vfs_jffs_645.cpp", - "jffs/full/It_vfs_jffs_646.cpp", - "jffs/full/It_vfs_jffs_648.cpp", - "jffs/full/It_vfs_jffs_649.cpp", - "jffs/full/It_vfs_jffs_650.cpp", - "jffs/full/It_vfs_jffs_651.cpp", - "jffs/full/It_vfs_jffs_652.cpp", - "jffs/full/It_vfs_jffs_653.cpp", - "jffs/full/It_vfs_jffs_654.cpp", - "jffs/full/It_vfs_jffs_655.cpp", - "jffs/full/It_vfs_jffs_656.cpp", - "jffs/full/It_vfs_jffs_663.cpp", - "jffs/full/It_vfs_jffs_664.cpp", - "jffs/full/It_vfs_jffs_665.cpp", - "jffs/full/It_vfs_jffs_666.cpp", - "jffs/full/It_vfs_jffs_668.cpp", - "jffs/full/It_vfs_jffs_669.cpp", - "jffs/full/It_vfs_jffs_670.cpp", - "jffs/full/It_vfs_jffs_671.cpp", - "jffs/full/It_vfs_jffs_672.cpp", - "jffs/full/It_vfs_jffs_673.cpp", - "jffs/full/It_vfs_jffs_674.cpp", - "jffs/full/It_vfs_jffs_675.cpp", - "jffs/full/It_vfs_jffs_676.cpp", - "jffs/full/It_vfs_jffs_690.cpp", - "jffs/full/It_vfs_jffs_694.cpp", - "jffs/full/It_vfs_jffs_696.cpp", - "jffs/full/It_vfs_jffs_697.cpp", - "jffs/full/It_vfs_jffs_700.cpp", - "jffs/full/It_vfs_jffs_701.cpp", - "jffs/full/It_vfs_jffs_807.cpp", - "jffs/full/It_vfs_jffs_808.cpp", - ] - configs += [ "..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} - -if (LOSCFG_USER_TEST_FOR_ALL == true) { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { unittest("liteos_a_fs_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "..:public_config_full" ] - deps = [] - deps += [ ":sources_smoke" ] - if (LOSCFG_USER_TEST_PRESSURE == true) { - deps += [ ":sources_pressure" ] - } - deps += [ ":sources_other" ] + sources += sources_smoke + sources += sources_full + sources_pressure = [] + sources += sources_pressure + configs = [ "..:public_config_for_all" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_fs_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_HIGH) { + unittest("liteos_a_fs_unittest_pressure") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "..:public_config_smk" ] - deps = [] - deps += [ ":sources_smoke" ] + sources_smoke = [] + sources += sources_smoke + sources_full = [] + sources += sources_full + sources += sources_pressure + configs = [ "..:public_config_for_pressure" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } \ No newline at end of file diff --git a/testsuites/unittest/fs/proc/BUILD.gn b/testsuites/unittest/fs/proc/BUILD.gn index 19b10971..9f3d7f88 100644 --- a/testsuites/unittest/fs/proc/BUILD.gn +++ b/testsuites/unittest/fs/proc/BUILD.gn @@ -41,49 +41,41 @@ sources_entry = [ "It_vfs_proc.cpp", ] -source_set("sources_smoke") { - sources = [ - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ +] -source_set("sources_other") { - sources = [ - "full/It_vfs_proc_001.cpp", - "full/It_vfs_proc_002.cpp", - "full/It_vfs_proc_003.cpp", - "full/It_vfs_proc_004.cpp", - "full/It_vfs_proc_005.cpp", - "full/It_vfs_proc_006.cpp", - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_full = [ + "full/It_vfs_proc_001.cpp", + "full/It_vfs_proc_002.cpp", + "full/It_vfs_proc_003.cpp", + "full/It_vfs_proc_004.cpp", + "full/It_vfs_proc_005.cpp", + "full/It_vfs_proc_006.cpp", +] -if (LOSCFG_USER_TEST_FOR_ALL == true) { - unittest("liteos_a_fs_procfs_unittest") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_fs_procfs_unittest_door") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_full" ] - deps = [] - deps += [ ":sources_smoke" ] - deps += [ ":sources_other" ] + sources += sources_smoke + sources_full = [] + sources += sources_full + configs = [ "../..:public_config_for_door" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_fs_procfs_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + unittest("liteos_a_fs_procfs_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_smk" ] - deps = [] - deps += [ ":sources_smoke" ] + sources += sources_smoke + sources += sources_full + configs = [ "../..:public_config_for_all" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } \ No newline at end of file diff --git a/testsuites/unittest/fs/vfat2/BUILD.gn b/testsuites/unittest/fs/vfat2/BUILD.gn index dcff5eb1..47d650d1 100644 --- a/testsuites/unittest/fs/vfat2/BUILD.gn +++ b/testsuites/unittest/fs/vfat2/BUILD.gn @@ -42,187 +42,190 @@ sources_entry = [ "VfsFatTest.cpp", ] -source_set("sources_smoke") { - sources = [ - "smoke/It_vfs_fat_026.cpp", - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ + "smoke/It_vfs_fat_026.cpp", +] + +sources_pressure = [ + "pressure/It_fs_fat_performance_001.cpp", + "pressure/It_fs_fat_performance_002.cpp", + "pressure/It_fs_fat_performance_003.cpp", + "pressure/It_fs_fat_performance_004.cpp", + "pressure/It_fs_fat_performance_005.cpp", + "pressure/It_fs_fat_performance_006.cpp", + "pressure/It_fs_fat_performance_007.cpp", + "pressure/It_fs_fat_performance_008.cpp", + "pressure/It_fs_fat_performance_013.cpp", + "pressure/It_fs_fat_performance_014.cpp", + "pressure/It_fs_fat_performance_015.cpp", + "pressure/It_fs_fat_performance_016.cpp", + + "pressure/It_fs_fat_pressure_029.cpp", + "pressure/It_fs_fat_pressure_030.cpp", + "pressure/It_fs_fat_pressure_031.cpp", + "pressure/It_fs_fat_pressure_038.cpp", + "pressure/It_fs_fat_pressure_040.cpp", + "pressure/It_fs_fat_pressure_041.cpp", + "pressure/It_fs_fat_pressure_042.cpp", + "pressure/It_fs_fat_pressure_301.cpp", + "pressure/It_fs_fat_pressure_302.cpp", + "pressure/It_fs_fat_pressure_303.cpp", + "pressure/It_fs_fat_pressure_305.cpp", + "pressure/It_fs_fat_pressure_306.cpp", + "pressure/It_fs_fat_pressure_309.cpp", -if (LOSCFG_USER_TEST_PRESSURE == true) { - source_set("sources_pressure") { - sources = [ - "pressure/It_fs_fat_performance_001.cpp", - "pressure/It_fs_fat_performance_002.cpp", - "pressure/It_fs_fat_performance_003.cpp", - "pressure/It_fs_fat_performance_004.cpp", - "pressure/It_fs_fat_performance_005.cpp", - "pressure/It_fs_fat_performance_006.cpp", - "pressure/It_fs_fat_performance_007.cpp", - "pressure/It_fs_fat_performance_008.cpp", - "pressure/It_fs_fat_performance_013.cpp", - "pressure/It_fs_fat_performance_014.cpp", - "pressure/It_fs_fat_performance_015.cpp", - "pressure/It_fs_fat_performance_016.cpp", + "pressure/It_vfs_fat_mutipthread_003.cpp", + "pressure/It_vfs_fat_mutipthread_004.cpp", + "pressure/It_vfs_fat_mutipthread_005.cpp", + "pressure/It_vfs_fat_mutipthread_006.cpp", + "pressure/It_vfs_fat_mutipthread_008.cpp", + "pressure/It_vfs_fat_mutipthread_009.cpp", + "pressure/It_vfs_fat_mutipthread_010.cpp", + "pressure/It_vfs_fat_mutipthread_012.cpp", + "pressure/It_vfs_fat_mutipthread_014.cpp", + "pressure/It_vfs_fat_mutipthread_016.cpp", + "pressure/It_vfs_fat_mutipthread_017.cpp", + "pressure/It_vfs_fat_mutipthread_018.cpp", + "pressure/It_vfs_fat_mutipthread_019.cpp", + "pressure/It_vfs_fat_mutipthread_020.cpp", + "pressure/It_vfs_fat_mutipthread_021.cpp", + "pressure/It_vfs_fat_mutipthread_022.cpp", + "pressure/It_vfs_fat_mutipthread_023.cpp", + "pressure/It_vfs_fat_mutipthread_024.cpp", + "pressure/It_vfs_fat_mutipthread_027.cpp", + "pressure/It_vfs_fat_mutipthread_029.cpp", + "pressure/It_vfs_fat_mutipthread_030.cpp", + "pressure/It_vfs_fat_mutipthread_032.cpp", + "pressure/It_vfs_fat_mutipthread_033.cpp", + "pressure/It_vfs_fat_mutipthread_035.cpp", + "pressure/It_vfs_fat_mutipthread_036.cpp", + "pressure/It_vfs_fat_mutipthread_038.cpp", + "pressure/It_vfs_fat_mutipthread_039.cpp", + "pressure/It_vfs_fat_mutipthread_040.cpp", + "pressure/It_vfs_fat_mutipthread_041.cpp", + "pressure/It_vfs_fat_mutipthread_042.cpp", + "pressure/It_vfs_fat_mutipthread_043.cpp", + "pressure/It_vfs_fat_mutipthread_044.cpp", + "pressure/It_vfs_fat_mutipthread_045.cpp", + "pressure/It_vfs_fat_mutipthread_046.cpp", + "pressure/It_vfs_fat_mutipthread_047.cpp", + "pressure/It_vfs_fat_mutipthread_048.cpp", + "pressure/It_vfs_fat_mutipthread_049.cpp", + "pressure/It_vfs_fat_mutipthread_050.cpp", +] - "pressure/It_fs_fat_pressure_029.cpp", - "pressure/It_fs_fat_pressure_030.cpp", - "pressure/It_fs_fat_pressure_031.cpp", - "pressure/It_fs_fat_pressure_038.cpp", - "pressure/It_fs_fat_pressure_040.cpp", - "pressure/It_fs_fat_pressure_041.cpp", - "pressure/It_fs_fat_pressure_042.cpp", - "pressure/It_fs_fat_pressure_301.cpp", - "pressure/It_fs_fat_pressure_302.cpp", - "pressure/It_fs_fat_pressure_303.cpp", - "pressure/It_fs_fat_pressure_305.cpp", - "pressure/It_fs_fat_pressure_306.cpp", - "pressure/It_fs_fat_pressure_309.cpp", +sources_full = [ + "full/It_vfs_fat_066.cpp", + "full/It_vfs_fat_068.cpp", + "full/It_vfs_fat_072.cpp", + "full/It_vfs_fat_073.cpp", + "full/It_vfs_fat_074.cpp", + "full/It_vfs_fat_496.cpp", + "full/It_vfs_fat_497.cpp", + "full/It_vfs_fat_498.cpp", + "full/It_vfs_fat_499.cpp", + "full/It_vfs_fat_500.cpp", + "full/It_vfs_fat_501.cpp", + "full/It_vfs_fat_502.cpp", + "full/It_vfs_fat_503.cpp", + "full/It_vfs_fat_504.cpp", + "full/It_vfs_fat_506.cpp", + "full/It_vfs_fat_507.cpp", + "full/It_vfs_fat_508.cpp", + "full/It_vfs_fat_509.cpp", + "full/It_vfs_fat_510.cpp", + "full/It_vfs_fat_511.cpp", + "full/It_vfs_fat_512.cpp", + "full/It_vfs_fat_513.cpp", + "full/It_vfs_fat_514.cpp", + "full/It_vfs_fat_515.cpp", + "full/It_vfs_fat_516.cpp", + "full/It_vfs_fat_517.cpp", + "full/It_vfs_fat_518.cpp", + "full/It_vfs_fat_519.cpp", + "full/It_vfs_fat_662.cpp", + "full/It_vfs_fat_663.cpp", + "full/It_vfs_fat_664.cpp", + "full/It_vfs_fat_665.cpp", + "full/It_vfs_fat_666.cpp", + "full/It_vfs_fat_667.cpp", + "full/It_vfs_fat_668.cpp", + "full/It_vfs_fat_669.cpp", + "full/It_vfs_fat_670.cpp", + "full/It_vfs_fat_671.cpp", + "full/It_vfs_fat_672.cpp", + "full/It_vfs_fat_673.cpp", + "full/It_vfs_fat_674.cpp", + "full/It_vfs_fat_675.cpp", + "full/It_vfs_fat_676.cpp", + "full/It_vfs_fat_677.cpp", + "full/It_vfs_fat_678.cpp", + "full/It_vfs_fat_679.cpp", + "full/It_vfs_fat_680.cpp", + "full/It_vfs_fat_681.cpp", + "full/It_vfs_fat_682.cpp", + "full/It_vfs_fat_683.cpp", + "full/It_vfs_fat_684.cpp", + "full/It_vfs_fat_685.cpp", + "full/It_vfs_fat_686.cpp", + "full/It_vfs_fat_687.cpp", + "full/It_vfs_fat_692.cpp", + "full/It_vfs_fat_693.cpp", + "full/It_vfs_fat_694.cpp", + "full/It_vfs_fat_870.cpp", + "full/It_vfs_fat_872.cpp", + "full/It_vfs_fat_873.cpp", + "full/It_vfs_fat_874.cpp", + "full/It_vfs_fat_875.cpp", + "full/It_vfs_fat_902.cpp", + "full/It_vfs_fat_903.cpp", + "full/It_vfs_fat_904.cpp", + "full/It_vfs_fat_909.cpp", +] - "pressure/It_vfs_fat_mutipthread_003.cpp", - "pressure/It_vfs_fat_mutipthread_004.cpp", - "pressure/It_vfs_fat_mutipthread_005.cpp", - "pressure/It_vfs_fat_mutipthread_006.cpp", - "pressure/It_vfs_fat_mutipthread_008.cpp", - "pressure/It_vfs_fat_mutipthread_009.cpp", - "pressure/It_vfs_fat_mutipthread_010.cpp", - "pressure/It_vfs_fat_mutipthread_012.cpp", - "pressure/It_vfs_fat_mutipthread_014.cpp", - "pressure/It_vfs_fat_mutipthread_016.cpp", - "pressure/It_vfs_fat_mutipthread_017.cpp", - "pressure/It_vfs_fat_mutipthread_018.cpp", - "pressure/It_vfs_fat_mutipthread_019.cpp", - "pressure/It_vfs_fat_mutipthread_020.cpp", - "pressure/It_vfs_fat_mutipthread_021.cpp", - "pressure/It_vfs_fat_mutipthread_022.cpp", - "pressure/It_vfs_fat_mutipthread_023.cpp", - "pressure/It_vfs_fat_mutipthread_024.cpp", - "pressure/It_vfs_fat_mutipthread_027.cpp", - "pressure/It_vfs_fat_mutipthread_029.cpp", - "pressure/It_vfs_fat_mutipthread_030.cpp", - "pressure/It_vfs_fat_mutipthread_032.cpp", - "pressure/It_vfs_fat_mutipthread_033.cpp", - "pressure/It_vfs_fat_mutipthread_035.cpp", - "pressure/It_vfs_fat_mutipthread_036.cpp", - "pressure/It_vfs_fat_mutipthread_038.cpp", - "pressure/It_vfs_fat_mutipthread_039.cpp", - "pressure/It_vfs_fat_mutipthread_040.cpp", - "pressure/It_vfs_fat_mutipthread_041.cpp", - "pressure/It_vfs_fat_mutipthread_042.cpp", - "pressure/It_vfs_fat_mutipthread_043.cpp", - "pressure/It_vfs_fat_mutipthread_044.cpp", - "pressure/It_vfs_fat_mutipthread_045.cpp", - "pressure/It_vfs_fat_mutipthread_046.cpp", - "pressure/It_vfs_fat_mutipthread_047.cpp", - "pressure/It_vfs_fat_mutipthread_048.cpp", - "pressure/It_vfs_fat_mutipthread_049.cpp", - "pressure/It_vfs_fat_mutipthread_050.cpp", - ] +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_fs_vfat_unittest_door") { + output_extension = "bin" + output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs + sources = sources_entry + sources += sources_smoke + sources_full = [] + sources += sources_full + sources_pressure = [] + sources += sources_pressure + configs = [ "../..:public_config_for_door" ] deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -source_set("sources_other") { - sources = [ - "full/It_vfs_fat_066.cpp", - "full/It_vfs_fat_068.cpp", - "full/It_vfs_fat_072.cpp", - "full/It_vfs_fat_073.cpp", - "full/It_vfs_fat_074.cpp", - "full/It_vfs_fat_496.cpp", - "full/It_vfs_fat_497.cpp", - "full/It_vfs_fat_498.cpp", - "full/It_vfs_fat_499.cpp", - "full/It_vfs_fat_500.cpp", - "full/It_vfs_fat_501.cpp", - "full/It_vfs_fat_502.cpp", - "full/It_vfs_fat_503.cpp", - "full/It_vfs_fat_504.cpp", - "full/It_vfs_fat_506.cpp", - "full/It_vfs_fat_507.cpp", - "full/It_vfs_fat_508.cpp", - "full/It_vfs_fat_509.cpp", - "full/It_vfs_fat_510.cpp", - "full/It_vfs_fat_511.cpp", - "full/It_vfs_fat_512.cpp", - "full/It_vfs_fat_513.cpp", - "full/It_vfs_fat_514.cpp", - "full/It_vfs_fat_515.cpp", - "full/It_vfs_fat_516.cpp", - "full/It_vfs_fat_517.cpp", - "full/It_vfs_fat_518.cpp", - "full/It_vfs_fat_519.cpp", - "full/It_vfs_fat_662.cpp", - "full/It_vfs_fat_663.cpp", - "full/It_vfs_fat_664.cpp", - "full/It_vfs_fat_665.cpp", - "full/It_vfs_fat_666.cpp", - "full/It_vfs_fat_667.cpp", - "full/It_vfs_fat_668.cpp", - "full/It_vfs_fat_669.cpp", - "full/It_vfs_fat_670.cpp", - "full/It_vfs_fat_671.cpp", - "full/It_vfs_fat_672.cpp", - "full/It_vfs_fat_673.cpp", - "full/It_vfs_fat_674.cpp", - "full/It_vfs_fat_675.cpp", - "full/It_vfs_fat_676.cpp", - "full/It_vfs_fat_677.cpp", - "full/It_vfs_fat_678.cpp", - "full/It_vfs_fat_679.cpp", - "full/It_vfs_fat_680.cpp", - "full/It_vfs_fat_681.cpp", - "full/It_vfs_fat_682.cpp", - "full/It_vfs_fat_683.cpp", - "full/It_vfs_fat_684.cpp", - "full/It_vfs_fat_685.cpp", - "full/It_vfs_fat_686.cpp", - "full/It_vfs_fat_687.cpp", - "full/It_vfs_fat_692.cpp", - "full/It_vfs_fat_693.cpp", - "full/It_vfs_fat_694.cpp", - "full/It_vfs_fat_870.cpp", - "full/It_vfs_fat_872.cpp", - "full/It_vfs_fat_873.cpp", - "full/It_vfs_fat_874.cpp", - "full/It_vfs_fat_875.cpp", - "full/It_vfs_fat_902.cpp", - "full/It_vfs_fat_903.cpp", - "full/It_vfs_fat_904.cpp", - "full/It_vfs_fat_909.cpp", - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} - -if (LOSCFG_USER_TEST_FOR_ALL == true) { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { unittest("liteos_a_fs_vfat_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_full" ] - deps = [] - deps += [ ":sources_smoke" ] - if (LOSCFG_USER_TEST_PRESSURE == true) { - deps += [ ":sources_pressure" ] - } - deps += [ ":sources_other" ] + sources += sources_smoke + sources += sources_full + sources_pressure = [] + sources += sources_pressure + configs = [ "../..:public_config_for_all" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_fs_vfat_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_HIGH) { + unittest("liteos_a_fs_vfat_unittest_pressure") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_smk" ] - deps = [] - deps += [ ":sources_smoke" ] + sources_smoke = [] + sources += sources_smoke + sources_full = [] + sources += sources_full + sources += sources_pressure + configs = [ "../..:public_config_for_pressure" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } -} \ No newline at end of file +} diff --git a/testsuites/unittest/liteipc/BUILD.gn b/testsuites/unittest/liteipc/BUILD.gn index 942f38a0..7a3f862c 100644 --- a/testsuites/unittest/liteipc/BUILD.gn +++ b/testsuites/unittest/liteipc/BUILD.gn @@ -42,45 +42,37 @@ sources_entry = [ "it_test_liteipc.cpp", ] -source_set("sources_smoke") { - sources = [ - "smoke/liteipc_test_001.cpp", - "smoke/liteipc_test_002.cpp", - ] - configs += [ "..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ + "smoke/liteipc_test_001.cpp", + "smoke/liteipc_test_002.cpp", +] -source_set("sources_other") { - sources = [ - ] - configs += [ "..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_full = [ +] -if (LOSCFG_USER_TEST_FOR_ALL == true) { - unittest("liteos_a_liteipc_unittest") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_liteipc_unittest_door") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "..:public_config_full" ] - deps = [] - deps += [ ":sources_smoke" ] - deps += [ ":sources_other" ] + sources += sources_smoke + sources_full = [] + sources += sources_full + configs = [ "..:public_config_for_door" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_liteipc_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + unittest("liteos_a_liteipc_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "..:public_config_smk" ] - deps = [] - deps += [ ":sources_smoke" ] + sources += sources_smoke + sources += sources_full + configs = [ "..:public_config_for_all" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } diff --git a/testsuites/unittest/mem/shm/BUILD.gn b/testsuites/unittest/mem/shm/BUILD.gn index 8f9c95b3..8f8b6006 100644 --- a/testsuites/unittest/mem/shm/BUILD.gn +++ b/testsuites/unittest/mem/shm/BUILD.gn @@ -41,57 +41,49 @@ sources_entry = [ "mem_shm_test.cpp", ] -source_set("sources_smoke") { - sources = [ - "smoke/shm_test_001.cpp", - "smoke/shm_test_002.cpp", - "smoke/shm_test_003.cpp", - "smoke/shm_test_004.cpp", - "smoke/shm_test_005.cpp", - "smoke/shm_test_006.cpp", - "smoke/shm_test_007.cpp", - "smoke/shm_test_008.cpp", - "smoke/shm_test_009.cpp", - "smoke/shm_test_010.cpp", - "smoke/shm_test_011.cpp", - "smoke/shm_test_012.cpp", - "smoke/shm_test_013.cpp", - "smoke/shm_test_014.cpp", - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ + "smoke/shm_test_001.cpp", + "smoke/shm_test_002.cpp", + "smoke/shm_test_003.cpp", + "smoke/shm_test_004.cpp", + "smoke/shm_test_005.cpp", + "smoke/shm_test_006.cpp", + "smoke/shm_test_007.cpp", + "smoke/shm_test_008.cpp", + "smoke/shm_test_009.cpp", + "smoke/shm_test_010.cpp", + "smoke/shm_test_011.cpp", + "smoke/shm_test_012.cpp", + "smoke/shm_test_013.cpp", + "smoke/shm_test_014.cpp", +] -source_set("sources_other") { - sources = [ - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_full = [ +] -if (LOSCFG_USER_TEST_FOR_ALL == true) { - unittest("liteos_a_mem_shm_unittest") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_mem_shm_unittest_door") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_full" ] - deps = [] - deps += [ ":sources_smoke" ] - deps += [ ":sources_other" ] + sources += sources_smoke + sources_full = [] + sources += sources_full + configs = [ "../..:public_config_for_door" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_mem_shm_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + unittest("liteos_a_mem_shm_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_smk" ] - deps = [] - deps += [ ":sources_smoke" ] + sources += sources_smoke + sources += sources_full + configs = [ "../..:public_config_for_all" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } diff --git a/testsuites/unittest/mem/vm/BUILD.gn b/testsuites/unittest/mem/vm/BUILD.gn index 3e69f057..d4253945 100644 --- a/testsuites/unittest/mem/vm/BUILD.gn +++ b/testsuites/unittest/mem/vm/BUILD.gn @@ -41,58 +41,50 @@ sources_entry = [ "mem_vm_test.cpp", ] -source_set("sources_smoke") { - sources = [ - "smoke/mmap_test_001.cpp", - "smoke/mmap_test_002.cpp", - "smoke/mmap_test_003.cpp", - "smoke/mmap_test_004.cpp", - "smoke/mmap_test_005.cpp", - "smoke/mmap_test_006.cpp", - "smoke/mmap_test_007.cpp", - "smoke/mmap_test_008.cpp", - "smoke/mmap_test_009.cpp", - "smoke/mmap_test_010.cpp", - "smoke/mprotect_test_001.cpp", - "smoke/mremap_test_001.cpp", - "smoke/oom_test_001.cpp", - "smoke/open_wmemstream_test_001.cpp", - "smoke/user_copy_test_001.cpp", - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ + "smoke/mmap_test_001.cpp", + "smoke/mmap_test_002.cpp", + "smoke/mmap_test_003.cpp", + "smoke/mmap_test_004.cpp", + "smoke/mmap_test_005.cpp", + "smoke/mmap_test_006.cpp", + "smoke/mmap_test_007.cpp", + "smoke/mmap_test_008.cpp", + "smoke/mmap_test_009.cpp", + "smoke/mmap_test_010.cpp", + "smoke/mprotect_test_001.cpp", + "smoke/mremap_test_001.cpp", + "smoke/oom_test_001.cpp", + "smoke/open_wmemstream_test_001.cpp", + "smoke/user_copy_test_001.cpp", +] -source_set("sources_other") { - sources = [ - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_full = [ +] -if (LOSCFG_USER_TEST_FOR_ALL == true) { - unittest("liteos_a_mem_vm_unittest") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_mem_vm_unittest_door") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_full" ] - deps = [] - deps += [ ":sources_smoke" ] - deps += [ ":sources_other" ] + sources += sources_smoke + sources_full = [] + sources += sources_full + configs = [ "../..:public_config_for_door" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_mem_vm_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + unittest("liteos_a_mem_vm_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_smk" ] - deps = [] - deps += [ ":sources_smoke" ] + sources += sources_smoke + sources += sources_full + configs = [ "../..:public_config_for_all" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } diff --git a/testsuites/unittest/misc/BUILD.gn b/testsuites/unittest/misc/BUILD.gn index db465f49..ca9be5e1 100644 --- a/testsuites/unittest/misc/BUILD.gn +++ b/testsuites/unittest/misc/BUILD.gn @@ -41,57 +41,49 @@ sources_entry = [ "misc_test.cpp", ] -source_set("sources_other") { - sources = [ - "full/misc_test_006.cpp", - "full/misc_test_007.cpp", - "full/misc_test_010.cpp", - "full/misc_test_011.cpp", - "full/misc_test_012.cpp", - "full/misc_test_013.cpp", - ] - configs += [ "..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_full = [ + "full/misc_test_006.cpp", + "full/misc_test_007.cpp", + "full/misc_test_010.cpp", + "full/misc_test_011.cpp", + "full/misc_test_012.cpp", + "full/misc_test_013.cpp", +] -source_set("sources_smoke") { - sources = [ - "smoke/misc_test_001.cpp", - "smoke/misc_test_002.cpp", - "smoke/misc_test_003.cpp", - "smoke/misc_test_004.cpp", - "smoke/misc_test_005.cpp", - "smoke/misc_test_008.cpp", - "smoke/misc_test_009.cpp", - "smoke/misc_test_014.cpp", - ] - configs += [ "..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ + "smoke/misc_test_001.cpp", + "smoke/misc_test_002.cpp", + "smoke/misc_test_003.cpp", + "smoke/misc_test_004.cpp", + "smoke/misc_test_005.cpp", + "smoke/misc_test_008.cpp", + "smoke/misc_test_009.cpp", + "smoke/misc_test_014.cpp", +] -if (LOSCFG_USER_TEST_FOR_ALL == true) { - unittest("liteos_a_misc_unittest") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_misc_unittest_door") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "..:public_config_full" ] - deps = [] - deps += [ ":sources_smoke" ] - deps += [ ":sources_other" ] + sources += sources_smoke + sources_full = [] + sources += sources_full + configs = [ "..:public_config_for_door" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_misc_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + unittest("liteos_a_misc_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "..:public_config_smk" ] - deps = [] - deps += [ ":sources_smoke" ] + sources += sources_smoke + sources += sources_full + configs = [ "..:public_config_for_all" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } \ No newline at end of file diff --git a/testsuites/unittest/net/netdb/BUILD.gn b/testsuites/unittest/net/netdb/BUILD.gn index 994652de..c379af64 100644 --- a/testsuites/unittest/net/netdb/BUILD.gn +++ b/testsuites/unittest/net/netdb/BUILD.gn @@ -48,65 +48,59 @@ sources_entry = [ "net_netdb_test.cpp", ] -source_set("sources_smoke") { - sources = [ - "smoke/net_netdb_test_001.cpp", - "smoke/net_netdb_test_013.cpp", - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ + "smoke/net_netdb_test_001.cpp", + "smoke/net_netdb_test_013.cpp", +] -source_set("sources_other") { - sources = [ - "full/net_netdb_test_002.cpp", - "full/net_netdb_test_003.cpp", - "full/net_netdb_test_004.cpp", - "full/net_netdb_test_005.cpp", - "full/net_netdb_test_006.cpp", - "full/net_netdb_test_007.cpp", - "full/net_netdb_test_008.cpp", - "full/net_netdb_test_009.cpp", - "full/net_netdb_test_010.cpp", - "full/net_netdb_test_011.cpp", - "full/net_netdb_test_012.cpp", - "full/net_netdb_test_014.cpp", - "full/net_netdb_test_015.cpp", - "full/net_netdb_test_016.cpp", - "full/net_netdb_test_017.cpp", - "full/net_netdb_test_018.cpp", - "full/net_netdb_test_019.cpp", - "full/net_netdb_test_020.cpp", - "full/net_netdb_test_021.cpp", - "full/net_netdb_test_022.cpp", - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_full = [ + "full/net_netdb_test_002.cpp", + "full/net_netdb_test_003.cpp", + "full/net_netdb_test_004.cpp", + "full/net_netdb_test_005.cpp", + "full/net_netdb_test_006.cpp", + "full/net_netdb_test_007.cpp", + "full/net_netdb_test_008.cpp", + "full/net_netdb_test_009.cpp", + "full/net_netdb_test_010.cpp", + "full/net_netdb_test_011.cpp", + "full/net_netdb_test_012.cpp", + "full/net_netdb_test_014.cpp", + "full/net_netdb_test_015.cpp", + "full/net_netdb_test_016.cpp", + "full/net_netdb_test_017.cpp", + "full/net_netdb_test_018.cpp", + "full/net_netdb_test_019.cpp", + "full/net_netdb_test_020.cpp", + "full/net_netdb_test_021.cpp", + "full/net_netdb_test_022.cpp", +] -unittest("liteos_a_net_netdb_unittest") { - output_extension = "bin" - output_dir = "$root_out_dir/test/unittest/kernel" - include_dirs = common_include_dirs - sources = sources_entry - configs = [ "../..:public_config_full" ] - configs += [ ":net_local_config" ] - deps = [] - deps += [ ":sources_smoke" ] - deps += [ ":sources_other" ] +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_net_netdb_unittest_door") { + output_extension = "bin" + output_dir = "$root_out_dir/test/unittest/kernel" + include_dirs = common_include_dirs + sources = sources_entry + sources += sources_smoke + sources_full = [] + sources += sources_full + configs = [ "../..:public_config_for_door" ] + configs += [ ":net_local_config" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] + } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_net_netdb_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + unittest("liteos_a_net_netdb_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_smk" ] + sources += sources_full + sources += sources_smoke + configs = [ "../..:public_config_for_all" ] configs += [ ":net_local_config" ] - deps = [] - deps += [ ":sources_smoke" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } -} \ No newline at end of file +} diff --git a/testsuites/unittest/net/resolv/BUILD.gn b/testsuites/unittest/net/resolv/BUILD.gn index ef29c648..04ecba29 100644 --- a/testsuites/unittest/net/resolv/BUILD.gn +++ b/testsuites/unittest/net/resolv/BUILD.gn @@ -48,53 +48,45 @@ sources_entry = [ "net_resolv_test.cpp", ] -source_set("sources_smoke") { - sources = [ - "smoke/net_resolv_test_001.cpp", - "smoke/net_resolv_test_002.cpp", - "smoke/net_resolv_test_003.cpp", - "smoke/net_resolv_test_006.cpp", - "smoke/net_resolv_test_007.cpp", - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ + "smoke/net_resolv_test_001.cpp", + "smoke/net_resolv_test_002.cpp", + "smoke/net_resolv_test_003.cpp", + "smoke/net_resolv_test_006.cpp", + "smoke/net_resolv_test_007.cpp", +] -source_set("sources_other") { - sources = [ - "full/net_resolv_test_004.cpp", - "full/net_resolv_test_005.cpp", - "full/net_resolv_test_008.cpp", - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_full = [ + "full/net_resolv_test_004.cpp", + "full/net_resolv_test_005.cpp", + "full/net_resolv_test_008.cpp", +] -if (LOSCFG_USER_TEST_FOR_ALL == true) { - unittest("liteos_a_net_resolv_unittest") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_net_resolv_unittest_door") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_full" ] + sources += sources_smoke + sources_full = [] + sources += sources_full + configs = [ "../..:public_config_for_door" ] configs += [ ":net_local_config" ] - deps = [] - deps += [ ":sources_smoke" ] - deps += [ ":sources_other" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_net_resolv_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + unittest("liteos_a_net_resolv_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_smk" ] + sources += sources_smoke + sources += sources_full + configs = [ "../..:public_config_for_all" ] configs += [ ":net_local_config" ] - deps = [] - deps += [ ":sources_smoke" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } -} \ No newline at end of file +} diff --git a/testsuites/unittest/net/socket/BUILD.gn b/testsuites/unittest/net/socket/BUILD.gn index e90c8bff..f8402dbd 100644 --- a/testsuites/unittest/net/socket/BUILD.gn +++ b/testsuites/unittest/net/socket/BUILD.gn @@ -48,58 +48,50 @@ sources_entry = [ "net_socket_test.cpp", ] -source_set("sources_smoke") { - sources = [ - "smoke/net_socket_test_001.cpp", - "smoke/net_socket_test_002.cpp", - "smoke/net_socket_test_003.cpp", - "smoke/net_socket_test_004.cpp", - "smoke/net_socket_test_005.cpp", - "smoke/net_socket_test_006.cpp", - "smoke/net_socket_test_007.cpp", - "smoke/net_socket_test_008.cpp", - "smoke/net_socket_test_009.cpp", - "smoke/net_socket_test_010.cpp", - "smoke/net_socket_test_011.cpp", - "smoke/net_socket_test_012.cpp", - "smoke/net_socket_test_013.cpp", - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ + "smoke/net_socket_test_001.cpp", + "smoke/net_socket_test_002.cpp", + "smoke/net_socket_test_003.cpp", + "smoke/net_socket_test_004.cpp", + "smoke/net_socket_test_005.cpp", + "smoke/net_socket_test_006.cpp", + "smoke/net_socket_test_007.cpp", + "smoke/net_socket_test_008.cpp", + "smoke/net_socket_test_009.cpp", + "smoke/net_socket_test_010.cpp", + "smoke/net_socket_test_011.cpp", + "smoke/net_socket_test_012.cpp", + "smoke/net_socket_test_013.cpp", +] -source_set("sources_other") { - sources = [ - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_full = [ +] -if (LOSCFG_USER_TEST_FOR_ALL == true) { - unittest("liteos_a_net_socket_unittest") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_net_socket_unittest_door") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_full" ] + sources += sources_smoke + sources_full = [] + sources += sources_full + configs = [ "../..:public_config_for_door" ] configs += [ ":net_local_config" ] - deps = [] - deps += [ ":sources_smoke" ] - deps += [ ":sources_other" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_net_socket_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + unittest("liteos_a_net_socket_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_smk" ] + sources += sources_smoke + sources += sources_full + configs = [ "../..:public_config_for_all" ] configs += [ ":net_local_config" ] - deps = [] - deps += [ ":sources_smoke" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } -} \ No newline at end of file +} diff --git a/testsuites/unittest/posix/mem/BUILD.gn b/testsuites/unittest/posix/mem/BUILD.gn index 1c0a1c5d..bf7ea6d1 100644 --- a/testsuites/unittest/posix/mem/BUILD.gn +++ b/testsuites/unittest/posix/mem/BUILD.gn @@ -41,45 +41,37 @@ sources_entry = [ "posix_mem_test.cpp", ] -source_set("sources_smoke") { - sources = [ - "smoke/It_posix_mem_001.cpp", - "smoke/It_posix_mem_003.cpp", - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ + "smoke/It_posix_mem_001.cpp", + "smoke/It_posix_mem_003.cpp", +] -source_set("sources_other") { - sources = [ - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_full = [ +] -if (LOSCFG_USER_TEST_FOR_ALL == true) { - unittest("liteos_a_posix_mem_unittest") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_posix_mem_unittest_door") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_full" ] - deps = [] - deps += [ ":sources_smoke" ] - deps += [ ":sources_other" ] + sources += sources_smoke + sources_full = [] + sources += sources_full + configs = [ "../..:public_config_for_door" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_posix_mem_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + unittest("liteos_a_posix_mem_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_smk" ] - deps = [] - deps += [ ":sources_smoke" ] + sources += sources_smoke + sources += sources_full + configs = [ "../..:public_config_for_all" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } -} \ No newline at end of file +} diff --git a/testsuites/unittest/posix/mqueue/BUILD.gn b/testsuites/unittest/posix/mqueue/BUILD.gn index 9eb2886b..eba2e20d 100644 --- a/testsuites/unittest/posix/mqueue/BUILD.gn +++ b/testsuites/unittest/posix/mqueue/BUILD.gn @@ -46,195 +46,187 @@ sources_entry = [ "posix_mqueue_test.cpp", ] -source_set("sources_smoke") { - sources = [ - "smoke/It_posix_queue_001.cpp", - "smoke/It_posix_queue_003.cpp", - "smoke/It_posix_queue_028.cpp", - "smoke/It_posix_queue_053.cpp", - "smoke/It_posix_queue_144.cpp", - "smoke/It_posix_queue_062.cpp", - "smoke/It_posix_queue_205.cpp", - "smoke/It_posix_queue_206.cpp", - "smoke/It_posix_queue_207.cpp", - "smoke/It_posix_queue_208.cpp", - "smoke/It_posix_queue_209.cpp", - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ + "smoke/It_posix_queue_001.cpp", + "smoke/It_posix_queue_003.cpp", + "smoke/It_posix_queue_028.cpp", + "smoke/It_posix_queue_053.cpp", + "smoke/It_posix_queue_144.cpp", + "smoke/It_posix_queue_062.cpp", + "smoke/It_posix_queue_205.cpp", + "smoke/It_posix_queue_206.cpp", + "smoke/It_posix_queue_207.cpp", + "smoke/It_posix_queue_208.cpp", + "smoke/It_posix_queue_209.cpp", +] -source_set("sources_other") { - sources = [ - "full/It_posix_queue_002.cpp", - "full/It_posix_queue_005.cpp", - "full/It_posix_queue_008.cpp", - "full/It_posix_queue_011.cpp", - "full/It_posix_queue_013.cpp", - "full/It_posix_queue_014.cpp", - "full/It_posix_queue_015.cpp", - "full/It_posix_queue_016.cpp", - "full/It_posix_queue_018.cpp", - "full/It_posix_queue_019.cpp", - "full/It_posix_queue_020.cpp", - "full/It_posix_queue_021.cpp", - "full/It_posix_queue_025.cpp", - "full/It_posix_queue_026.cpp", - "full/It_posix_queue_027.cpp", - "full/It_posix_queue_030.cpp", - "full/It_posix_queue_031.cpp", - "full/It_posix_queue_032.cpp", - "full/It_posix_queue_033.cpp", - "full/It_posix_queue_036.cpp", - "full/It_posix_queue_038.cpp", - "full/It_posix_queue_040.cpp", - "full/It_posix_queue_041.cpp", - "full/It_posix_queue_042.cpp", - "full/It_posix_queue_043.cpp", - "full/It_posix_queue_044.cpp", - "full/It_posix_queue_046.cpp", - "full/It_posix_queue_047.cpp", - "full/It_posix_queue_048.cpp", - "full/It_posix_queue_049.cpp", - "full/It_posix_queue_050.cpp", - "full/It_posix_queue_052.cpp", - "full/It_posix_queue_054.cpp", - "full/It_posix_queue_055.cpp", - "full/It_posix_queue_056.cpp", - "full/It_posix_queue_057.cpp", - "full/It_posix_queue_058.cpp", - "full/It_posix_queue_060.cpp", - "full/It_posix_queue_061.cpp", - "full/It_posix_queue_063.cpp", - "full/It_posix_queue_064.cpp", - "full/It_posix_queue_065.cpp", - "full/It_posix_queue_066.cpp", - "full/It_posix_queue_067.cpp", - "full/It_posix_queue_069.cpp", - "full/It_posix_queue_070.cpp", - "full/It_posix_queue_071.cpp", - "full/It_posix_queue_072.cpp", - "full/It_posix_queue_073.cpp", - "full/It_posix_queue_074.cpp", - "full/It_posix_queue_075.cpp", - "full/It_posix_queue_076.cpp", - "full/It_posix_queue_077.cpp", - "full/It_posix_queue_078.cpp", - "full/It_posix_queue_079.cpp", - "full/It_posix_queue_080.cpp", - "full/It_posix_queue_081.cpp", - "full/It_posix_queue_082.cpp", - "full/It_posix_queue_083.cpp", - "full/It_posix_queue_084.cpp", - "full/It_posix_queue_085.cpp", - "full/It_posix_queue_086.cpp", - "full/It_posix_queue_087.cpp", - "full/It_posix_queue_088.cpp", - "full/It_posix_queue_089.cpp", - "full/It_posix_queue_090.cpp", - "full/It_posix_queue_091.cpp", - "full/It_posix_queue_093.cpp", - "full/It_posix_queue_094.cpp", - "full/It_posix_queue_095.cpp", - "full/It_posix_queue_096.cpp", - "full/It_posix_queue_097.cpp", - "full/It_posix_queue_098.cpp", - "full/It_posix_queue_100.cpp", - "full/It_posix_queue_101.cpp", - "full/It_posix_queue_102.cpp", - "full/It_posix_queue_103.cpp", - "full/It_posix_queue_104.cpp", - "full/It_posix_queue_106.cpp", - "full/It_posix_queue_108.cpp", - "full/It_posix_queue_109.cpp", - "full/It_posix_queue_110.cpp", - "full/It_posix_queue_111.cpp", - "full/It_posix_queue_112.cpp", - "full/It_posix_queue_113.cpp", - "full/It_posix_queue_114.cpp", - "full/It_posix_queue_115.cpp", - "full/It_posix_queue_116.cpp", - "full/It_posix_queue_117.cpp", - "full/It_posix_queue_118.cpp", - "full/It_posix_queue_119.cpp", - "full/It_posix_queue_120.cpp", - "full/It_posix_queue_121.cpp", - "full/It_posix_queue_122.cpp", - "full/It_posix_queue_123.cpp", - "full/It_posix_queue_124.cpp", - "full/It_posix_queue_125.cpp", - "full/It_posix_queue_126.cpp", - "full/It_posix_queue_127.cpp", - "full/It_posix_queue_128.cpp", - "full/It_posix_queue_129.cpp", - "full/It_posix_queue_130.cpp", - "full/It_posix_queue_133.cpp", - "full/It_posix_queue_134.cpp", - "full/It_posix_queue_136.cpp", - "full/It_posix_queue_143.cpp", - "full/It_posix_queue_145.cpp", - "full/It_posix_queue_146.cpp", - "full/It_posix_queue_147.cpp", - "full/It_posix_queue_148.cpp", - "full/It_posix_queue_149.cpp", - "full/It_posix_queue_150.cpp", - "full/It_posix_queue_151.cpp", - "full/It_posix_queue_152.cpp", - "full/It_posix_queue_153.cpp", - "full/It_posix_queue_154.cpp", - "full/It_posix_queue_155.cpp", - "full/It_posix_queue_156.cpp", - "full/It_posix_queue_157.cpp", - "full/It_posix_queue_159.cpp", - "full/It_posix_queue_160.cpp", - "full/It_posix_queue_161.cpp", - "full/It_posix_queue_162.cpp", - "full/It_posix_queue_163.cpp", - "full/It_posix_queue_164.cpp", - "full/It_posix_queue_165.cpp", - "full/It_posix_queue_166.cpp", - "full/It_posix_queue_168.cpp", - "full/It_posix_queue_169.cpp", - "full/It_posix_queue_173.cpp", - "full/It_posix_queue_175.cpp", - "full/It_posix_queue_176.cpp", - "full/It_posix_queue_177.cpp", - "full/It_posix_queue_187.cpp", - "full/It_posix_queue_200.cpp", - "full/It_posix_queue_201.cpp", - "full/It_posix_queue_202.cpp", - "full/It_posix_queue_203.cpp", - "full/It_posix_queue_204.cpp", - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_full = [ + "full/It_posix_queue_002.cpp", + "full/It_posix_queue_005.cpp", + "full/It_posix_queue_008.cpp", + "full/It_posix_queue_011.cpp", + "full/It_posix_queue_013.cpp", + "full/It_posix_queue_014.cpp", + "full/It_posix_queue_015.cpp", + "full/It_posix_queue_016.cpp", + "full/It_posix_queue_018.cpp", + "full/It_posix_queue_019.cpp", + "full/It_posix_queue_020.cpp", + "full/It_posix_queue_021.cpp", + "full/It_posix_queue_025.cpp", + "full/It_posix_queue_026.cpp", + "full/It_posix_queue_027.cpp", + "full/It_posix_queue_030.cpp", + "full/It_posix_queue_031.cpp", + "full/It_posix_queue_032.cpp", + "full/It_posix_queue_033.cpp", + "full/It_posix_queue_036.cpp", + "full/It_posix_queue_038.cpp", + "full/It_posix_queue_040.cpp", + "full/It_posix_queue_041.cpp", + "full/It_posix_queue_042.cpp", + "full/It_posix_queue_043.cpp", + "full/It_posix_queue_044.cpp", + "full/It_posix_queue_046.cpp", + "full/It_posix_queue_047.cpp", + "full/It_posix_queue_048.cpp", + "full/It_posix_queue_049.cpp", + "full/It_posix_queue_050.cpp", + "full/It_posix_queue_052.cpp", + "full/It_posix_queue_054.cpp", + "full/It_posix_queue_055.cpp", + "full/It_posix_queue_056.cpp", + "full/It_posix_queue_057.cpp", + "full/It_posix_queue_058.cpp", + "full/It_posix_queue_060.cpp", + "full/It_posix_queue_061.cpp", + "full/It_posix_queue_063.cpp", + "full/It_posix_queue_064.cpp", + "full/It_posix_queue_065.cpp", + "full/It_posix_queue_066.cpp", + "full/It_posix_queue_067.cpp", + "full/It_posix_queue_069.cpp", + "full/It_posix_queue_070.cpp", + "full/It_posix_queue_071.cpp", + "full/It_posix_queue_072.cpp", + "full/It_posix_queue_073.cpp", + "full/It_posix_queue_074.cpp", + "full/It_posix_queue_075.cpp", + "full/It_posix_queue_076.cpp", + "full/It_posix_queue_077.cpp", + "full/It_posix_queue_078.cpp", + "full/It_posix_queue_079.cpp", + "full/It_posix_queue_080.cpp", + "full/It_posix_queue_081.cpp", + "full/It_posix_queue_082.cpp", + "full/It_posix_queue_083.cpp", + "full/It_posix_queue_084.cpp", + "full/It_posix_queue_085.cpp", + "full/It_posix_queue_086.cpp", + "full/It_posix_queue_087.cpp", + "full/It_posix_queue_088.cpp", + "full/It_posix_queue_089.cpp", + "full/It_posix_queue_090.cpp", + "full/It_posix_queue_091.cpp", + "full/It_posix_queue_093.cpp", + "full/It_posix_queue_094.cpp", + "full/It_posix_queue_095.cpp", + "full/It_posix_queue_096.cpp", + "full/It_posix_queue_097.cpp", + "full/It_posix_queue_098.cpp", + "full/It_posix_queue_100.cpp", + "full/It_posix_queue_101.cpp", + "full/It_posix_queue_102.cpp", + "full/It_posix_queue_103.cpp", + "full/It_posix_queue_104.cpp", + "full/It_posix_queue_106.cpp", + "full/It_posix_queue_108.cpp", + "full/It_posix_queue_109.cpp", + "full/It_posix_queue_110.cpp", + "full/It_posix_queue_111.cpp", + "full/It_posix_queue_112.cpp", + "full/It_posix_queue_113.cpp", + "full/It_posix_queue_114.cpp", + "full/It_posix_queue_115.cpp", + "full/It_posix_queue_116.cpp", + "full/It_posix_queue_117.cpp", + "full/It_posix_queue_118.cpp", + "full/It_posix_queue_119.cpp", + "full/It_posix_queue_120.cpp", + "full/It_posix_queue_121.cpp", + "full/It_posix_queue_122.cpp", + "full/It_posix_queue_123.cpp", + "full/It_posix_queue_124.cpp", + "full/It_posix_queue_125.cpp", + "full/It_posix_queue_126.cpp", + "full/It_posix_queue_127.cpp", + "full/It_posix_queue_128.cpp", + "full/It_posix_queue_129.cpp", + "full/It_posix_queue_130.cpp", + "full/It_posix_queue_133.cpp", + "full/It_posix_queue_134.cpp", + "full/It_posix_queue_136.cpp", + "full/It_posix_queue_143.cpp", + "full/It_posix_queue_145.cpp", + "full/It_posix_queue_146.cpp", + "full/It_posix_queue_147.cpp", + "full/It_posix_queue_148.cpp", + "full/It_posix_queue_149.cpp", + "full/It_posix_queue_150.cpp", + "full/It_posix_queue_151.cpp", + "full/It_posix_queue_152.cpp", + "full/It_posix_queue_153.cpp", + "full/It_posix_queue_154.cpp", + "full/It_posix_queue_155.cpp", + "full/It_posix_queue_156.cpp", + "full/It_posix_queue_157.cpp", + "full/It_posix_queue_159.cpp", + "full/It_posix_queue_160.cpp", + "full/It_posix_queue_161.cpp", + "full/It_posix_queue_162.cpp", + "full/It_posix_queue_163.cpp", + "full/It_posix_queue_164.cpp", + "full/It_posix_queue_165.cpp", + "full/It_posix_queue_166.cpp", + "full/It_posix_queue_168.cpp", + "full/It_posix_queue_169.cpp", + "full/It_posix_queue_173.cpp", + "full/It_posix_queue_175.cpp", + "full/It_posix_queue_176.cpp", + "full/It_posix_queue_177.cpp", + "full/It_posix_queue_187.cpp", + "full/It_posix_queue_200.cpp", + "full/It_posix_queue_201.cpp", + "full/It_posix_queue_202.cpp", + "full/It_posix_queue_203.cpp", + "full/It_posix_queue_204.cpp", +] -if (LOSCFG_USER_TEST_FOR_ALL == true) { - unittest("liteos_a_posix_mqueue_unittest") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_posix_mqueue_unittest_door") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_full" ] + sources += sources_smoke + sources_full = [] + sources += sources_full + configs = [ "../..:public_config_for_door" ] configs += [ ":mqueue_config" ] - deps = [] - deps += [ ":sources_smoke" ] - deps += [ ":sources_other" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_posix_mqueue_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + unittest("liteos_a_posix_mqueue_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_smk" ] + sources += sources_smoke + sources += sources_full + configs = [ "../..:public_config_for_all" ] configs += [ ":mqueue_config" ] - deps = [] - deps += [ ":sources_smoke" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } -} \ No newline at end of file +} diff --git a/testsuites/unittest/posix/pthread/BUILD.gn b/testsuites/unittest/posix/pthread/BUILD.gn index 4bb68454..f3c47594 100644 --- a/testsuites/unittest/posix/pthread/BUILD.gn +++ b/testsuites/unittest/posix/pthread/BUILD.gn @@ -46,160 +46,150 @@ sources_entry = [ "posix_pthread_test.cpp", ] -source_set("sources_smoke") { - sources = [ - "smoke/It_posix_pthread_003.cpp", - "smoke/It_posix_pthread_004.cpp", - "smoke/It_posix_pthread_005.cpp", - "smoke/It_posix_pthread_006.cpp", - "smoke/It_posix_pthread_018.cpp", - "smoke/It_posix_pthread_019.cpp", - "smoke/It_posix_pthread_020.cpp", - "smoke/It_posix_pthread_021.cpp", - "smoke/It_posix_pthread_022.cpp", - "smoke/It_posix_pthread_203.cpp", - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ + "smoke/It_posix_pthread_003.cpp", + "smoke/It_posix_pthread_004.cpp", + "smoke/It_posix_pthread_005.cpp", + "smoke/It_posix_pthread_006.cpp", + "smoke/It_posix_pthread_018.cpp", + "smoke/It_posix_pthread_019.cpp", + "smoke/It_posix_pthread_020.cpp", + "smoke/It_posix_pthread_021.cpp", + "smoke/It_posix_pthread_022.cpp", + "smoke/It_posix_pthread_203.cpp", +] -source_set("sources_other") { - sources = [ - "full/It_posix_pthread_001.cpp", - "full/It_posix_pthread_002.cpp", - "full/It_posix_pthread_007.cpp", - "full/It_posix_pthread_010.cpp", - "full/It_posix_pthread_011.cpp", - "full/It_posix_pthread_013.cpp", - "full/It_posix_pthread_023.cpp", - "full/It_posix_pthread_025.cpp", - "full/It_posix_pthread_026.cpp", - "full/It_posix_pthread_027.cpp", - "full/It_posix_pthread_028.cpp", - "full/It_posix_pthread_029.cpp", - "full/It_posix_pthread_030.cpp", - "full/It_posix_pthread_031.cpp", - "full/It_posix_pthread_034.cpp", - "full/It_posix_pthread_035.cpp", - "full/It_posix_pthread_039.cpp", - "full/It_posix_pthread_040.cpp", - "full/It_posix_pthread_042.cpp", - "full/It_posix_pthread_044.cpp", - "full/It_posix_pthread_045.cpp", - "full/It_posix_pthread_046.cpp", - "full/It_posix_pthread_051.cpp", - "full/It_posix_pthread_052.cpp", - "full/It_posix_pthread_053.cpp", - "full/It_posix_pthread_054.cpp", - "full/It_posix_pthread_055.cpp", - "full/It_posix_pthread_057.cpp", - "full/It_posix_pthread_059.cpp", - "full/It_posix_pthread_060.cpp", - "full/It_posix_pthread_061.cpp", - "full/It_posix_pthread_062.cpp", - "full/It_posix_pthread_063.cpp", - "full/It_posix_pthread_064.cpp", - "full/It_posix_pthread_066.cpp", - "full/It_posix_pthread_069.cpp", - "full/It_posix_pthread_070.cpp", - "full/It_posix_pthread_071.cpp", - "full/It_posix_pthread_072.cpp", - "full/It_posix_pthread_073.cpp", - "full/It_posix_pthread_074.cpp", - "full/It_posix_pthread_078.cpp", - "full/It_posix_pthread_079.cpp", - "full/It_posix_pthread_080.cpp", - "full/It_posix_pthread_081.cpp", - "full/It_posix_pthread_082.cpp", - "full/It_posix_pthread_083.cpp", - "full/It_posix_pthread_084.cpp", - "full/It_posix_pthread_085.cpp", - "full/It_posix_pthread_087.cpp", - "full/It_posix_pthread_088.cpp", - "full/It_posix_pthread_089.cpp", - "full/It_posix_pthread_090.cpp", - "full/It_posix_pthread_091.cpp", - "full/It_posix_pthread_092.cpp", - "full/It_posix_pthread_094.cpp", - "full/It_posix_pthread_095.cpp", - "full/It_posix_pthread_106.cpp", - "full/It_posix_pthread_107.cpp", - "full/It_posix_pthread_116.cpp", - "full/It_posix_pthread_123.cpp", - "full/It_posix_pthread_124.cpp", - "full/It_posix_pthread_125.cpp", - "full/It_posix_pthread_127.cpp", - "full/It_posix_pthread_129.cpp", - "full/It_posix_pthread_132.cpp", - "full/It_posix_pthread_133.cpp", - "full/It_posix_pthread_134.cpp", - "full/It_posix_pthread_136.cpp", - "full/It_posix_pthread_138.cpp", - "full/It_posix_pthread_141.cpp", - "full/It_posix_pthread_142.cpp", - "full/It_posix_pthread_144.cpp", - "full/It_posix_pthread_152.cpp", - "full/It_posix_pthread_154.cpp", - "full/It_posix_pthread_166.cpp", - "full/It_posix_pthread_167.cpp", - "full/It_posix_pthread_173.cpp", - "full/It_posix_pthread_175.cpp", - "full/It_posix_pthread_176.cpp", - "full/It_posix_pthread_177.cpp", - "full/It_posix_pthread_182.cpp", - "full/It_posix_pthread_185.cpp", - "full/It_posix_pthread_186.cpp", - "full/It_posix_pthread_187.cpp", - "full/It_posix_pthread_188.cpp", - "full/It_posix_pthread_193.cpp", - "full/It_posix_pthread_194.cpp", - "full/It_posix_pthread_200.cpp", - "full/It_posix_pthread_204.cpp", - "full/It_posix_pthread_205.cpp", - "full/It_posix_pthread_206.cpp", - "full/It_posix_pthread_209.cpp", - "full/It_posix_pthread_213.cpp", - "full/It_posix_pthread_217.cpp", - "full/It_posix_pthread_218.cpp", - "full/It_posix_pthread_219.cpp", - "full/It_posix_pthread_221.cpp", - "full/It_posix_pthread_224.cpp", - "full/It_posix_pthread_226.cpp", - "full/It_posix_pthread_233.cpp", - "full/It_posix_pthread_238.cpp", - "full/It_posix_pthread_239.cpp", - "full/It_posix_pthread_240.cpp", - "full/It_posix_pthread_241.cpp", - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_full = [ + "full/It_posix_pthread_001.cpp", + "full/It_posix_pthread_002.cpp", + "full/It_posix_pthread_007.cpp", + "full/It_posix_pthread_010.cpp", + "full/It_posix_pthread_011.cpp", + "full/It_posix_pthread_013.cpp", + "full/It_posix_pthread_023.cpp", + "full/It_posix_pthread_025.cpp", + "full/It_posix_pthread_026.cpp", + "full/It_posix_pthread_027.cpp", + "full/It_posix_pthread_028.cpp", + "full/It_posix_pthread_029.cpp", + "full/It_posix_pthread_030.cpp", + "full/It_posix_pthread_031.cpp", + "full/It_posix_pthread_034.cpp", + "full/It_posix_pthread_035.cpp", + "full/It_posix_pthread_039.cpp", + "full/It_posix_pthread_040.cpp", + "full/It_posix_pthread_042.cpp", + "full/It_posix_pthread_044.cpp", + "full/It_posix_pthread_045.cpp", + "full/It_posix_pthread_046.cpp", + "full/It_posix_pthread_051.cpp", + "full/It_posix_pthread_052.cpp", + "full/It_posix_pthread_053.cpp", + "full/It_posix_pthread_054.cpp", + "full/It_posix_pthread_055.cpp", + "full/It_posix_pthread_057.cpp", + "full/It_posix_pthread_059.cpp", + "full/It_posix_pthread_060.cpp", + "full/It_posix_pthread_061.cpp", + "full/It_posix_pthread_062.cpp", + "full/It_posix_pthread_063.cpp", + "full/It_posix_pthread_064.cpp", + "full/It_posix_pthread_066.cpp", + "full/It_posix_pthread_069.cpp", + "full/It_posix_pthread_070.cpp", + "full/It_posix_pthread_071.cpp", + "full/It_posix_pthread_072.cpp", + "full/It_posix_pthread_073.cpp", + "full/It_posix_pthread_074.cpp", + "full/It_posix_pthread_078.cpp", + "full/It_posix_pthread_079.cpp", + "full/It_posix_pthread_080.cpp", + "full/It_posix_pthread_081.cpp", + "full/It_posix_pthread_082.cpp", + "full/It_posix_pthread_083.cpp", + "full/It_posix_pthread_084.cpp", + "full/It_posix_pthread_085.cpp", + "full/It_posix_pthread_087.cpp", + "full/It_posix_pthread_088.cpp", + "full/It_posix_pthread_089.cpp", + "full/It_posix_pthread_090.cpp", + "full/It_posix_pthread_091.cpp", + "full/It_posix_pthread_092.cpp", + "full/It_posix_pthread_094.cpp", + "full/It_posix_pthread_095.cpp", + "full/It_posix_pthread_106.cpp", + "full/It_posix_pthread_107.cpp", + "full/It_posix_pthread_116.cpp", + "full/It_posix_pthread_123.cpp", + "full/It_posix_pthread_124.cpp", + "full/It_posix_pthread_125.cpp", + "full/It_posix_pthread_127.cpp", + "full/It_posix_pthread_129.cpp", + "full/It_posix_pthread_132.cpp", + "full/It_posix_pthread_133.cpp", + "full/It_posix_pthread_134.cpp", + "full/It_posix_pthread_136.cpp", + "full/It_posix_pthread_138.cpp", + "full/It_posix_pthread_141.cpp", + "full/It_posix_pthread_142.cpp", + "full/It_posix_pthread_144.cpp", + "full/It_posix_pthread_152.cpp", + "full/It_posix_pthread_154.cpp", + "full/It_posix_pthread_166.cpp", + "full/It_posix_pthread_167.cpp", + "full/It_posix_pthread_173.cpp", + "full/It_posix_pthread_175.cpp", + "full/It_posix_pthread_176.cpp", + "full/It_posix_pthread_177.cpp", + "full/It_posix_pthread_182.cpp", + "full/It_posix_pthread_185.cpp", + "full/It_posix_pthread_186.cpp", + "full/It_posix_pthread_187.cpp", + "full/It_posix_pthread_188.cpp", + "full/It_posix_pthread_193.cpp", + "full/It_posix_pthread_194.cpp", + "full/It_posix_pthread_200.cpp", + "full/It_posix_pthread_204.cpp", + "full/It_posix_pthread_205.cpp", + "full/It_posix_pthread_206.cpp", + "full/It_posix_pthread_209.cpp", + "full/It_posix_pthread_213.cpp", + "full/It_posix_pthread_217.cpp", + "full/It_posix_pthread_218.cpp", + "full/It_posix_pthread_219.cpp", + "full/It_posix_pthread_221.cpp", + "full/It_posix_pthread_224.cpp", + "full/It_posix_pthread_226.cpp", + "full/It_posix_pthread_233.cpp", + "full/It_posix_pthread_238.cpp", + "full/It_posix_pthread_239.cpp", + "full/It_posix_pthread_240.cpp", + "full/It_posix_pthread_241.cpp", +] -if (LOSCFG_USER_TEST_FOR_ALL == true) { - unittest("liteos_a_posix_pthread_unittest") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_posix_pthread_unittest_door") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_full" ] + sources += sources_smoke + sources_full = [] + sources += sources_full + configs = [ "../..:public_config_for_door" ] configs += [ ":pthread_config" ] - deps = [] - deps += [ ":sources_smoke" ] - deps += [ ":sources_other" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_posix_pthread_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + unittest("liteos_a_posix_pthread_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_smk" ] + sources += sources_smoke + sources += sources_full + configs = [ "../..:public_config_for_all" ] configs += [ ":pthread_config" ] - deps = [] - deps += [ ":sources_smoke" ] } -} \ No newline at end of file +} diff --git a/testsuites/unittest/process/mutex/BUILD.gn b/testsuites/unittest/process/mutex/BUILD.gn index 24644cf8..1ba1fe28 100644 --- a/testsuites/unittest/process/mutex/BUILD.gn +++ b/testsuites/unittest/process/mutex/BUILD.gn @@ -41,68 +41,60 @@ sources_entry = [ "process_mutex_test.cpp", ] -source_set("sources_smoke") { - sources = [ - "smoke/pthread_mutex_test_001.cpp", - "smoke/pthread_mutex_test_002.cpp", - "smoke/pthread_mutex_test_003.cpp", - "smoke/pthread_mutex_test_004.cpp", - "smoke/pthread_mutex_test_005.cpp", - "smoke/pthread_mutex_test_006.cpp", - "smoke/pthread_mutex_test_007.cpp", - "smoke/pthread_mutex_test_008.cpp", - "smoke/pthread_mutex_test_009.cpp", - "smoke/pthread_mutex_test_010.cpp", - "smoke/pthread_mutex_test_011.cpp", - "smoke/pthread_mutex_test_012.cpp", - "smoke/pthread_mutex_test_013.cpp", - "smoke/pthread_mutex_test_014.cpp", - "smoke/pthread_mutex_test_015.cpp", - "smoke/pthread_mutex_test_016.cpp", - "smoke/pthread_mutex_test_017.cpp", - "smoke/pthread_mutex_test_018.cpp", - "smoke/pthread_mutex_test_019.cpp", - "smoke/pthread_mutex_test_020.cpp", - "smoke/pthread_mutex_test_021.cpp", - "smoke/pthread_mutex_test_022.cpp", - "smoke/pthread_mutex_test_023.cpp", - "smoke/pthread_mutex_test_024.cpp", - "smoke/pthread_mutex_test_025.cpp", - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ + "smoke/pthread_mutex_test_001.cpp", + "smoke/pthread_mutex_test_002.cpp", + "smoke/pthread_mutex_test_003.cpp", + "smoke/pthread_mutex_test_004.cpp", + "smoke/pthread_mutex_test_005.cpp", + "smoke/pthread_mutex_test_006.cpp", + "smoke/pthread_mutex_test_007.cpp", + "smoke/pthread_mutex_test_008.cpp", + "smoke/pthread_mutex_test_009.cpp", + "smoke/pthread_mutex_test_010.cpp", + "smoke/pthread_mutex_test_011.cpp", + "smoke/pthread_mutex_test_012.cpp", + "smoke/pthread_mutex_test_013.cpp", + "smoke/pthread_mutex_test_014.cpp", + "smoke/pthread_mutex_test_015.cpp", + "smoke/pthread_mutex_test_016.cpp", + "smoke/pthread_mutex_test_017.cpp", + "smoke/pthread_mutex_test_018.cpp", + "smoke/pthread_mutex_test_019.cpp", + "smoke/pthread_mutex_test_020.cpp", + "smoke/pthread_mutex_test_021.cpp", + "smoke/pthread_mutex_test_022.cpp", + "smoke/pthread_mutex_test_023.cpp", + "smoke/pthread_mutex_test_024.cpp", + "smoke/pthread_mutex_test_025.cpp", +] -source_set("sources_other") { - sources = [ - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_full = [ +] -if (LOSCFG_USER_TEST_FOR_ALL == true) { - unittest("liteos_a_mutex_unittest") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_mutex_unittest_door") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_full" ] - deps = [] - deps += [ ":sources_smoke" ] - deps += [ ":sources_other" ] + sources += sources_smoke + sources_full = [] + sources += sources_full + configs = [ "../..:public_config_for_door" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_mutex_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + unittest("liteos_a_mutex_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_smk" ] - deps = [] - deps += [ ":sources_smoke" ] + sources += sources_smoke + sources += sources_full + configs = [ "../..:public_config_for_all" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } -} \ No newline at end of file +} diff --git a/testsuites/unittest/process/process/BUILD.gn b/testsuites/unittest/process/process/BUILD.gn index 4ac01305..9c8555e8 100644 --- a/testsuites/unittest/process/process/BUILD.gn +++ b/testsuites/unittest/process/process/BUILD.gn @@ -41,117 +41,109 @@ sources_entry = [ "process_process_test.cpp", ] -source_set("sources_smoke") { - sources = [ - "smoke/process_test_001.cpp", - "smoke/process_test_002.cpp", - "smoke/process_test_004.cpp", - "smoke/process_test_005.cpp", - "smoke/process_test_006.cpp", - "smoke/process_test_007.cpp", - "smoke/process_test_008.cpp", - "smoke/process_test_009.cpp", - "smoke/process_test_010.cpp", - "smoke/process_test_011.cpp", - "smoke/process_test_012.cpp", - "smoke/process_test_013.cpp", - "smoke/process_test_014.cpp", - "smoke/process_test_015.cpp", - "smoke/process_test_016.cpp", - "smoke/process_test_017.cpp", - "smoke/process_test_018.cpp", - "smoke/process_test_019.cpp", - "smoke/process_test_020.cpp", - "smoke/process_test_021.cpp", - "smoke/process_test_022.cpp", - "smoke/process_test_023.cpp", - "smoke/process_test_024.cpp", - "smoke/process_test_025.cpp", - "smoke/process_test_026.cpp", - "smoke/process_test_027.cpp", - "smoke/process_test_029.cpp", - "smoke/process_test_030.cpp", - "smoke/process_test_031.cpp", - "smoke/process_test_032.cpp", - "smoke/process_test_033.cpp", - "smoke/process_test_034.cpp", - "smoke/process_test_035.cpp", - "smoke/process_test_036.cpp", - "smoke/process_test_037.cpp", - "smoke/process_test_038.cpp", - "smoke/process_test_039.cpp", - "smoke/process_test_040.cpp", - "smoke/process_test_041.cpp", - "smoke/process_test_042.cpp", - "smoke/process_test_043.cpp", - "smoke/process_test_044.cpp", - "smoke/process_test_045.cpp", - "smoke/process_test_046.cpp", - "smoke/process_test_047.cpp", - "smoke/process_test_048.cpp", - "smoke/process_test_049.cpp", - "smoke/process_test_050.cpp", - "smoke/process_test_051.cpp", - "smoke/process_test_053.cpp", - "smoke/process_test_054.cpp", - "smoke/process_test_055.cpp", - "smoke/process_test_056.cpp", - "smoke/process_test_057.cpp", - "smoke/process_test_058.cpp", - "smoke/process_test_059.cpp", - "smoke/process_test_060.cpp", - "smoke/process_test_061.cpp", - "smoke/process_test_062.cpp", - "smoke/process_test_063.cpp", - "smoke/process_test_064.cpp", - "smoke/process_test_065.cpp", - "smoke/process_test_066.cpp", - "smoke/process_test_067.cpp", - "smoke/process_test_068.cpp", - "smoke/process_test_069.cpp", - "smp/process_test_smp_001.cpp", - "smp/process_test_smp_002.cpp", - "smp/process_test_smp_003.cpp", - "smp/process_test_smp_004.cpp", - "smp/process_test_smp_005.cpp", - "smp/process_test_smp_006.cpp", - "smp/process_test_smp_007.cpp", - "smp/process_test_smp_008.cpp", - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ + "smoke/process_test_001.cpp", + "smoke/process_test_002.cpp", + "smoke/process_test_004.cpp", + "smoke/process_test_005.cpp", + "smoke/process_test_006.cpp", + "smoke/process_test_007.cpp", + "smoke/process_test_008.cpp", + "smoke/process_test_009.cpp", + "smoke/process_test_010.cpp", + "smoke/process_test_011.cpp", + "smoke/process_test_012.cpp", + "smoke/process_test_013.cpp", + "smoke/process_test_014.cpp", + "smoke/process_test_015.cpp", + "smoke/process_test_016.cpp", + "smoke/process_test_017.cpp", + "smoke/process_test_018.cpp", + "smoke/process_test_019.cpp", + "smoke/process_test_020.cpp", + "smoke/process_test_021.cpp", + "smoke/process_test_022.cpp", + "smoke/process_test_023.cpp", + "smoke/process_test_024.cpp", + "smoke/process_test_025.cpp", + "smoke/process_test_026.cpp", + "smoke/process_test_027.cpp", + "smoke/process_test_029.cpp", + "smoke/process_test_030.cpp", + "smoke/process_test_031.cpp", + "smoke/process_test_032.cpp", + "smoke/process_test_033.cpp", + "smoke/process_test_034.cpp", + "smoke/process_test_035.cpp", + "smoke/process_test_036.cpp", + "smoke/process_test_037.cpp", + "smoke/process_test_038.cpp", + "smoke/process_test_039.cpp", + "smoke/process_test_040.cpp", + "smoke/process_test_041.cpp", + "smoke/process_test_042.cpp", + "smoke/process_test_043.cpp", + "smoke/process_test_044.cpp", + "smoke/process_test_045.cpp", + "smoke/process_test_046.cpp", + "smoke/process_test_047.cpp", + "smoke/process_test_048.cpp", + "smoke/process_test_049.cpp", + "smoke/process_test_050.cpp", + "smoke/process_test_051.cpp", + "smoke/process_test_053.cpp", + "smoke/process_test_054.cpp", + "smoke/process_test_055.cpp", + "smoke/process_test_056.cpp", + "smoke/process_test_057.cpp", + "smoke/process_test_058.cpp", + "smoke/process_test_059.cpp", + "smoke/process_test_060.cpp", + "smoke/process_test_061.cpp", + "smoke/process_test_062.cpp", + "smoke/process_test_063.cpp", + "smoke/process_test_064.cpp", + "smoke/process_test_065.cpp", + "smoke/process_test_066.cpp", + "smoke/process_test_067.cpp", + "smoke/process_test_068.cpp", + "smoke/process_test_069.cpp", + "smp/process_test_smp_001.cpp", + "smp/process_test_smp_002.cpp", + "smp/process_test_smp_003.cpp", + "smp/process_test_smp_004.cpp", + "smp/process_test_smp_005.cpp", + "smp/process_test_smp_006.cpp", + "smp/process_test_smp_007.cpp", + "smp/process_test_smp_008.cpp", +] -source_set("sources_other") { - sources = [ - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_full = [ +] -if (LOSCFG_USER_TEST_FOR_ALL == true) { - unittest("liteos_a_process_unittest") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_process_unittest_door") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_full" ] - deps = [] - deps += [ ":sources_smoke" ] - deps += [ ":sources_other" ] + sources += sources_smoke + sources_full = [] + sources += sources_full + configs = [ "../..:public_config_for_door" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_process_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + unittest("liteos_a_process_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_smk" ] - deps = [] - deps += [ ":sources_smoke" ] + sources += sources_smoke + sources += sources_full + configs = [ "../..:public_config_for_all" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } -} \ No newline at end of file +} diff --git a/testsuites/unittest/process/pthread/BUILD.gn b/testsuites/unittest/process/pthread/BUILD.gn index 1786f957..d32e2bba 100644 --- a/testsuites/unittest/process/pthread/BUILD.gn +++ b/testsuites/unittest/process/pthread/BUILD.gn @@ -41,67 +41,59 @@ sources_entry = [ "process_pthread_test.cpp", ] -source_set("sources_smoke") { - sources = [ - "smoke/pthread_atfork_test_001.cpp", - "smoke/pthread_atfork_test_002.cpp", - "smoke/pthread_cond_test_001.cpp", - "smoke/pthread_cond_test_002.cpp", - "smoke/pthread_once_test_001.cpp", - "smoke/pthread_test_001.cpp", - "smoke/pthread_test_002.cpp", - "smoke/pthread_test_003.cpp", - "smoke/pthread_test_004.cpp", - "smoke/pthread_test_005.cpp", - "smoke/pthread_test_006.cpp", - "smoke/pthread_test_007.cpp", - "smoke/pthread_test_008.cpp", - "smoke/pthread_test_009.cpp", - "smoke/pthread_test_010.cpp", - "smoke/pthread_test_011.cpp", - "smoke/pthread_test_012.cpp", - "smoke/pthread_test_013.cpp", - "smoke/pthread_test_014.cpp", - "smoke/pthread_test_015.cpp", - "smoke/pthread_test_016.cpp", - "smoke/pthread_test_017.cpp", - "smoke/pthread_test_018.cpp", - "smoke/pthread_test_019.cpp", - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ + "smoke/pthread_atfork_test_001.cpp", + "smoke/pthread_atfork_test_002.cpp", + "smoke/pthread_cond_test_001.cpp", + "smoke/pthread_cond_test_002.cpp", + "smoke/pthread_once_test_001.cpp", + "smoke/pthread_test_001.cpp", + "smoke/pthread_test_002.cpp", + "smoke/pthread_test_003.cpp", + "smoke/pthread_test_004.cpp", + "smoke/pthread_test_005.cpp", + "smoke/pthread_test_006.cpp", + "smoke/pthread_test_007.cpp", + "smoke/pthread_test_008.cpp", + "smoke/pthread_test_009.cpp", + "smoke/pthread_test_010.cpp", + "smoke/pthread_test_011.cpp", + "smoke/pthread_test_012.cpp", + "smoke/pthread_test_013.cpp", + "smoke/pthread_test_014.cpp", + "smoke/pthread_test_015.cpp", + "smoke/pthread_test_016.cpp", + "smoke/pthread_test_017.cpp", + "smoke/pthread_test_018.cpp", + "smoke/pthread_test_019.cpp", +] -source_set("sources_other") { - sources = [ - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_full = [ +] -if (LOSCFG_USER_TEST_FOR_ALL == true) { - unittest("liteos_a_pthread_unittest") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_pthread_unittest_door") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_full" ] - deps = [] - deps += [ ":sources_smoke" ] - deps += [ ":sources_other" ] + sources += sources_smoke + sources_full = [] + sources += sources_full + configs = [ "../..:public_config_for_door" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_pthread_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + unittest("liteos_a_pthread_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_smk" ] - deps = [] - deps += [ ":sources_smoke" ] + sources += sources_smoke + sources += sources_full + configs = [ "../..:public_config_for_all" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } -} \ No newline at end of file +} diff --git a/testsuites/unittest/process/rwlock/BUILD.gn b/testsuites/unittest/process/rwlock/BUILD.gn index a72c79cc..aedc928f 100644 --- a/testsuites/unittest/process/rwlock/BUILD.gn +++ b/testsuites/unittest/process/rwlock/BUILD.gn @@ -41,45 +41,37 @@ sources_entry = [ "process_rwlock_test.cpp", ] -source_set("sources_smoke") { - sources = [ - "smoke/pthread_rwlock_test_001.cpp", - "smoke/pthread_rwlock_test_002.cpp", - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ + "smoke/pthread_rwlock_test_001.cpp", + "smoke/pthread_rwlock_test_002.cpp", +] -source_set("sources_other") { - sources = [ - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_full = [ +] -if (LOSCFG_USER_TEST_FOR_ALL == true) { - unittest("liteos_a_rwlock_unittest") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_rwlock_unittest_door") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_full" ] - deps = [] - deps += [ ":sources_smoke" ] - deps += [ ":sources_other" ] + sources += sources_smoke + sources_full = [] + sources += sources_full + configs = [ "../..:public_config_for_door" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_rwlock_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + unittest("liteos_a_rwlock_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_smk" ] - deps = [] - deps += [ ":sources_smoke" ] + sources += sources_smoke + sources += sources_full + configs = [ "../..:public_config_for_all" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } -} \ No newline at end of file +} diff --git a/testsuites/unittest/process/spinlock/BUILD.gn b/testsuites/unittest/process/spinlock/BUILD.gn index 2baca226..d4134f1d 100644 --- a/testsuites/unittest/process/spinlock/BUILD.gn +++ b/testsuites/unittest/process/spinlock/BUILD.gn @@ -41,44 +41,36 @@ sources_entry = [ "process_spinlock_test.cpp", ] -source_set("sources_smoke") { - sources = [ - "smoke/pthread_spinlock_test_001.cpp", - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ + "smoke/pthread_spinlock_test_001.cpp", +] -source_set("sources_other") { - sources = [ - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_full = [ +] -if (LOSCFG_USER_TEST_FOR_ALL == true) { - unittest("liteos_a_spinlock_unittest") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_spinlock_unittest_door") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_full" ] - deps = [] - deps += [ ":sources_smoke" ] - deps += [ ":sources_other" ] + sources += sources_smoke + sources_full = [] + sources += sources_full + configs = [ "../..:public_config_for_door" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_spinlock_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + unittest("liteos_a_spinlock_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_smk" ] - deps = [] - deps += [ ":sources_smoke" ] + sources += sources_smoke + sources += sources_full + configs = [ "../..:public_config_for_all" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } -} \ No newline at end of file +} diff --git a/testsuites/unittest/security/capability/BUILD.gn b/testsuites/unittest/security/capability/BUILD.gn index 0ae9bd99..307ba777 100644 --- a/testsuites/unittest/security/capability/BUILD.gn +++ b/testsuites/unittest/security/capability/BUILD.gn @@ -13,44 +13,36 @@ sources_entry = [ "security_capability_test.cpp", ] -source_set("sources_smoke") { - sources = [ - "smoke/cap_test_001.cpp", - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ + "smoke/cap_test_001.cpp", +] -source_set("sources_other") { - sources = [ - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_full = [ +] -if (LOSCFG_USER_TEST_FOR_ALL == true) { - unittest("liteos_a_security_capability_unittest") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_security_capability_unittest_door") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_full" ] - deps = [] - deps += [ ":sources_smoke" ] - deps += [ ":sources_other" ] + sources += sources_smoke + sources_full = [] + sources += sources_full + configs = [ "../..:public_config_for_door" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_security_capability_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + unittest("liteos_a_security_capability_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_smk" ] - deps = [] - deps += [ ":sources_smoke" ] + sources += sources_smoke + sources += sources_full + configs = [ "../..:public_config_for_all" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } -} \ No newline at end of file +} diff --git a/testsuites/unittest/security/reugid/BUILD.gn b/testsuites/unittest/security/reugid/BUILD.gn index b15e5fe1..4c9cfb42 100644 --- a/testsuites/unittest/security/reugid/BUILD.gn +++ b/testsuites/unittest/security/reugid/BUILD.gn @@ -41,44 +41,36 @@ sources_entry = [ "security_reugid_test.cpp", ] -source_set("sources_smoke") { - sources = [ - "smoke/reugid_test_001.cpp", - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ + "smoke/reugid_test_001.cpp", +] -source_set("sources_other") { - sources = [ - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_full = [ +] -if (LOSCFG_USER_TEST_FOR_ALL == true) { - unittest("liteos_a_security_reugid_unittest") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_security_reugid_unittest_door") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_full" ] - deps = [] - deps += [ ":sources_smoke" ] - deps += [ ":sources_other" ] + sources += sources_smoke + sources_full = [] + sources += sources_full + configs = [ "../..:public_config_for_door" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_security_reugid_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + unittest("liteos_a_security_reugid_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_smk" ] - deps = [] - deps += [ ":sources_smoke" ] + sources += sources_smoke + sources += sources_full + configs = [ "../..:public_config_for_all" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } -} \ No newline at end of file +} diff --git a/testsuites/unittest/security/vid/BUILD.gn b/testsuites/unittest/security/vid/BUILD.gn index 88e86fb6..ad530683 100644 --- a/testsuites/unittest/security/vid/BUILD.gn +++ b/testsuites/unittest/security/vid/BUILD.gn @@ -41,44 +41,36 @@ sources_entry = [ "security_vid_test.cpp", ] -source_set("sources_smoke") { - sources = [ - "smoke/vid_test_001.cpp", - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ + "smoke/vid_test_001.cpp", +] -source_set("sources_other") { - sources = [ - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_full = [ +] -if (LOSCFG_USER_TEST_FOR_ALL == true) { - unittest("liteos_a_security_vid_unittest") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_security_vid_unittest_door") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_full" ] - deps = [] - deps += [ ":sources_smoke" ] - deps += [ ":sources_other" ] + sources += sources_smoke + sources_full = [] + sources += sources_full + configs = [ "../..:public_config_for_door" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_security_vid_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + unittest("liteos_a_security_vid_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_smk" ] - deps = [] - deps += [ ":sources_smoke" ] + sources += sources_smoke + sources += sources_full + configs = [ "../..:public_config_for_all" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } -} \ No newline at end of file +} diff --git a/testsuites/unittest/signal/BUILD.gn b/testsuites/unittest/signal/BUILD.gn index 728ea6e8..10b3ddf2 100644 --- a/testsuites/unittest/signal/BUILD.gn +++ b/testsuites/unittest/signal/BUILD.gn @@ -41,107 +41,99 @@ sources_entry = [ "signal_test.cpp", ] -source_set("sources_smoke") { - sources = [ - "smoke/It_ipc_fdisset_001.cpp", - "smoke/It_ipc_mkfifo_002.cpp", - "smoke/It_ipc_mkfifo_003.cpp", - "smoke/It_ipc_pipe_004.cpp", - "smoke/It_ipc_pipe_005.cpp", - "smoke/mkfifo_test_001.cpp", - "smoke/mkfifo_test_002.cpp", - "smoke/pipe_test_002.cpp", - "smoke/pipe_test_004.cpp", - "smoke/pipe_test_005.cpp", - "smoke/pipe_test_006.cpp", - "smoke/signal_test_002.cpp", - "smoke/signal_test_009.cpp", - "smoke/signal_test_013.cpp", - "smoke/signal_test_014.cpp", - "smoke/signal_test_021.cpp", - "smoke/signal_test_022.cpp", - "smoke/signal_test_023.cpp", - "smoke/signal_test_024.cpp", - "smoke/signal_test_031.cpp", - "smoke/signal_test_032.cpp", - "smoke/signal_test_035.cpp", - "smoke/signal_test_036.cpp", - "smoke/signal_test_037.cpp", - "smoke/signal_test_039.cpp", - "smoke/signal_test_042.cpp", - "smoke/sigset_test_001.cpp", - "smoke/sigset_test_002.cpp", - ] - configs += [ "..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ + "smoke/It_ipc_fdisset_001.cpp", + "smoke/It_ipc_mkfifo_002.cpp", + "smoke/It_ipc_mkfifo_003.cpp", + "smoke/It_ipc_pipe_004.cpp", + "smoke/It_ipc_pipe_005.cpp", + "smoke/mkfifo_test_001.cpp", + "smoke/mkfifo_test_002.cpp", + "smoke/pipe_test_002.cpp", + "smoke/pipe_test_004.cpp", + "smoke/pipe_test_005.cpp", + "smoke/pipe_test_006.cpp", + "smoke/signal_test_002.cpp", + "smoke/signal_test_009.cpp", + "smoke/signal_test_013.cpp", + "smoke/signal_test_014.cpp", + "smoke/signal_test_021.cpp", + "smoke/signal_test_022.cpp", + "smoke/signal_test_023.cpp", + "smoke/signal_test_024.cpp", + "smoke/signal_test_031.cpp", + "smoke/signal_test_032.cpp", + "smoke/signal_test_035.cpp", + "smoke/signal_test_036.cpp", + "smoke/signal_test_037.cpp", + "smoke/signal_test_039.cpp", + "smoke/signal_test_042.cpp", + "smoke/sigset_test_001.cpp", + "smoke/sigset_test_002.cpp", +] -source_set("sources_other") { - sources = [ - "full/It_ipc_fdclr_001.cpp", - "full/It_ipc_fdset_001.cpp", - "full/It_ipc_fdzero_001.cpp", - "full/It_ipc_sigaction_001.cpp", - "full/It_ipc_sigpause_001.cpp", - "full/It_ipc_sigprocmask_001.cpp", - "full/signal_test_001.cpp", - "full/signal_test_003.cpp", - "full/signal_test_004.cpp", - "full/signal_test_005.cpp", - "full/signal_test_006.cpp", - "full/signal_test_007.cpp", - "full/signal_test_008.cpp", - "full/signal_test_010.cpp", - "full/signal_test_011.cpp", - "full/signal_test_012.cpp", - "full/signal_test_015.cpp", - "full/signal_test_016.cpp", - "full/signal_test_017.cpp", - "full/signal_test_018.cpp", - "full/signal_test_019.cpp", - "full/signal_test_020.cpp", - "full/signal_test_025.cpp", - "full/signal_test_026.cpp", - "full/signal_test_028.cpp", - "full/signal_test_029.cpp", - "full/signal_test_030.cpp", - "full/signal_test_033.cpp", - "full/signal_test_038.cpp", - "full/signal_test_040.cpp", - "full/signal_test_041.cpp", - "full/It_ipc_pipe_002.cpp", - "full/It_ipc_pipe_003.cpp", - "full/pipe_test_001.cpp", - "full/pipe_test_003.cpp", +sources_full = [ + "full/It_ipc_fdclr_001.cpp", + "full/It_ipc_fdset_001.cpp", + "full/It_ipc_fdzero_001.cpp", + "full/It_ipc_sigaction_001.cpp", + "full/It_ipc_sigpause_001.cpp", + "full/It_ipc_sigprocmask_001.cpp", + "full/signal_test_001.cpp", + "full/signal_test_003.cpp", + "full/signal_test_004.cpp", + "full/signal_test_005.cpp", + "full/signal_test_006.cpp", + "full/signal_test_007.cpp", + "full/signal_test_008.cpp", + "full/signal_test_010.cpp", + "full/signal_test_011.cpp", + "full/signal_test_012.cpp", + "full/signal_test_015.cpp", + "full/signal_test_016.cpp", + "full/signal_test_017.cpp", + "full/signal_test_018.cpp", + "full/signal_test_019.cpp", + "full/signal_test_020.cpp", + "full/signal_test_025.cpp", + "full/signal_test_026.cpp", + "full/signal_test_028.cpp", + "full/signal_test_029.cpp", + "full/signal_test_030.cpp", + "full/signal_test_033.cpp", + "full/signal_test_038.cpp", + "full/signal_test_040.cpp", + "full/signal_test_041.cpp", + "full/It_ipc_pipe_002.cpp", + "full/It_ipc_pipe_003.cpp", + "full/pipe_test_001.cpp", + "full/pipe_test_003.cpp", - ] - configs += [ "..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +] -if (LOSCFG_USER_TEST_FOR_ALL == true) { - unittest("liteos_a_signal_unittest") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_signal_unittest_door") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "..:public_config_full" ] - deps = [] - deps += [ ":sources_smoke" ] - deps += [ ":sources_other" ] + sources += sources_smoke + sources_full = [] + sources += sources_full + configs = [ "..:public_config_for_door" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_signal_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + unittest("liteos_a_signal_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "..:public_config_smk" ] - deps = [] - deps += [ ":sources_smoke" ] + sources += sources_smoke + sources += sources_full + configs = [ "..:public_config_for_all" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } -} \ No newline at end of file +} diff --git a/testsuites/unittest/sys/BUILD.gn b/testsuites/unittest/sys/BUILD.gn index 3bcfb9fd..8f439d55 100644 --- a/testsuites/unittest/sys/BUILD.gn +++ b/testsuites/unittest/sys/BUILD.gn @@ -41,71 +41,63 @@ sources_entry = [ "sys_unit_test.cpp", ] -source_set("sources_smoke") { - sources = [ - "smoke/sys_test_001.cpp", - "smoke/sys_test_004.cpp", - "smoke/sys_test_005.cpp", - "smoke/sys_test_006.cpp", - "smoke/sys_test_007.cpp", - "smoke/sys_test_008.cpp", - "smoke/sys_test_009.cpp", - "smoke/sys_test_010.cpp", - "smoke/sys_test_012.cpp", - "smoke/sys_test_013.cpp", - "smoke/sys_test_014.cpp", - "smoke/sys_test_015.cpp", - "smoke/sys_test_016.cpp", - "smoke/sys_test_017.cpp", - "smoke/sys_test_018.cpp", - "smoke/sys_test_019.cpp", - "smoke/sys_test_020.cpp", - "smoke/sys_test_021.cpp", - "smoke/sys_test_022.cpp", - "smoke/sys_test_023.cpp", - "smoke/sys_test_024.cpp", - "smoke/sys_test_025.cpp", - "smoke/sys_test_026.cpp", - "smoke/sys_test_027.cpp", - "smoke/sys_test_028.cpp", - "smoke/sys_test_029.cpp", - "smoke/sys_test_030.cpp", - "smoke/sys_test_031.cpp", - ] - configs += [ "..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ + "smoke/sys_test_001.cpp", + "smoke/sys_test_004.cpp", + "smoke/sys_test_005.cpp", + "smoke/sys_test_006.cpp", + "smoke/sys_test_007.cpp", + "smoke/sys_test_008.cpp", + "smoke/sys_test_009.cpp", + "smoke/sys_test_010.cpp", + "smoke/sys_test_012.cpp", + "smoke/sys_test_013.cpp", + "smoke/sys_test_014.cpp", + "smoke/sys_test_015.cpp", + "smoke/sys_test_016.cpp", + "smoke/sys_test_017.cpp", + "smoke/sys_test_018.cpp", + "smoke/sys_test_019.cpp", + "smoke/sys_test_020.cpp", + "smoke/sys_test_021.cpp", + "smoke/sys_test_022.cpp", + "smoke/sys_test_023.cpp", + "smoke/sys_test_024.cpp", + "smoke/sys_test_025.cpp", + "smoke/sys_test_026.cpp", + "smoke/sys_test_027.cpp", + "smoke/sys_test_028.cpp", + "smoke/sys_test_029.cpp", + "smoke/sys_test_030.cpp", + "smoke/sys_test_031.cpp", +] -source_set("sources_other") { - sources = [ - ] - configs += [ "..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_full = [ +] -if (LOSCFG_USER_TEST_FOR_ALL == true) { - unittest("liteos_a_sys_unittest") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_sys_unittest_door") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "..:public_config_full" ] - deps = [] - deps += [ ":sources_smoke" ] - deps += [ ":sources_other" ] + sources += sources_smoke + sources_full = [] + sources += sources_full + configs = [ "..:public_config_for_door" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_sys_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + unittest("liteos_a_sys_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "..:public_config_smk" ] - deps = [] - deps += [ ":sources_smoke" ] + sources += sources_smoke + sources += sources_full + configs = [ "..:public_config_for_all" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } -} \ No newline at end of file +} diff --git a/testsuites/unittest/time/clock/BUILD.gn b/testsuites/unittest/time/clock/BUILD.gn index dcf57513..833cf0a4 100644 --- a/testsuites/unittest/time/clock/BUILD.gn +++ b/testsuites/unittest/time/clock/BUILD.gn @@ -41,54 +41,46 @@ sources_entry = [ "time_clock_test.cpp", ] -source_set("sources_smoke") { - sources = [ - "smoke/clock_test_001.cpp", - "smoke/clock_test_002.cpp", - "smoke/clock_test_003.cpp", - "smoke/clock_test_004.cpp", - "smoke/clock_test_006.cpp", - "smoke/clock_test_007.cpp", - "smoke/clock_test_008.cpp", - "smoke/clock_test_009.cpp", - "smoke/clock_test_011.cpp", - "smoke/clock_test_012.cpp", - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ + "smoke/clock_test_001.cpp", + "smoke/clock_test_002.cpp", + "smoke/clock_test_003.cpp", + "smoke/clock_test_004.cpp", + "smoke/clock_test_006.cpp", + "smoke/clock_test_007.cpp", + "smoke/clock_test_008.cpp", + "smoke/clock_test_009.cpp", + "smoke/clock_test_011.cpp", + "smoke/clock_test_012.cpp", +] -source_set("sources_other") { - sources = [ - "full/clock_test_010.cpp", - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_full = [ + "full/clock_test_010.cpp", +] -if (LOSCFG_USER_TEST_FOR_ALL == true) { - unittest("liteos_a_time_clock_unittest") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_time_clock_unittest_door") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_full" ] - deps = [] - deps += [ ":sources_smoke" ] - deps += [ ":sources_other" ] + sources += sources_smoke + sources_full = [] + sources += sources_full + configs = [ "../..:public_config_for_door" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_time_clock_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + unittest("liteos_a_time_clock_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_smk" ] - deps = [] - deps += [ ":sources_smoke" ] + sources += sources_smoke + sources += sources_full + configs = [ "../..:public_config_for_all" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } -} \ No newline at end of file +} diff --git a/testsuites/unittest/time/timer/BUILD.gn b/testsuites/unittest/time/timer/BUILD.gn index 8298988e..b69eb76f 100644 --- a/testsuites/unittest/time/timer/BUILD.gn +++ b/testsuites/unittest/time/timer/BUILD.gn @@ -41,49 +41,41 @@ sources_entry = [ "time_timer_test.cpp", ] -source_set("sources_smoke") { - sources = [ - "smoke/timer_test_001.cpp", - "smoke/timer_test_002.cpp", - "smoke/timer_test_003.cpp", - "smoke/timer_test_004.cpp", - "smoke/timer_test_tzset_001.cpp", - "smoke/timer_test_tzset_002.cpp", - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ + "smoke/timer_test_001.cpp", + "smoke/timer_test_002.cpp", + "smoke/timer_test_003.cpp", + "smoke/timer_test_004.cpp", + "smoke/timer_test_tzset_001.cpp", + "smoke/timer_test_tzset_002.cpp", +] -source_set("sources_other") { - sources = [ - ] - configs += [ "../..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_full = [ +] -if (LOSCFG_USER_TEST_FOR_ALL == true) { - unittest("liteos_a_time_timer_unittest") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_time_timer_unittest_door") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_full" ] - deps = [] - deps += [ ":sources_smoke" ] - deps += [ ":sources_other" ] + sources += sources_smoke + sources_full = [] + sources += sources_full + configs = [ "../..:public_config_for_door" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_time_timer_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + unittest("liteos_a_time_timer_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "../..:public_config_smk" ] - deps = [] - deps += [ ":sources_smoke" ] + sources += sources_smoke + sources += sources_full + configs = [ "../..:public_config_for_all" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } -} \ No newline at end of file +} diff --git a/testsuites/unittest/util/BUILD.gn b/testsuites/unittest/util/BUILD.gn index f4ec69a6..cda816c0 100644 --- a/testsuites/unittest/util/BUILD.gn +++ b/testsuites/unittest/util/BUILD.gn @@ -43,52 +43,44 @@ sources_entry = [ "util_test.cpp", ] -source_set("sources_smoke") { - sources = [ - "smoke/it_test_util_100.cpp", - "smoke/it_test_util_101.cpp", - "smoke/util_test_001.cpp", - "smoke/util_test_002.cpp", - "smoke/util_test_003.cpp", - "smoke/util_test_004.cpp", - "smoke/util_test_005.cpp", - "smoke/util_test_006.cpp", - "smoke/util_test_007.cpp", - ] - configs += [ "..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_smoke = [ + "smoke/it_test_util_100.cpp", + "smoke/it_test_util_101.cpp", + "smoke/util_test_001.cpp", + "smoke/util_test_002.cpp", + "smoke/util_test_003.cpp", + "smoke/util_test_004.cpp", + "smoke/util_test_005.cpp", + "smoke/util_test_006.cpp", + "smoke/util_test_007.cpp", +] -source_set("sources_other") { - sources = [ - ] - configs += [ "..:local_public_config" ] - include_dirs = common_include_dirs - deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -} +sources_full = [ +] -if (LOSCFG_USER_TEST_FOR_ALL == true) { - unittest("liteos_a_util_unittest") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_LOW) { + unittest("liteos_a_util_unittest_door") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "..:public_config_full" ] - deps = [] - deps += [ ":sources_smoke" ] - deps += [ ":sources_other" ] + sources += sources_smoke + sources_full = [] + sources += sources_full + configs = [ "..:public_config_for_door" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } -if (LOSCFG_USER_TEST_FOR_DOOR == true) { - unittest("liteos_a_util_unittest_door") { +if (LOSCFG_USER_TEST_LEVEL >= TEST_LEVEL_MIDDLE) { + unittest("liteos_a_util_unittest") { output_extension = "bin" output_dir = "$root_out_dir/test/unittest/kernel" include_dirs = common_include_dirs sources = sources_entry - configs = [ "..:public_config_smk" ] - deps = [] - deps += [ ":sources_smoke" ] + sources += sources_smoke + sources += sources_full + configs = [ "..:public_config_for_all" ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } -} \ No newline at end of file +} -- GitLab