diff --git a/testsuites/unittest/BUILD.gn b/testsuites/unittest/BUILD.gn index 3768b79bde0440dcd74008b2ed5e6a06ea30edec..36718d8ceb2b95fa0711add7ca9050b0323a80f9 100644 --- a/testsuites/unittest/BUILD.gn +++ b/testsuites/unittest/BUILD.gn @@ -29,17 +29,28 @@ import("config.gni") +local_flags = [] local_flags_smoke = [] local_flags_full = [] -if (board_name == "hispark_taurus") { - local_flags_smoke += [ "-DLOSCFG_USER_TEST_SMP" ] - local_flags_full += [ "-DLOSCFG_USER_TEST_SMP" ] +if (LOSCFG_USER_TEST_SMP == "enable" || (LOSCFG_USER_TEST_SMP == "default" && board_name == "hispark_taurus")) { + 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", + ] + cflags += local_flags + cflags_cc = cflags +} + config("public_config_smk") { cflags = [ "-fpermissive" ] cflags += [ @@ -48,6 +59,7 @@ config("public_config_smk") { "-Wno-narrowing", ] cflags += local_flags_smoke + cflags += local_flags cflags_cc = cflags } @@ -59,6 +71,7 @@ config("public_config_full") { "-Wno-narrowing", ] cflags += local_flags_full + cflags += local_flags cflags_cc = cflags } diff --git a/testsuites/unittest/IO/BUILD.gn b/testsuites/unittest/IO/BUILD.gn index daf0b9979fd071bce35c36f38f4ad2cedf0bb726..3836d24e0e5d6c81a8b6e1c8c7881ac066b836e2 100644 --- a/testsuites/unittest/IO/BUILD.gn +++ b/testsuites/unittest/IO/BUILD.gn @@ -48,6 +48,7 @@ source_set("sources_smoke") { "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" ] } @@ -89,6 +90,7 @@ source_set("sources_other") { "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" ] } diff --git a/testsuites/unittest/IPC/BUILD.gn b/testsuites/unittest/IPC/BUILD.gn index 9152c3593e3ddfd5461089ba7c696e42df8f95b1..ce22d5b4f88a01e6b5dabfe65f75d64b85cbaf30 100644 --- a/testsuites/unittest/IPC/BUILD.gn +++ b/testsuites/unittest/IPC/BUILD.gn @@ -44,6 +44,7 @@ sources_entry = [ source_set("sources_smoke") { sources = [ ] + configs += [ "..:local_public_config" ] include_dirs = common_include_dirs deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } @@ -53,6 +54,7 @@ source_set("sources_other") { "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" ] } diff --git a/testsuites/unittest/config.gni b/testsuites/unittest/config.gni index 866bc5bab71e0bb076b65f5be704c8c35b1928b5..e7a74e34a696038567b591d19fced9b0d0cb9ca7 100644 --- a/testsuites/unittest/config.gni +++ b/testsuites/unittest/config.gni @@ -28,9 +28,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. LOSCFG_USER_TEST_FOR_DOOR = true -LOSCFG_USER_TEST_FOR_ALL = true +LOSCFG_USER_TEST_FOR_ALL = false LOSCFG_USER_TEST_PRESSURE = false +# "default": depend on board_name +# "enable": those testsuites testing for SMP is enable +# "disable" those testsuites is disable +LOSCFG_USER_TEST_SMP = "default" + LOSCFG_USER_TEST_MISC = true LOSCFG_USER_TEST_DRIVERS_HID = true LOSCFG_USER_TEST_DRIVERS_STORAGE = true diff --git a/testsuites/unittest/drivers/hid/BUILD.gn b/testsuites/unittest/drivers/hid/BUILD.gn index 72704e5fedaf42e3dbe748b77f0f537bef1ca62e..797a5a4715120203c325fd653afbfe53a996ebed 100644 --- a/testsuites/unittest/drivers/hid/BUILD.gn +++ b/testsuites/unittest/drivers/hid/BUILD.gn @@ -45,6 +45,7 @@ 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" ] } @@ -52,6 +53,7 @@ source_set("sources_smoke") { source_set("sources_other") { sources = [ ] + configs += [ "../..:local_public_config" ] include_dirs = common_include_dirs deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } diff --git a/testsuites/unittest/drivers/storage/BUILD.gn b/testsuites/unittest/drivers/storage/BUILD.gn index c17f46089d2f53d52ebfa1feab5cea4ac7df3784..a5c62fa807b2856d821a69222b4a07df6124ba1c 100644 --- a/testsuites/unittest/drivers/storage/BUILD.gn +++ b/testsuites/unittest/drivers/storage/BUILD.gn @@ -45,6 +45,7 @@ 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" ] } @@ -52,6 +53,7 @@ source_set("sources_smoke") { source_set("sources_other") { sources = [ ] + configs += [ "../..:local_public_config" ] include_dirs = common_include_dirs deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } diff --git a/testsuites/unittest/dynload/BUILD.gn b/testsuites/unittest/dynload/BUILD.gn index 6cedc00ae298eed79d64a39564a5fe23c30a1d31..e336a08d8456c6adbec8eebadf092504f4e9cbb4 100644 --- a/testsuites/unittest/dynload/BUILD.gn +++ b/testsuites/unittest/dynload/BUILD.gn @@ -46,6 +46,7 @@ source_set("sources_smoke") { "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" ] } @@ -53,6 +54,7 @@ source_set("sources_smoke") { source_set("sources_other") { sources = [ ] + configs += [ "..:local_public_config" ] include_dirs = common_include_dirs deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } diff --git a/testsuites/unittest/exc/BUILD.gn b/testsuites/unittest/exc/BUILD.gn index 7a24227f34717a699f1c6cad779ae9c1515cd0e0..6b68ae08c8a5513ba68911556ab4d623464a9ffe 100644 --- a/testsuites/unittest/exc/BUILD.gn +++ b/testsuites/unittest/exc/BUILD.gn @@ -49,6 +49,7 @@ source_set("sources_smoke") { "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" ] } @@ -57,6 +58,7 @@ 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" ] } diff --git a/testsuites/unittest/fs/BUILD.gn b/testsuites/unittest/fs/BUILD.gn index 77dd1492f91b828a54380b283834b3d618145611..a0989e8d27cbfc8773c36b9c9d1f10c531917b5e 100644 --- a/testsuites/unittest/fs/BUILD.gn +++ b/testsuites/unittest/fs/BUILD.gn @@ -60,6 +60,7 @@ source_set("sources_smoke") { "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" ] } @@ -791,6 +792,7 @@ source_set("sources_other") { "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" ] } diff --git a/testsuites/unittest/fs/proc/BUILD.gn b/testsuites/unittest/fs/proc/BUILD.gn index 32c6d9b219a868edd9a121ed32d160eb95ee0717..19b109713e2917d968d17ffd38fa54777bb16457 100644 --- a/testsuites/unittest/fs/proc/BUILD.gn +++ b/testsuites/unittest/fs/proc/BUILD.gn @@ -44,6 +44,7 @@ sources_entry = [ source_set("sources_smoke") { sources = [ ] + configs += [ "../..:local_public_config" ] include_dirs = common_include_dirs deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } @@ -57,6 +58,7 @@ source_set("sources_other") { "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" ] } diff --git a/testsuites/unittest/fs/vfat2/BUILD.gn b/testsuites/unittest/fs/vfat2/BUILD.gn index 763ba1f743716c856e715f067830f25df53f3c3a..dcff5eb121a65a438b0d307cad3526e4c59e8dbf 100644 --- a/testsuites/unittest/fs/vfat2/BUILD.gn +++ b/testsuites/unittest/fs/vfat2/BUILD.gn @@ -46,6 +46,7 @@ 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" ] } @@ -193,6 +194,7 @@ source_set("sources_other") { "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" ] } diff --git a/testsuites/unittest/liteipc/BUILD.gn b/testsuites/unittest/liteipc/BUILD.gn index 07daaafd5dced60ac338a649eef4d7a1d32c402e..942f38a06a3fe27e784e1ac9fb68cc83ac181588 100644 --- a/testsuites/unittest/liteipc/BUILD.gn +++ b/testsuites/unittest/liteipc/BUILD.gn @@ -47,6 +47,7 @@ source_set("sources_smoke") { "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" ] } @@ -54,6 +55,7 @@ source_set("sources_smoke") { source_set("sources_other") { sources = [ ] + configs += [ "..:local_public_config" ] include_dirs = common_include_dirs 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 c54afa843bc0410a03d2aa23fe6f67fc52277c3f..8f9c95b3482029ac6d8fd7156d312c4d87960d42 100644 --- a/testsuites/unittest/mem/shm/BUILD.gn +++ b/testsuites/unittest/mem/shm/BUILD.gn @@ -58,6 +58,7 @@ source_set("sources_smoke") { "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" ] } @@ -65,6 +66,7 @@ source_set("sources_smoke") { source_set("sources_other") { sources = [ ] + configs += [ "../..:local_public_config" ] include_dirs = common_include_dirs 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 1d15ab9c3631f6e0331e03a5bc19ad880ae69b68..3e69f05727ee2a2b5e608b3af4470213a2b134a9 100644 --- a/testsuites/unittest/mem/vm/BUILD.gn +++ b/testsuites/unittest/mem/vm/BUILD.gn @@ -59,6 +59,7 @@ source_set("sources_smoke") { "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" ] } @@ -66,6 +67,7 @@ source_set("sources_smoke") { source_set("sources_other") { sources = [ ] + configs += [ "../..:local_public_config" ] include_dirs = common_include_dirs deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } diff --git a/testsuites/unittest/misc/BUILD.gn b/testsuites/unittest/misc/BUILD.gn index c0d85a522cdc8aeed75fa56b6f6fc3d4e9ab60dd..db465f4991131e55d22d32a8b64805ba03f651e9 100644 --- a/testsuites/unittest/misc/BUILD.gn +++ b/testsuites/unittest/misc/BUILD.gn @@ -50,6 +50,7 @@ source_set("sources_other") { "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" ] } @@ -65,6 +66,7 @@ source_set("sources_smoke") { "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" ] } diff --git a/testsuites/unittest/net/netdb/BUILD.gn b/testsuites/unittest/net/netdb/BUILD.gn index f214a453ab5d3093108b59eaf4f0b9b32a01684d..994652de0ba4c53575d5e6217957feaf71356e7a 100644 --- a/testsuites/unittest/net/netdb/BUILD.gn +++ b/testsuites/unittest/net/netdb/BUILD.gn @@ -53,6 +53,7 @@ source_set("sources_smoke") { "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" ] } @@ -80,6 +81,7 @@ source_set("sources_other") { "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" ] } diff --git a/testsuites/unittest/net/resolv/BUILD.gn b/testsuites/unittest/net/resolv/BUILD.gn index 8d7a1d9e48bcf542833165e1f692233c10d43572..ef29c648d3f9e36dd09a0c951a8efcb5832f8aa6 100644 --- a/testsuites/unittest/net/resolv/BUILD.gn +++ b/testsuites/unittest/net/resolv/BUILD.gn @@ -56,6 +56,7 @@ source_set("sources_smoke") { "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" ] } @@ -66,6 +67,7 @@ source_set("sources_other") { "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" ] } diff --git a/testsuites/unittest/net/socket/BUILD.gn b/testsuites/unittest/net/socket/BUILD.gn index 5cb59553500b241e955f1f27d0e1ff2953f29bcd..e90c8bff1f381041d9b10edd079511dabdb8208e 100644 --- a/testsuites/unittest/net/socket/BUILD.gn +++ b/testsuites/unittest/net/socket/BUILD.gn @@ -64,6 +64,7 @@ source_set("sources_smoke") { "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" ] } @@ -71,6 +72,7 @@ source_set("sources_smoke") { source_set("sources_other") { sources = [ ] + configs += [ "../..:local_public_config" ] include_dirs = common_include_dirs deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } diff --git a/testsuites/unittest/posix/mem/BUILD.gn b/testsuites/unittest/posix/mem/BUILD.gn index 6f3252b96967bdb50ddcada1ca2911faf2543203..1c0a1c5d157fec26718757753d585c25355b9d9f 100644 --- a/testsuites/unittest/posix/mem/BUILD.gn +++ b/testsuites/unittest/posix/mem/BUILD.gn @@ -46,6 +46,7 @@ source_set("sources_smoke") { "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" ] } @@ -53,6 +54,7 @@ source_set("sources_smoke") { source_set("sources_other") { sources = [ ] + configs += [ "../..:local_public_config" ] include_dirs = common_include_dirs deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } diff --git a/testsuites/unittest/posix/mqueue/BUILD.gn b/testsuites/unittest/posix/mqueue/BUILD.gn index ec5ab14c635f54cd3e51bbd529b5900387a1741e..9eb2886bfdd4d6df00ff37d8118f760ce72c3fd6 100644 --- a/testsuites/unittest/posix/mqueue/BUILD.gn +++ b/testsuites/unittest/posix/mqueue/BUILD.gn @@ -60,6 +60,7 @@ source_set("sources_smoke") { "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" ] } @@ -206,6 +207,7 @@ source_set("sources_other") { "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" ] } diff --git a/testsuites/unittest/posix/pthread/BUILD.gn b/testsuites/unittest/posix/pthread/BUILD.gn index 9e0dea9e455fff0bc571c111eac2d1ed13409d6e..4bb68454c35f2786ab9c83b27aadbdbbb113de46 100644 --- a/testsuites/unittest/posix/pthread/BUILD.gn +++ b/testsuites/unittest/posix/pthread/BUILD.gn @@ -59,6 +59,7 @@ source_set("sources_smoke") { "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" ] } @@ -171,6 +172,7 @@ source_set("sources_other") { "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" ] } diff --git a/testsuites/unittest/process/mutex/BUILD.gn b/testsuites/unittest/process/mutex/BUILD.gn index 75ed44d0c8dd676ff69bd3fb0a7980eba596ab2b..24644cf8cbaefae9cfb1b8b662b592e9adcb9e32 100644 --- a/testsuites/unittest/process/mutex/BUILD.gn +++ b/testsuites/unittest/process/mutex/BUILD.gn @@ -69,6 +69,7 @@ source_set("sources_smoke") { "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" ] } @@ -76,6 +77,7 @@ source_set("sources_smoke") { source_set("sources_other") { sources = [ ] + configs += [ "../..:local_public_config" ] include_dirs = common_include_dirs deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } diff --git a/testsuites/unittest/process/process/BUILD.gn b/testsuites/unittest/process/process/BUILD.gn index 5a7391c1bfa015a733413b254ceb642f3888e730..4ac01305ef956b2c5700c5333bba5e298437f52b 100644 --- a/testsuites/unittest/process/process/BUILD.gn +++ b/testsuites/unittest/process/process/BUILD.gn @@ -118,6 +118,7 @@ source_set("sources_smoke") { "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" ] } @@ -125,6 +126,7 @@ source_set("sources_smoke") { source_set("sources_other") { sources = [ ] + configs += [ "../..:local_public_config" ] include_dirs = common_include_dirs deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } diff --git a/testsuites/unittest/process/pthread/BUILD.gn b/testsuites/unittest/process/pthread/BUILD.gn index 90fb5f75abf9b6a548aa4e4128cd931120da7191..1786f95780bc5ca99a1e67156531b27efe7096ac 100644 --- a/testsuites/unittest/process/pthread/BUILD.gn +++ b/testsuites/unittest/process/pthread/BUILD.gn @@ -68,6 +68,7 @@ source_set("sources_smoke") { "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" ] } @@ -75,6 +76,7 @@ source_set("sources_smoke") { source_set("sources_other") { sources = [ ] + configs += [ "../..:local_public_config" ] include_dirs = common_include_dirs deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } diff --git a/testsuites/unittest/process/rwlock/BUILD.gn b/testsuites/unittest/process/rwlock/BUILD.gn index aa69d086193764a777391528ef50634a837ac7c1..a72c79cc956383993d638804c853fbe24bc2d88d 100644 --- a/testsuites/unittest/process/rwlock/BUILD.gn +++ b/testsuites/unittest/process/rwlock/BUILD.gn @@ -46,6 +46,7 @@ source_set("sources_smoke") { "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" ] } @@ -53,6 +54,7 @@ source_set("sources_smoke") { source_set("sources_other") { sources = [ ] + configs += [ "../..:local_public_config" ] include_dirs = common_include_dirs deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } diff --git a/testsuites/unittest/process/spinlock/BUILD.gn b/testsuites/unittest/process/spinlock/BUILD.gn index 4d87c87c1ab68400ad773efe0fc54b46281b0a49..2baca2268036a853dd28b7cfb313d582e9133759 100644 --- a/testsuites/unittest/process/spinlock/BUILD.gn +++ b/testsuites/unittest/process/spinlock/BUILD.gn @@ -45,6 +45,7 @@ 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" ] } @@ -52,6 +53,7 @@ source_set("sources_smoke") { source_set("sources_other") { sources = [ ] + configs += [ "../..:local_public_config" ] include_dirs = common_include_dirs deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } diff --git a/testsuites/unittest/security/capability/BUILD.gn b/testsuites/unittest/security/capability/BUILD.gn index f1bfffb4919b1ac7c2c36c706373402cd1348cdd..0ae9bd994333ce2919ff36add38b36802c4b61a1 100644 --- a/testsuites/unittest/security/capability/BUILD.gn +++ b/testsuites/unittest/security/capability/BUILD.gn @@ -17,6 +17,7 @@ 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" ] } @@ -24,6 +25,7 @@ source_set("sources_smoke") { source_set("sources_other") { sources = [ ] + configs += [ "../..:local_public_config" ] include_dirs = common_include_dirs deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } diff --git a/testsuites/unittest/security/reugid/BUILD.gn b/testsuites/unittest/security/reugid/BUILD.gn index c5a766733e4ec32265f508127d666732bfe3ab61..b15e5fe17ce269ccf1b608ef44b06b21b57f92c5 100644 --- a/testsuites/unittest/security/reugid/BUILD.gn +++ b/testsuites/unittest/security/reugid/BUILD.gn @@ -45,6 +45,7 @@ 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" ] } @@ -52,6 +53,7 @@ source_set("sources_smoke") { source_set("sources_other") { sources = [ ] + configs += [ "../..:local_public_config" ] include_dirs = common_include_dirs deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } diff --git a/testsuites/unittest/security/vid/BUILD.gn b/testsuites/unittest/security/vid/BUILD.gn index f30f4767be7ced64ea47603879920eafb133fe41..88e86fb6c60d61f2267d72f9b8494948c97ea4ca 100644 --- a/testsuites/unittest/security/vid/BUILD.gn +++ b/testsuites/unittest/security/vid/BUILD.gn @@ -45,6 +45,7 @@ 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" ] } @@ -52,6 +53,7 @@ source_set("sources_smoke") { source_set("sources_other") { sources = [ ] + configs += [ "../..:local_public_config" ] include_dirs = common_include_dirs deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } diff --git a/testsuites/unittest/signal/BUILD.gn b/testsuites/unittest/signal/BUILD.gn index bb601ac36da4f96ff9cf3764af31b041c76afde3..3b17627d753de82177ecf3d29655e518b5fbd025 100644 --- a/testsuites/unittest/signal/BUILD.gn +++ b/testsuites/unittest/signal/BUILD.gn @@ -107,6 +107,7 @@ source_set("sources_smoke") { "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" ] } @@ -114,6 +115,7 @@ source_set("sources_smoke") { source_set("sources_other") { sources = [ ] + configs += [ "..:local_public_config" ] include_dirs = common_include_dirs deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } diff --git a/testsuites/unittest/sys/BUILD.gn b/testsuites/unittest/sys/BUILD.gn index 60c9f87ab958671b047900348c0617e1149b2109..3bcfb9fd15f3dc1166be1df5bba4bbd222d73886 100644 --- a/testsuites/unittest/sys/BUILD.gn +++ b/testsuites/unittest/sys/BUILD.gn @@ -72,6 +72,7 @@ source_set("sources_smoke") { "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" ] } @@ -79,6 +80,7 @@ source_set("sources_smoke") { source_set("sources_other") { sources = [ ] + configs += [ "..:local_public_config" ] include_dirs = common_include_dirs deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } diff --git a/testsuites/unittest/time/clock/BUILD.gn b/testsuites/unittest/time/clock/BUILD.gn index 5895738dbe7b1e48a715d2e4fafcd5cf6c36a1c5..dcf57513585446bce3bc0ba734af3cbe694be52e 100644 --- a/testsuites/unittest/time/clock/BUILD.gn +++ b/testsuites/unittest/time/clock/BUILD.gn @@ -54,6 +54,7 @@ source_set("sources_smoke") { "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" ] } @@ -62,6 +63,7 @@ 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" ] } diff --git a/testsuites/unittest/time/timer/BUILD.gn b/testsuites/unittest/time/timer/BUILD.gn index 7bf06d328cb212667a3c9a5f33527db14406cbba..8298988eb0b0597948dfed4946f54788ae8e9382 100644 --- a/testsuites/unittest/time/timer/BUILD.gn +++ b/testsuites/unittest/time/timer/BUILD.gn @@ -50,6 +50,7 @@ source_set("sources_smoke") { "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" ] } @@ -57,6 +58,7 @@ source_set("sources_smoke") { source_set("sources_other") { sources = [ ] + configs += [ "../..:local_public_config" ] include_dirs = common_include_dirs deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } diff --git a/testsuites/unittest/util/BUILD.gn b/testsuites/unittest/util/BUILD.gn index 964f0bb25f3524d08c7b51e8a26626e4f4f8febc..f4ec69a650552e305e3b2aa8e21bc784fcf567ec 100644 --- a/testsuites/unittest/util/BUILD.gn +++ b/testsuites/unittest/util/BUILD.gn @@ -55,6 +55,7 @@ source_set("sources_smoke") { "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" ] } @@ -62,6 +63,7 @@ source_set("sources_smoke") { source_set("sources_other") { sources = [ ] + configs += [ "..:local_public_config" ] include_dirs = common_include_dirs deps = [ "//third_party/bounds_checking_function:libsec_shared" ] }