提交 fbe98af9 编写于 作者: L lnlan

fixed that LOSCFG_USER_TEST_SMP is unuseful

Change-Id: Ib6bd11fbeaac88e69de663a7a3f2d01ac1fe9042
上级 fa273ca8
......@@ -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
}
......
......@@ -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" ]
}
......
......@@ -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" ]
}
......
......@@ -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
......
......@@ -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" ]
}
......
......@@ -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" ]
}
......
......@@ -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" ]
}
......
......@@ -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" ]
}
......
......@@ -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" ]
}
......
......@@ -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" ]
}
......
......@@ -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" ]
}
......
......@@ -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" ]
}
......
......@@ -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" ]
}
......
......@@ -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" ]
}
......
......@@ -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" ]
}
......
......@@ -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" ]
}
......
......@@ -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" ]
}
......
......@@ -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" ]
}
......
......@@ -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" ]
}
......
......@@ -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" ]
}
......
......@@ -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" ]
}
......
......@@ -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" ]
}
......
......@@ -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" ]
}
......
......@@ -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" ]
}
......
......@@ -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" ]
}
......
......@@ -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" ]
}
......
......@@ -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" ]
}
......
......@@ -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" ]
}
......
......@@ -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" ]
}
......
......@@ -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" ]
}
......
......@@ -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" ]
}
......
......@@ -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" ]
}
......
......@@ -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" ]
}
......
......@@ -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" ]
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册