Home
last modified time | relevance | path

Searched refs:KUNIT_EXPECT_EQ_MSG (Results 1 – 13 of 13) sorted by relevance

/linux-5.19.10/lib/
Dtest_hash.c76 KUNIT_EXPECT_EQ_MSG(test, params->h1, params->h2, in test_int__hash_32()
89 KUNIT_EXPECT_EQ_MSG(test, params->h1, params->h2, in test_int_hash_64()
164 KUNIT_EXPECT_EQ_MSG(test, string_or, -1u, in test_string_or()
187 KUNIT_EXPECT_EQ_MSG(test, hashlen_len(hashlen), j-i, in test_hash_or()
191 KUNIT_EXPECT_EQ_MSG(test, hashlen_hash(hashlen), h0, in test_hash_or()
200 KUNIT_EXPECT_EQ_MSG(test, hash_or[0][0], -1u, in test_hash_or()
205 KUNIT_EXPECT_EQ_MSG(test, hash_or[1][0], -1u, in test_hash_or()
215 KUNIT_EXPECT_EQ_MSG(test, hash_or[0][i], m, in test_hash_or()
218 KUNIT_EXPECT_EQ_MSG(test, hash_or[1][i], m, in test_hash_or()
Dtest_list_sort.c39 KUNIT_EXPECT_EQ_MSG(test, ela->poison1, TEST_POISON1, "bad poison"); in check()
40 KUNIT_EXPECT_EQ_MSG(test, ela->poison2, TEST_POISON2, "bad poison"); in check()
42 KUNIT_EXPECT_EQ_MSG(test, elb->poison1, TEST_POISON1, "bad poison"); in check()
43 KUNIT_EXPECT_EQ_MSG(test, elb->poison2, TEST_POISON2, "bad poison"); in check()
106 KUNIT_EXPECT_EQ_MSG(test, count, TEST_LIST_LEN, in list_sort_test()
Dcmdline_kunit.c50 KUNIT_EXPECT_EQ_MSG(test, ret, rc, fmt, in); in cmdline_do_one_test()
116 KUNIT_EXPECT_EQ_MSG(test, r[0], e[0], "in test %u (parsed) expected %d numbers, got %d", in cmdline_do_one_range_test()
119 KUNIT_EXPECT_EQ_MSG(test, r[i], e[i], "in test %u at %u", n, i); in cmdline_do_one_range_test()
123 KUNIT_EXPECT_EQ_MSG(test, r[0], e[0], "in test %u (validated) expected %d numbers, got %d", in cmdline_do_one_range_test()
Doverflow_kunit.c230 KUNIT_EXPECT_EQ_MSG(test, _of, of, \
233 KUNIT_EXPECT_EQ_MSG(test, _r, r, \
280 KUNIT_EXPECT_EQ_MSG(test, __of, of, \ in overflow_shift_test()
284 KUNIT_EXPECT_EQ_MSG(test, __d, __e, \ in overflow_shift_test()
577 KUNIT_EXPECT_EQ_MSG(test, _r, expected, \ in overflow_size_helpers_test()
Dmemcpy_kunit.c45 KUNIT_EXPECT_EQ_MSG(test, one.data[i], two.data[i], \
/linux-5.19.10/fs/fat/
Dfat_test.c145 KUNIT_EXPECT_EQ_MSG(test, in fat_time_fat2unix_test()
149 KUNIT_EXPECT_EQ_MSG(test, in fat_time_fat2unix_test()
168 KUNIT_EXPECT_EQ_MSG(test, in fat_time_unix2fat_test()
172 KUNIT_EXPECT_EQ_MSG(test, in fat_time_unix2fat_test()
176 KUNIT_EXPECT_EQ_MSG(test, in fat_time_unix2fat_test()
/linux-5.19.10/kernel/
Dresource_kunit.c87 KUNIT_EXPECT_EQ_MSG(test, ret, exp_ret, "Resources %pR %pR", r1, r2); in resource_do_test()
88 KUNIT_EXPECT_EQ_MSG(test, r->start, exp_r->start, "Start elements are not equal"); in resource_do_test()
89 KUNIT_EXPECT_EQ_MSG(test, r->end, exp_r->end, "End elements are not equal"); in resource_do_test()
/linux-5.19.10/fs/ext4/
Dinode-test.c252 KUNIT_EXPECT_EQ_MSG(test, in inode_test_xtimestamp_decoding()
260 KUNIT_EXPECT_EQ_MSG(test, in inode_test_xtimestamp_decoding()
/linux-5.19.10/sound/soc/
Dsoc-topology-test.c66 KUNIT_EXPECT_EQ_MSG(kunit_comp->kunit, kunit_comp->expect, ret, in d_probe()
232 KUNIT_EXPECT_EQ_MSG(kunit_comp->kunit, kunit_comp->expect, ret, in d_probe_null_comp()
340 KUNIT_EXPECT_EQ_MSG(kunit_comp->kunit, kunit_comp->expect, ret, in d_probe_null_fw()
/linux-5.19.10/include/kunit/
Dtest.h757 KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
759 #define KUNIT_EXPECT_EQ_MSG(test, left, right, fmt, ...) \ macro
/linux-5.19.10/Documentation/dev-tools/kunit/
Dtips.rst174 KUNIT_EXPECT_EQ_MSG(test, strlen(some_str), 40, "some_str='%s'", some_str);
/linux-5.19.10/drivers/iio/test/
Diio-test-rescale.c670 KUNIT_EXPECT_EQ_MSG(test, rel_ppm, 0, in iio_rescale_test_scale()
/linux-5.19.10/kernel/kcsan/
Dkcsan_test.c538 KUNIT_EXPECT_EQ_MSG(test, reorder_access->size, \ in test_barrier_nothreads()