/kernel/liteos_a/testsuites/unittest/process/basic/process/full/ |
D | process_test_059.cpp | 43 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrDef() 46 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrDef() 49 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrDef() 53 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrDef() 56 ICUNIT_GOTO_EQUAL(ret, 1, ret, EXIT); in TestSpawnAttrDef() 58 EXIT: in TestSpawnAttrDef() 69 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrMask() 72 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrMask() 75 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrMask() 79 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrMask() [all …]
|
D | process_test_058.cpp | 43 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrDef() 46 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrDef() 49 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrDef() 53 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrDef() 56 ICUNIT_GOTO_EQUAL(ret, 1, ret, EXIT); in TestSpawnAttrDef() 58 EXIT: in TestSpawnAttrDef() 69 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrMask() 72 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrMask() 75 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrMask() 79 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrMask() [all …]
|
D | process_test_066.cpp | 43 ICUNIT_GOTO_EQUAL(val, 0, val, EXIT); in TestSpawnAttrGroup() 47 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrGroup() 52 ICUNIT_GOTO_EQUAL(val, pid, val, EXIT); in TestSpawnAttrGroup() 54 EXIT: in TestSpawnAttrGroup() 64 ICUNIT_GOTO_EQUAL(val.sched_priority, 0, ret, EXIT); in TestSpawnAttrPrio() 68 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrPrio() 71 ICUNIT_GOTO_EQUAL(val1.sched_priority, HIGH_PRIORITY, ret, EXIT); in TestSpawnAttrPrio() 74 EXIT: in TestSpawnAttrPrio() 84 ICUNIT_GOTO_EQUAL(val, 0, val, EXIT); in TestSpawnAttrPol() 88 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrPol() [all …]
|
D | process_test_067.cpp | 43 ICUNIT_GOTO_EQUAL(val, 0, val, EXIT); in TestSpawnAttrGroup() 47 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrGroup() 52 ICUNIT_GOTO_EQUAL(val, pid, val, EXIT); in TestSpawnAttrGroup() 54 EXIT: in TestSpawnAttrGroup() 64 ICUNIT_GOTO_EQUAL(val.sched_priority, 0, ret, EXIT); in TestSpawnAttrPrio() 68 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrPrio() 71 ICUNIT_GOTO_EQUAL(val1.sched_priority, HIGH_PRIORITY, ret, EXIT); in TestSpawnAttrPrio() 74 EXIT: in TestSpawnAttrPrio() 84 ICUNIT_GOTO_EQUAL(val, 0, val, EXIT); in TestSpawnAttrPol() 88 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrPol() [all …]
|
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/full/ |
D | pthread_test_004.cpp | 44 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in ThreadFunc8() 47 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in ThreadFunc8() 50 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in ThreadFunc8() 52 EXIT: in ThreadFunc8() 66 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in ThreadFunc7() 69 ICUNIT_GOTO_EQUAL(ret, 0, -ret, EXIT); in ThreadFunc7() 78 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in ThreadFunc7() 81 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in ThreadFunc7() 84 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in ThreadFunc7() 87 EXIT: in ThreadFunc7() [all …]
|
D | pthread_test_002.cpp | 71 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in ThreadFuncTest2() 76 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in ThreadFuncTest2() 78 ICUNIT_GOTO_EQUAL(threadPolicy, SCHED_FIFO, threadPolicy, EXIT); in ThreadFuncTest2() 79 ICUNIT_GOTO_EQUAL(param.sched_priority, (g_currThreadPri + 1), param.sched_priority, EXIT); in ThreadFuncTest2() 83 ICUNIT_GOTO_EQUAL(g_testCnt1, old, g_testCnt1, EXIT); in ThreadFuncTest2() 87 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in ThreadFuncTest2() 92 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in ThreadFuncTest2() 94 ICUNIT_GOTO_EQUAL(threadPolicy, SCHED_RR, threadPolicy, EXIT); in ThreadFuncTest2() 95 ICUNIT_GOTO_EQUAL(param.sched_priority, g_currThreadPri, param.sched_priority, EXIT); in ThreadFuncTest2() 99 ICUNIT_GOTO_EQUAL(g_testCnt1, old, g_testCnt1, EXIT); in ThreadFuncTest2() [all …]
|
/kernel/liteos_a/testsuites/unittest/libc/posix/mqueue/full/ |
D | It_posix_queue_206.cpp | 45 ICUNIT_GOTO_NOT_EQUAL(mqueue, (mqd_t)-1, mqueue, EXIT); in Child() 50 ICUNIT_GOTO_EQUAL(ret, -1, ret, EXIT); in Child() 51 ICUNIT_GOTO_EQUAL(errno, EINVAL, errno, EXIT); in Child() 56 ICUNIT_GOTO_EQUAL(ret, -1, ret, EXIT); in Child() 57 ICUNIT_GOTO_EQUAL(errno, ENOTSUP, errno, EXIT); in Child() 62 ICUNIT_GOTO_EQUAL(ret, -1, ret, EXIT); in Child() 63 ICUNIT_GOTO_EQUAL(errno, EBADF, errno, EXIT); in Child() 66 ICUNIT_GOTO_EQUAL(ret, MQUEUE_NO_ERROR, ret, EXIT); in Child() 69 ICUNIT_GOTO_WITHIN_EQUAL(pid, 0, 100000, pid, EXIT); // 100000, Valid range value of pid. in Child() 76 exit(8); // 8, Set a exit status. in Child() [all …]
|
D | It_posix_queue_209.cpp | 46 ICUNIT_GOTO_EQUAL(ret, MQUEUE_SHORT_ARRAY_LENGTH, ret, EXIT); in Pthread() 47 ICUNIT_GOTO_STRING_EQUAL(msgrcd, MQUEUE_SEND_STRING_TEST, msgrcd, EXIT); in Pthread() 50 EXIT: in Pthread() 62 ICUNIT_GOTO_EQUAL(ret, MQUEUE_SHORT_ARRAY_LENGTH, ret, EXIT); in SigUsr1() 63 ICUNIT_GOTO_STRING_EQUAL(msgrcd, g_mqueueMsessage[1], msgrcd, EXIT); in SigUsr1() 66 EXIT: in SigUsr1() 67 exit(255); // 255, Set a exit status. in SigUsr1() 85 ICUNIT_GOTO_NOT_EQUAL(g_mqueue, (mqd_t)-1, g_mqueue, EXIT); in Child() 96 ICUNIT_GOTO_EQUAL(ret, MQUEUE_NO_ERROR, ret, EXIT); in Child() 100 ICUNIT_GOTO_EQUAL(g_cnt, 1, g_cnt, EXIT); in Child() [all …]
|
D | It_posix_queue_208.cpp | 44 ICUNIT_GOTO_EQUAL(ret, MQUEUE_SHORT_ARRAY_LENGTH, ret, EXIT); in SigUsr1() 45 ICUNIT_GOTO_STRING_EQUAL(msgrcd, MQUEUE_SEND_STRING_TEST, msgrcd, EXIT); in SigUsr1() 48 EXIT: in SigUsr1() 49 exit(255); // 255, Set a exit status. in SigUsr1() 66 ICUNIT_GOTO_NOT_EQUAL(g_mqueue, (mqd_t)-1, g_mqueue, EXIT); in Child() 76 ICUNIT_GOTO_EQUAL(ret, MQUEUE_NO_ERROR, ret, EXIT); in Child() 81 ICUNIT_GOTO_EQUAL(g_signo, 0, g_signo, EXIT); in Child() 84 ICUNIT_GOTO_EQUAL(ret, MQUEUE_NO_ERROR, ret, EXIT); in Child() 87 ICUNIT_GOTO_EQUAL(ret, MQUEUE_NO_ERROR, ret, EXIT); in Child() 91 ICUNIT_GOTO_EQUAL(g_signo, 0, g_signo, EXIT); in Child() [all …]
|
/kernel/liteos_a/testsuites/unittest/process/basic/process/smoke/ |
D | process_test_021.cpp | 48 ICUNIT_GOTO_EQUAL(status, 3, status, EXIT); // 3, assert status equal to this. in ThreadFunc() 52 ICUNIT_GOTO_EQUAL(status, 4, status, EXIT); // 4, assert status equal to this. in ThreadFunc() 55 ICUNIT_GOTO_EQUAL(ret, -1, ret, EXIT); in ThreadFunc() 57 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in ThreadFunc() 60 EXIT: in ThreadFunc() 71 ICUNIT_GOTO_EQUAL(status, 3, status, EXIT); // 3, assert status equal to this. in ThreadFunc1() 75 ICUNIT_GOTO_EQUAL(status, 4, status, EXIT); // 4, assert status equal to this. in ThreadFunc1() 78 ICUNIT_GOTO_EQUAL(ret, -1, ret, EXIT); in ThreadFunc1() 80 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in ThreadFunc1() 83 EXIT: in ThreadFunc1() [all …]
|
D | process_test_038.cpp | 37 exit(255); // 255, exit args in Child1() 44 exit(255); // 255, exit args in Child2() 60 ICUNIT_GOTO_WITHIN_EQUAL(pid, 0, 100000, pid, EXIT); // 100000, assert pid equal to this. in ProcessGroup() 65 exit(g_iCunitErrLineNo); in ProcessGroup() 69 ICUNIT_GOTO_WITHIN_EQUAL(pid1, 0, 100000, pid1, EXIT); // 100000, assert pid equal to this. in ProcessGroup() 70 ICUNIT_GOTO_NOT_EQUAL(pid1, pid, pid1, EXIT); in ProcessGroup() 75 exit(g_iCunitErrLineNo); in ProcessGroup() 78 exit(255); // 255, exit args in ProcessGroup() 79 EXIT: in ProcessGroup() 93 ICUNIT_GOTO_WITHIN_EQUAL(pid, 0, 100000, pid, EXIT); // 100000, assert pid equal to this. in GroupProcess() [all …]
|
D | process_test_025.cpp | 48 EXIT: in ThreadFunc() 57 ICUNIT_GOTO_EQUAL(ret, g_backPid, ret, EXIT); in ThreadFunc2() 59 ICUNIT_GOTO_EQUAL(status, 3, status, EXIT); // 3, assert status equal to this. in ThreadFunc2() 66 EXIT: in ThreadFunc2() 82 ICUNIT_GOTO_WITHIN_EQUAL(pid, 0, 100000, pid, EXIT); // 100000, assert pid equal to this. in ProcessTest() 86 printf("child exit 1\n"); in ProcessTest() 87 exit(3); // 3, exit args in ProcessTest() 91 ICUNIT_GOTO_WITHIN_EQUAL(pid1, 0, 100000, pid, EXIT); // 100000, assert pid1 equal to this. in ProcessTest() 95 printf("child exit 2\n"); in ProcessTest() 96 exit(4); // 4, exit args in ProcessTest() [all …]
|
D | process_test_020.cpp | 44 ICUNIT_GOTO_EQUAL(status, 3, status, EXIT); // 3, assert status equal to this. in ThreadFunc() 47 ICUNIT_GOTO_EQUAL(status, 4, status, EXIT); // 4, assert status equal to this. in ThreadFunc() 49 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in ThreadFunc() 52 ICUNIT_GOTO_EQUAL(status, 3, status, EXIT); // 3, assert status equal to this. in ThreadFunc() 54 EXIT: in ThreadFunc() 68 ICUNIT_GOTO_WITHIN_EQUAL(pid, 0, 100000, pid, EXIT); // 100000, assert pid equal to this. in ProcessTest() 77 exit(3); // 3, exit args in ProcessTest() 81 ICUNIT_GOTO_WITHIN_EQUAL(pid1, 0, 100000, pid, EXIT); // 100000, assert pid1 equal to this. in ProcessTest() 88 exit(4); // 4, exit args in ProcessTest() 99 ICUNIT_GOTO_EQUAL(status, 3, status, EXIT); // 3, assert status equal to this. in ProcessTest() [all …]
|
D | process_test_005.cpp | 40 exit(12); // 12, exit args in ProcessTest002() 48 exit(12); // 12, exit args in ProcessTest002() 56 exit(12); // 12, exit args in ProcessTest002() 64 exit(12); // 12, exit args in ProcessTest002() 72 exit(12); // 12, exit args in ProcessTest002() 80 exit(12); // 12, exit args in ProcessTest002() 88 exit(12); // 12, exit args in ProcessTest002() 96 exit(12); // 12, exit args in ProcessTest002() 104 exit(12); // 12, exit args in ProcessTest002() 112 exit(8); // 8, exit args in ProcessTest002() [all …]
|
D | process_test_019.cpp | 43 ICUNIT_GOTO_EQUAL(ret, g_waitPid, ret, EXIT); in ThreadFunc() 45 ICUNIT_GOTO_EQUAL(status, 3, status, EXIT); // 3, assert that function Result is equal to this. in ThreadFunc() 47 EXIT: in ThreadFunc() 60 ICUNIT_GOTO_WITHIN_EQUAL(pid, 0, 100000, pid, EXIT); // 100000, assert pid equal to this. in ProcessTest() 66 exit(3); // 3, exit args in ProcessTest() 71 ICUNIT_GOTO_WITHIN_EQUAL(pid1, 0, 100000, pid, EXIT); // 100000, assert pid1 equal to this. in ProcessTest() 77 exit(4); // 4, exit args in ProcessTest() 86 ICUNIT_GOTO_EQUAL(ret, pid1, ret, EXIT); in ProcessTest() 88 ICUNIT_GOTO_EQUAL(status, 4, status, EXIT); // 4, assert status equal to this. in ProcessTest() 93 exit(255); // 255, exit args in ProcessTest() [all …]
|
D | process_test_018.cpp | 43 ICUNIT_GOTO_EQUAL(ret, g_waitPid, ret, EXIT); in ThreadFunc() 45 ICUNIT_GOTO_EQUAL(status, 3, status, EXIT); // 3, assert status equal to this. in ThreadFunc() 47 EXIT: in ThreadFunc() 63 ICUNIT_GOTO_WITHIN_EQUAL(pid, 0, 100000, pid, EXIT); // 100000, assert pid equal to this. in ProcessTest() 71 exit(3); // 3, exit args in ProcessTest() 79 ICUNIT_GOTO_WITHIN_EQUAL(pid1, 0, 100000, pid, EXIT); // 100000, assert pid1 equal to this. in ProcessTest() 85 exit(4); // 4, exit args in ProcessTest() 89 ICUNIT_GOTO_EQUAL(ret, pid1, ret, EXIT); in ProcessTest() 91 ICUNIT_GOTO_EQUAL(status, 4, status, EXIT); // 4, assert status equal to this. in ProcessTest() 96 exit(255); // 255, exit args in ProcessTest() [all …]
|
D | process_test_024.cpp | 48 EXIT: in ThreadFunc() 61 EXIT: in ThreadFunc2() 77 ICUNIT_GOTO_WITHIN_EQUAL(pid, 0, 100000, pid, EXIT); // 100000, assert pid equal to this. in ProcessTest() 81 exit(3); // 3, exit args in ProcessTest() 85 ICUNIT_GOTO_WITHIN_EQUAL(pid1, 0, 100000, pid, EXIT); // 100000, assert pid1 equal to this. in ProcessTest() 89 exit(4); // 4, exit args in ProcessTest() 93 ICUNIT_GOTO_WITHIN_EQUAL(pid2, 0, 100000, pid, EXIT); // 100000, assert pid2 equal to this. in ProcessTest() 96 exit(4); // 4, exit args in ProcessTest() 123 exit(255); // 255, exit args in ProcessTest() 124 EXIT: in ProcessTest() [all …]
|
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/smoke/ |
D | pthread_test_011.cpp | 50 exit(255); // 255, set a special exit code. in child1() 56 exit(255); // 255, set a special exit code. in child1() 62 exit(0); in child1() 86 exit(1); in child() 91 exit(1); in child() 96 exit(1); in child() 101 exit(1); in child() 106 exit(1); in child() 111 exit(1); in child() 116 exit(1); in child() [all …]
|
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/ |
D | It_posix_pthread_053.cpp | 41 ICUNIT_GOTO_EQUAL(g_testCount, 0, g_testCount, EXIT); in pthread_f01() 45 ICUNIT_GOTO_EQUAL(result, NULL, result, EXIT); in pthread_f01() 48 ICUNIT_GOTO_EQUAL(result, NULL, result, EXIT); in pthread_f01() 51 ICUNIT_GOTO_EQUAL(result, NULL, result, EXIT); in pthread_f01() 54 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in pthread_f01() 57 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in pthread_f01() 60 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in pthread_f01() 63 ICUNIT_GOTO_EQUAL(ret, 200, ret, EXIT); in pthread_f01() 66 ICUNIT_GOTO_EQUAL(ret, 20000, ret, EXIT); in pthread_f01() 69 ICUNIT_GOTO_STRING_EQUAL((char *)result, "1234567890", (char *)result, EXIT); in pthread_f01() [all …]
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | vmxfeatures.h | 17 #define VMX_FEATURE_INTR_EXITING ( 0*32+ 0) /* "" VM-Exit on vectored interrupts */ 18 #define VMX_FEATURE_NMI_EXITING ( 0*32+ 3) /* "" VM-Exit on NMIs */ 37 #define VMX_FEATURE_INTR_WINDOW_EXITING ( 1*32+ 2) /* "" VM-Exit if INTRs are unblocked in guest */ 39 #define VMX_FEATURE_HLT_EXITING ( 1*32+ 7) /* "" VM-Exit on HLT */ 40 #define VMX_FEATURE_INVLPG_EXITING ( 1*32+ 9) /* "" VM-Exit on INVLPG */ 41 #define VMX_FEATURE_MWAIT_EXITING ( 1*32+ 10) /* "" VM-Exit on MWAIT */ 42 #define VMX_FEATURE_RDPMC_EXITING ( 1*32+ 11) /* "" VM-Exit on RDPMC */ 43 #define VMX_FEATURE_RDTSC_EXITING ( 1*32+ 12) /* "" VM-Exit on RDTSC */ 44 #define VMX_FEATURE_CR3_LOAD_EXITING ( 1*32+ 15) /* "" VM-Exit on writes to CR3 */ 45 #define VMX_FEATURE_CR3_STORE_EXITING ( 1*32+ 16) /* "" VM-Exit on reads from CR3 */ [all …]
|
/kernel/liteos_a/testsuites/unittest/extended/signal/full/ |
D | signal_test_020.cpp | 57 exit(retValue); in TestSigSuspend() 67 exit(retValue); in TestSigSuspend() 71 exit(retValue); in TestSigSuspend() 75 exit(retValue); in TestSigSuspend() 82 exit(retValue); in TestSigSuspend() 86 exit(retValue); in TestSigSuspend() 90 exit(retValue); in TestSigSuspend() 97 exit(retValue); in TestSigSuspend() 101 exit(retValue); in TestSigSuspend() 106 exit(retValue); in TestSigSuspend() [all …]
|
/kernel/liteos_m/testsuites/sample/kernel/swtmr/ |
D | It_los_swtmr_072.c | 60 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 63 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_SWTMR_NOT_STARTED, ret, EXIT); in Testcase() 67 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_SWTMR_NOT_STARTED, ret, EXIT); in Testcase() 70 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 76 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 79 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 80 ICUNIT_GOTO_EQUAL(tick, TIMER_LOS_EXPIRATION3 - delayTime - 1, tick, EXIT); in Testcase() 83 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 86 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_SWTMR_NOT_STARTED, ret, EXIT); in Testcase() 89 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() [all …]
|
D | It_los_swtmr_071.c | 60 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 63 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_SWTMR_NOT_STARTED, ret, EXIT); in Testcase() 67 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_SWTMR_NOT_STARTED, ret, EXIT); in Testcase() 70 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 76 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 79 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 80 ICUNIT_GOTO_EQUAL(tick, TIMER_LOS_EXPIRATION3 - delayTime - 1, tick, EXIT); in Testcase() 83 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 86 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_SWTMR_NOT_STARTED, ret, EXIT); in Testcase() 89 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() [all …]
|
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/ipc/queue/smoke/ |
D | It_los_queue_105.c | 50 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 53 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 56 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in Testcase() 58 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 61 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_QUEUE_WRITE_SIZE_TOO_BIG, ret, EXIT); in Testcase() 64 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in Testcase() 66 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_QUEUE_ISEMPTY, ret, EXIT); in Testcase() 69 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 72 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in Testcase() 74 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() [all …]
|
/kernel/liteos_m/testsuites/sample/kernel/queue/ |
D | It_los_queue_head_040.c | 43 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in ItQueueHead040F01() 47 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in ItQueueHead040F01() 50 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in ItQueueHead040F01() 53 EXIT: in ItQueueHead040F01() 71 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 74 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_QUEUE_NOT_FOUND, ret, EXIT); in Testcase() 79 ICUNIT_GOTO_EQUAL(g_testCount, 1, g_testCount, EXIT); in Testcase() 82 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_QUEUE_IN_TSKUSE, ret, EXIT); in Testcase() 85 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 87 ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // Compare wiht the expected value 2. in Testcase() [all …]
|