Home
last modified time | relevance | path

Searched refs:testcase (Results 1 - 25 of 55) sorted by relevance

123

/kernel/linux/linux-6.6/tools/testing/selftests/kvm/x86_64/
H A Dmonitor_mwait_test.c23 #define GUEST_ASSERT_MONITOR_MWAIT(insn, testcase, vector) \
25 bool fault_wanted = ((testcase) & MWAIT_QUIRK_DISABLED) && \
26 ((testcase) & MWAIT_DISABLED); \
30 "Expected #UD on " insn " for testcase '0x%x', got '0x%x'", vector); \
33 "Expected success on " insn " for testcase '0x%x', got '0x%x'", vector); \
36 static void guest_monitor_wait(int testcase) in guest_monitor_wait() argument
40 GUEST_SYNC(testcase); in guest_monitor_wait()
47 GUEST_ASSERT_MONITOR_MWAIT("MONITOR", testcase, vector); in guest_monitor_wait()
50 GUEST_ASSERT_MONITOR_MWAIT("MWAIT", testcase, vector); in guest_monitor_wait()
74 int testcase; in main() local
[all...]
/kernel/linux/linux-6.6/fs/fat/
H A Dfat_test.c135 struct fat_timestamp_testcase *testcase = in fat_time_fat2unix_test() local
139 fake_sb.options.time_offset = testcase->time_offset; in fat_time_fat2unix_test()
142 testcase->time, in fat_time_fat2unix_test()
143 testcase->date, in fat_time_fat2unix_test()
144 testcase->cs); in fat_time_fat2unix_test()
146 testcase->ts.tv_sec, in fat_time_fat2unix_test()
150 testcase->ts.tv_nsec, in fat_time_fat2unix_test()
160 struct fat_timestamp_testcase *testcase = in fat_time_unix2fat_test() local
164 fake_sb.options.time_offset = testcase->time_offset; in fat_time_unix2fat_test()
166 fat_time_unix2fat(&fake_sb, &testcase in fat_time_unix2fat_test()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
H A Dva_128TBswitch.c33 struct testcase { struct
42 static struct testcase testcases[] = {
167 static struct testcase hugetlb_testcases[] = {
231 static int run_test(struct testcase *test, int count) in run_test()
237 struct testcase *t = test + i; in run_test()
/kernel/linux/linux-6.6/tools/testing/selftests/mm/
H A Dva_high_addr_switch.c53 struct testcase { struct
62 static struct testcase testcases[] = {
188 static struct testcase hugetlb_testcases[] = {
252 static int run_test(struct testcase *test, int count) in run_test()
258 struct testcase *t = test + i; in run_test()
/kernel/liteos_a/testsuites/unittest/libc/io/full/
H A DIO_test_ngettext_001.cpp35 static UINT32 testcase(VOID) in testcase() function
56 TEST_ADD_CASE(__FUNCTION__, testcase, TEST_LIB, TEST_LIBC, TEST_LEVEL1, TEST_FUNCTION); in IO_TEST_NGETTEXT_001()
H A DIO_test_dcngettext_001.cpp35 static UINT32 testcase(VOID) in testcase() function
60 TEST_ADD_CASE(__FUNCTION__, testcase, TEST_LIB, TEST_LIBC, TEST_LEVEL1, TEST_FUNCTION); in IO_TEST_DCNGETTEXT_001()
H A DIO_test_gettext_001.cpp66 static UINT32 testcase(VOID) in testcase() function
75 TEST_ADD_CASE(__FUNCTION__, testcase, TEST_LIB, TEST_LIBC, TEST_LEVEL1, TEST_FUNCTION); in IO_TEST_GETTEXT_001()
H A DIO_test_dngettext_001.cpp35 static UINT32 testcase(VOID) in testcase() function
61 TEST_ADD_CASE(__FUNCTION__, testcase, TEST_LIB, TEST_LIBC, TEST_LEVEL1, TEST_FUNCTION); in IO_TEST_DNGETTEXT_001()
H A DIO_test_nl_langinfo_l_001.cpp34 static UINT32 testcase(VOID) { in testcase() function
68 TEST_ADD_CASE(__FUNCTION__, testcase, TEST_LIB, TEST_LIBC, TEST_LEVEL1, TEST_FUNCTION); in IO_TEST_NL_LANGINFO_l_001()
H A DIO_test_strcasecmp_l_001.cpp35 static UINT32 testcase(VOID) in testcase() function
52 TEST_ADD_CASE(__FUNCTION__, testcase, TEST_LIB, TEST_LIBC, TEST_LEVEL1, TEST_FUNCTION); in IO_TEST_STRCASECMP_L_001()
H A DIO_test_strncasecmp_l_001.cpp35 static UINT32 testcase(VOID) in testcase() function
53 TEST_ADD_CASE(__FUNCTION__, testcase, TEST_LIB, TEST_LIBC, TEST_LEVEL1, TEST_FUNCTION); in IO_TEST_STRNCASECMP_L_001()
H A DIO_test_strfmon_l_001.cpp35 static UINT32 testcase(VOID) in testcase() function
55 TEST_ADD_CASE(__FUNCTION__, testcase, TEST_LIB, TEST_LIBC, TEST_LEVEL1, TEST_FUNCTION); in IO_TEST_STRFMON_L_001()
H A DIO_test_dcgettext_001.cpp38 static UINT32 testcase(VOID) in testcase() function
74 TEST_ADD_CASE(__FUNCTION__, testcase, TEST_LIB, TEST_LIBC, TEST_LEVEL1, TEST_FUNCTION); in IO_TEST_DCGETTEXT_001()
H A DIO_test_locale_002.cpp35 static UINT32 testcase(VOID) in testcase() function
68 TEST_ADD_CASE(__FUNCTION__, testcase, TEST_LIB, TEST_LIBC, TEST_LEVEL1, TEST_FUNCTION); in IO_TEST_LOCALE_002()
H A DIO_test_locale_001.cpp35 static UINT32 testcase(VOID) in testcase() function
68 TEST_ADD_CASE(__FUNCTION__, testcase, TEST_LIB, TEST_LIBC, TEST_LEVEL1, TEST_FUNCTION); in IO_TEST_LOCALE_001()
H A DIO_test_confstr_001.cpp33 static UINT32 testcase(VOID) in testcase() function
82 TEST_ADD_CASE(__FUNCTION__, testcase, TEST_LIB, TEST_LIBC, TEST_LEVEL1, TEST_FUNCTION); in IO_TEST_CONFSTR_001()
H A DIO_test_strcasecmp_l_002.cpp70 static UINT32 testcase(VOID) in testcase() function
80 TEST_ADD_CASE(__FUNCTION__, testcase, TEST_LIB, TEST_LIBC, TEST_LEVEL1, TEST_FUNCTION); in IO_TEST_STRCASECMP_L_002()
/kernel/liteos_a/testsuites/unittest/libc/time/timer/smoke/
H A Dtimer_test_tzset_002.cpp39 static UINT32 testcase(VOID) in testcase() function
63 TEST_ADD_CASE(__FUNCTION__, testcase, TEST_POSIX, TEST_SWTMR, TEST_LEVEL0, TEST_FUNCTION); in TIME_TEST_TZSET_002()
H A Dtimer_test_tzset_001.cpp39 static UINT32 testcase(VOID) in testcase() function
63 TEST_ADD_CASE(__FUNCTION__, testcase, TEST_POSIX, TEST_SWTMR, TEST_LEVEL0, TEST_FUNCTION); in TIME_TEST_TZSET_001()
/kernel/liteos_a/testsuites/unittest/basic/mem/vm/smoke/
H A Dopen_wmemstream_test_001.cpp35 static int testcase(void) in testcase() function
63 TEST_ADD_CASE("OPEN_WMEMSTEAM_TEST_001", testcase, TEST_LOS, TEST_MEM, TEST_LEVEL0, TEST_FUNCTION); in open_wmemstream_test_001()
/kernel/liteos_a/testsuites/unittest/extended/ipc/full/
H A Dipc_test_mkfifoat_002.cpp63 static UINT32 testcase(VOID) in testcase() function
72 TEST_ADD_CASE(__FUNCTION__, testcase, TEST_LIB, TEST_LIBC, TEST_LEVEL1, TEST_FUNCTION); in IPC_TEST_MKFIFOAT_002()
H A Dipc_test_mkfifoat_001.cpp57 /* remove the pipe file created in order to ensure to run the testcase again. */ in testcase1()
71 static UINT32 testcase(VOID) in testcase() function
80 TEST_ADD_CASE(__FUNCTION__, testcase, TEST_LIB, TEST_LIBC, TEST_LEVEL1, TEST_FUNCTION); in IPC_TEST_MKFIFOAT_001()
/kernel/liteos_a/testsuites/unittest/basic/mem/shm/full/
H A Dshm_test_013.cpp34 static int testcase(void) in testcase() function
75 TEST_ADD_CASE("IT_MEM_SHM_013", testcase, TEST_LOS, TEST_MEM, TEST_LEVEL0, TEST_FUNCTION); in it_test_shm_013()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/stringloops/
H A Dmemcmp.c74 static int testcase(bool islarge) in testcase() function
160 testcase(0); in testcases()
161 testcase(1); in testcases()
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/stringloops/
H A Dmemcmp.c74 static int testcase(bool islarge) in testcase() function
160 testcase(0); in testcases()
161 testcase(1); in testcases()

Completed in 6 milliseconds

123