fixed the textsuite

Change-Id: Idb93d3cf8d236a3b7f13d95d08255208c04706dd
This commit is contained in:
x_xiny 2021-05-18 19:11:26 +08:00
parent d632356413
commit 8c8a0b398d
38 changed files with 335 additions and 328 deletions

View File

@ -46,6 +46,7 @@ config("local_public_config") {
"-O2",
"-fbuiltin",
"-Wno-narrowing",
"-fPIE",
]
cflags += local_flags
cflags_cc = cflags
@ -57,6 +58,7 @@ config("public_config_smk") {
"-O2",
"-fbuiltin",
"-Wno-narrowing",
"-fPIE",
]
cflags += local_flags_smoke
cflags += local_flags
@ -69,6 +71,7 @@ config("public_config_full") {
"-O2",
"-fbuiltin",
"-Wno-narrowing",
"-fPIE",
]
cflags += local_flags_full
cflags += local_flags

View File

@ -43,66 +43,31 @@ sources_entry = [
source_set("sources_smoke") {
sources = [
"smoke/It_ipc_fdclr_001.cpp",
"smoke/It_ipc_fdisset_001.cpp",
"smoke/It_ipc_fdset_001.cpp",
"smoke/It_ipc_fdzero_001.cpp",
"smoke/It_ipc_mkfifo_002.cpp",
"smoke/It_ipc_mkfifo_003.cpp",
"smoke/It_ipc_pipe_002.cpp",
"smoke/It_ipc_pipe_003.cpp",
"smoke/It_ipc_pipe_004.cpp",
"smoke/It_ipc_pipe_005.cpp",
"smoke/It_ipc_sigaction_001.cpp",
"smoke/It_ipc_sigpause_001.cpp",
"smoke/It_ipc_sigprocmask_001.cpp",
"smoke/mkfifo_test_001.cpp",
"smoke/mkfifo_test_002.cpp",
"smoke/pipe_test_001.cpp",
"smoke/pipe_test_002.cpp",
"smoke/pipe_test_003.cpp",
"smoke/pipe_test_004.cpp",
"smoke/pipe_test_005.cpp",
"smoke/pipe_test_006.cpp",
"smoke/signal_test_001.cpp",
"smoke/signal_test_002.cpp",
"smoke/signal_test_003.cpp",
"smoke/signal_test_004.cpp",
"smoke/signal_test_005.cpp",
"smoke/signal_test_006.cpp",
"smoke/signal_test_007.cpp",
"smoke/signal_test_008.cpp",
"smoke/signal_test_009.cpp",
"smoke/signal_test_010.cpp",
"smoke/signal_test_011.cpp",
"smoke/signal_test_012.cpp",
"smoke/signal_test_013.cpp",
"smoke/signal_test_014.cpp",
"smoke/signal_test_015.cpp",
"smoke/signal_test_016.cpp",
"smoke/signal_test_017.cpp",
"smoke/signal_test_018.cpp",
"smoke/signal_test_019.cpp",
"smoke/signal_test_020.cpp",
"smoke/signal_test_021.cpp",
"smoke/signal_test_022.cpp",
"smoke/signal_test_023.cpp",
"smoke/signal_test_024.cpp",
"smoke/signal_test_025.cpp",
"smoke/signal_test_026.cpp",
"smoke/signal_test_028.cpp",
"smoke/signal_test_029.cpp",
"smoke/signal_test_030.cpp",
"smoke/signal_test_031.cpp",
"smoke/signal_test_032.cpp",
"smoke/signal_test_033.cpp",
"smoke/signal_test_035.cpp",
"smoke/signal_test_036.cpp",
"smoke/signal_test_037.cpp",
"smoke/signal_test_038.cpp",
"smoke/signal_test_039.cpp",
"smoke/signal_test_040.cpp",
"smoke/signal_test_041.cpp",
"smoke/signal_test_042.cpp",
"smoke/sigset_test_001.cpp",
"smoke/sigset_test_002.cpp",
@ -114,6 +79,42 @@ source_set("sources_smoke") {
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",
]
configs += [ "..:local_public_config" ]
include_dirs = common_include_dirs

View File

@ -41,17 +41,6 @@ public:
};
#if defined(LOSCFG_USER_TEST_SMOKE)
/* *
* @tc.name: IT_POSIX_SIGNAL_001
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixSignal001, TestSize.Level0)
{
ItPosixSignal001();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_002
* @tc.desc: function for SignalTest
@ -63,6 +52,295 @@ HWTEST_F(SignalTest, ItPosixSignal002, TestSize.Level0)
ItPosixSignal002();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_009
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixSignal009, TestSize.Level0)
{
ItPosixSignal009();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_013
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixSignal013, TestSize.Level0)
{
ItPosixSignal013();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_014
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixSignal014, TestSize.Level0)
{
ItPosixSignal014();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_021
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixSignal021, TestSize.Level0)
{
ItPosixSignal021();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_022
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixSignal022, TestSize.Level0)
{
ItPosixSignal022();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_023
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixSignal023, TestSize.Level0)
{
ItPosixSignal023();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_024
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixSignal024, TestSize.Level0)
{
ItPosixSignal024();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_031
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixSignal031, TestSize.Level0)
{
ItPosixSignal031();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_032
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixSignal032, TestSize.Level0)
{
ItPosixSignal032();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_035
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixSignal035, TestSize.Level0)
{
ItPosixSignal035();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_036
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixSignal036, TestSize.Level0)
{
ItPosixSignal036();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_037
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixSignal037, TestSize.Level0)
{
ItPosixSignal037();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_039
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixSignal039, TestSize.Level0)
{
ItPosixSignal039();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_042
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixSignal042, TestSize.Level0)
{
ItPosixSignal042();
}
/* *
* @tc.name: ItPosixPipe002
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixPipe002, TestSize.Level0)
{
ItPosixPipe002();
}
/* *
* @tc.name: ItPosixPipe005
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixPipe005, TestSize.Level0)
{
ItPosixPipe005();
}
/* *
* @tc.name: ItPosixPipe006
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixPipe006, TestSize.Level0)
{
ItPosixPipe006();
}
/* *
* @tc.name: ItPosixMkfifo002
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixMkfifo002, TestSize.Level0)
{
ItPosixMkfifo002();
}
/* *
* @tc.name: IT_IPC_FD_ISSET_001
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItIpcFdIsset001, TestSize.Level0)
{
ItIpcFdIsset001();
}
#endif
#if defined(LOSCFG_USER_TEST_FULL)
/* *
* @tc.name: IT_IPC_FD_CLR_001
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItIpcFdClr001, TestSize.Level0)
{
ItIpcFdClr001();
}
/* *
* @tc.name: IT_IPC_FD_SET_001
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItIpcFdSet001, TestSize.Level0)
{
ItIpcFdSet001();
}
/* *
* @tc.name: IT_IPC_FD_ZERO_001
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItIpcFdZero001, TestSize.Level0)
{
ItIpcFdZero001();
}
/*
* @tc.name: IT_IPC_SIGACTION_001^M
* @tc.desc: function for SignalTest^M
* @tc.type: FUNC^M
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItIpcSigaction001, TestSize.Level0)
{
ItIpcSigaction001();
}
/* *
* @tc.name: IT_IPC_SIGPAUSE_001
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItIpcSigpause001, TestSize.Level0)
{
ItIpcSigpause001();
}
/* *
* @tc.name: IT_IPC_SIGPROMASK_001
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItIpcSigpromask001, TestSize.Level0)
{
ItIpcSigpromask001();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_001
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixSignal001, TestSize.Level0)
{
ItPosixSignal001();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_003
* @tc.desc: function for SignalTest
@ -129,17 +407,6 @@ HWTEST_F(SignalTest, ItPosixSignal008, TestSize.Level0)
ItPosixSignal008();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_009
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixSignal009, TestSize.Level0)
{
ItPosixSignal009();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_010
* @tc.desc: function for SignalTest
@ -173,28 +440,6 @@ HWTEST_F(SignalTest, ItPosixSignal012, TestSize.Level0)
ItPosixSignal012();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_013
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixSignal013, TestSize.Level0)
{
ItPosixSignal013();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_014
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixSignal014, TestSize.Level0)
{
ItPosixSignal014();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_015
* @tc.desc: function for SignalTest
@ -261,50 +506,6 @@ HWTEST_F(SignalTest, ItPosixSignal020, TestSize.Level0)
ItPosixSignal020();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_021
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixSignal021, TestSize.Level0)
{
ItPosixSignal021();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_022
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixSignal022, TestSize.Level0)
{
ItPosixSignal022();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_023
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixSignal023, TestSize.Level0)
{
ItPosixSignal023();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_024
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixSignal024, TestSize.Level0)
{
ItPosixSignal024();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_025
* @tc.desc: function for SignalTest
@ -360,28 +561,6 @@ HWTEST_F(SignalTest, ItPosixSignal030, TestSize.Level0)
ItPosixSignal030();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_031
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixSignal031, TestSize.Level0)
{
ItPosixSignal031();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_032
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixSignal032, TestSize.Level0)
{
ItPosixSignal032();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_033
* @tc.desc: function for SignalTest
@ -393,39 +572,6 @@ HWTEST_F(SignalTest, ItPosixSignal033, TestSize.Level0)
ItPosixSignal033();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_035
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixSignal035, TestSize.Level0)
{
ItPosixSignal035();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_036
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixSignal036, TestSize.Level0)
{
ItPosixSignal036();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_037
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixSignal037, TestSize.Level0)
{
ItPosixSignal037();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_038
* @tc.desc: function for SignalTest
@ -437,17 +583,6 @@ HWTEST_F(SignalTest, ItPosixSignal038, TestSize.Level0)
ItPosixSignal038();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_039
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixSignal039, TestSize.Level0)
{
ItPosixSignal039();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_040
* @tc.desc: function for SignalTest
@ -470,127 +605,6 @@ HWTEST_F(SignalTest, ItPosixSignal041, TestSize.Level0)
ItPosixSignal041();
}
/* *
* @tc.name: IT_POSIX_SIGNAL_042
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixSignal042, TestSize.Level0)
{
ItPosixSignal042();
}
/* *
* @tc.name: ItPosixPipe001
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixPipe001, TestSize.Level0)
{
ItPosixPipe001();
}
/* *
* @tc.name: ItPosixPipe002
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixPipe002, TestSize.Level0)
{
ItPosixPipe002();
}
/* *
* @tc.name: ItPosixPipe003
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixPipe003, TestSize.Level0)
{
ItPosixPipe003();
}
/* *
* @tc.name: ItPosixPipe005
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixPipe005, TestSize.Level0)
{
ItPosixPipe005();
}
/* *
* @tc.name: ItPosixPipe006
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixPipe006, TestSize.Level0)
{
ItPosixPipe006();
}
/* *
* @tc.name: ItPosixMkfifo002
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixMkfifo002, TestSize.Level0)
{
ItPosixMkfifo002();
}
/* *
* @tc.name: IT_IPC_FD_CLR_001
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItIpcFdClr001, TestSize.Level0)
{
ItIpcFdClr001();
}
/* *
* @tc.name: IT_IPC_FD_ISSET_001
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItIpcFdIsset001, TestSize.Level0)
{
ItIpcFdIsset001();
}
/* *
* @tc.name: IT_IPC_FD_SET_001
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItIpcFdSet001, TestSize.Level0)
{
ItIpcFdSet001();
}
/* *
* @tc.name: IT_IPC_FD_ZERO_001
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItIpcFdZero001, TestSize.Level0)
{
ItIpcFdZero001();
}
/* *
* @tc.name: IT_IPC_PIPE_002
* @tc.desc: function for SignalTest
@ -613,38 +627,27 @@ HWTEST_F(SignalTest, ItIpcPipe003, TestSize.Level0)
ItIpcPipe003();
}
/*
* @tc.name: IT_IPC_SIGACTION_001^M
* @tc.desc: function for SignalTest^M
* @tc.type: FUNC^M
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItIpcSigaction001, TestSize.Level0)
{
ItIpcSigaction001();
}
/* *
* @tc.name: IT_IPC_SIGPAUSE_001
* @tc.name: ItPosixPipe001
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItIpcSigpause001, TestSize.Level0)
HWTEST_F(SignalTest, ItPosixPipe001, TestSize.Level0)
{
ItIpcSigpause001();
ItPosixPipe001();
}
/* *
* @tc.name: IT_IPC_SIGPROMASK_001
* @tc.name: ItPosixPipe003
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItIpcSigpromask001, TestSize.Level0)
HWTEST_F(SignalTest, ItPosixPipe003, TestSize.Level0)
{
ItIpcSigpromask001();
ItPosixPipe003();
}
#endif
} // namespace OHOS