Home
last modified time | relevance | path

Searched refs:g_testCnt (Results 1 - 8 of 8) sorted by relevance

/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/
H A DIt_posix_pthread_095.c40 static int g_testCnt; variable
48 ICUNIT_GOTO_EQUAL(g_testCnt, 2, g_testCnt, EXIT); // 2, here assert the result. in PthreadF02()
49 g_testCnt++; in PthreadF02()
56 ICUNIT_GOTO_EQUAL(g_testCnt, 5, g_testCnt, EXIT); // 5, here assert the result. in PthreadF02()
57 g_testCnt++; in PthreadF02()
69 ICUNIT_GOTO_EQUAL(g_testCnt, 1, g_testCnt, EXIT); in PthreadF01()
70 g_testCnt in PthreadF01()
[all...]
H A DIt_posix_pthread_124.c40 static int g_testCnt; variable
45 PRINTK("Passed argument for thread: %d, g_testCnt = %d\n", (int)i, g_testCnt); in PthreadF01()
46 ICUNIT_TRACK_EQUAL(g_testCnt, i, g_testCnt); in PthreadF01()
47 g_testCnt++; in PthreadF01()
60 g_testCnt = 1; in Testcase()
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/full/
H A Dpthread_test_014.cpp35 static int g_testCnt = 0; variable
39 while (g_testCnt < TEST_LOOP) { in ThreadFunc()
40 if (g_testCnt != count) { in ThreadFunc()
41 printf("%s %d g_testCnt should : %d but is : %d\n", __FUNCTION__, __LINE__, count, g_testCnt); in ThreadFunc()
44 g_testCnt++; in ThreadFunc()
49 g_testCnt = TEST_LOOP + 1000; // 1000, here set a special num. in ThreadFunc()
56 while (g_testCnt < TEST_LOOP) { in ThreadFunc1()
57 if (g_testCnt != count) { in ThreadFunc1()
58 printf("%s %d g_testCnt shoul in ThreadFunc1()
[all...]
/kernel/liteos_m/testsuites/sample/posix/pthread/
H A DIt_posix_pthread_017.c33 static int g_testCnt; variable
38 PRINTK("Passed argument for thread: %d, g_testCnt = %d\n", (int)i, g_testCnt); in PthreadF01()
39 ICUNIT_TRACK_EQUAL(g_testCnt, i, g_testCnt); in PthreadF01()
40 g_testCnt++; in PthreadF01()
51 g_testCnt = 1; in Testcase()
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/smoke/
H A Dpthread_test_018.cpp34 static int g_testCnt = 0; variable
51 g_testCnt++; in PthreadTest115()
68 g_testCnt = 0; in GroupProcess()
87 ICUNIT_ASSERT_EQUAL(g_testCnt, 1, g_testCnt); in GroupProcess()
111 ICUNIT_ASSERT_EQUAL(g_testCnt, 2, g_testCnt); // 2, here, assert the result. in GroupProcess()
H A Dpthread_test_019.cpp34 static int g_testCnt = 0; variable
51 g_testCnt++; in PthreadTest115()
69 g_testCnt = 0; in GroupProcess()
/kernel/liteos_a/testsuites/unittest/process/lock/mutex/smoke/
H A Dpthread_mutex_test_003.cpp36 static int g_testCnt = 0; variable
48 g_testCnt++; in ThreadFuncTest3()
64 g_testCnt--; in ThreadFuncTest3()
83 g_testCnt = 0; in Testcase()
145 ICUNIT_ASSERT_EQUAL(g_testCnt, 0, g_testCnt); in Testcase()
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/
H A DIt_posix_pthread_092.cpp34 static int g_testCnt; variable
68 g_testCnt++; in pthread_f02()
96 g_testCnt = 0; in Testcase()
103 ICUNIT_ASSERT_EQUAL(g_testCnt, THREAD_COUNT, g_testCnt); in Testcase()

Completed in 4 milliseconds