Home
last modified time | relevance | path

Searched refs:testcase (Results 1 – 25 of 66) sorted by relevance

123

/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dmonitor_mwait_test.c26 ((testcase) & MWAIT_DISABLED); \
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
90 testcase = uc.args[1]; in main()
103 if (testcase & MWAIT_QUIRK_DISABLED) in main()
105 if (testcase & MISC_ENABLES_QUIRK_DISABLED) in main()
116 if (!(testcase & MISC_ENABLES_QUIRK_DISABLED)) { in main()
[all …]
/openbmc/linux/fs/fat/
H A Dfat_test.c135 struct fat_timestamp_testcase *testcase = in fat_time_fat2unix_test() local
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
166 fat_time_unix2fat(&fake_sb, &testcase->ts, in fat_time_unix2fat_test()
169 le16_to_cpu(testcase->time), in fat_time_unix2fat_test()
173 le16_to_cpu(testcase->date), in fat_time_unix2fat_test()
[all …]
/openbmc/openbmc/poky/meta/recipes-support/libevent/libevent/
H A D0004-test-retriable-tests-are-marked-failed-only-when-all-a.patch25 - const struct testcase_t *testcase)
26 + const struct testcase_t *testcase,
37 printf("\n [%s FAILED]\n", testcase->name);
43 struct testcase_t *testcase = &group->cases[j];
45 + int test_attempts = (testcase->flags & TT_RETRIABLE) ? 3: 1;
48 if (!(testcase->flags & TT_ENABLED_))
52 - test_ret_err = testcase_run_one(group, testcase);
53 + test_ret_err = testcase_run_one(group, testcase, test_attempts);
57 - if (!(testcase->flags & TT_RETRIABLE))
60 printf("\n [RETRYING %s (%i)]\n", testcase->name, test_attempts);
[all …]
/openbmc/qemu/scripts/
H A Ddevice-crash-test348 def checkOneCase(args, testcase): argument
354 binary = testcase['binary']
355 accel = testcase['accel']
356 machine = testcase['machine']
357 device = testcase['device']
399 def accelsToTest(args, testcase): argument
429 for testcase in testcases:
430 if var in testcase:
439 def genCases(args, testcase): argument
442 cases = [testcase.copy()]
[all …]
/openbmc/openbmc-test-automation/bin/
H A Dgenerate_testsuite_info.py141 for testcase in test_suite_obj.testcase_table:
143 print(testcase.name)
145 print(testcase.tags)
147 print(testcase.doc)
149 print(testcase.name)
150 print(testcase.tags)
151 print(testcase.doc)
/openbmc/linux/drivers/of/unittest-data/
H A Dtestcases.dtso9 * testcase data that intentionally results in an error is located here
13 testcase-data {
14 testcase-device2 {
15 compatible = "testcase-device";
H A Dtests-phandle.dtsi5 testcase-alias = &testcase;
8 testcase: testcase-data { label
H A Dtests-interrupts.dtsi4 testcase-data {
79 testcase-device1 {
80 compatible = "testcase-device";
86 * testcase data that intentionally results in an error is
H A Doverlay_common.dtsi7 * Do not add any nodes other than "/testcase-data-2" in node "/".
13 testcase-data-2 {
H A Dtests-lifecycle.dtsi4 testcase-data {
H A Doverlay_0.dtso7 &{/testcase-data/overlay-node/test-bus/test-unittest0} {
H A Doverlay_1.dtso7 &{/testcase-data/overlay-node/test-bus/test-unittest1} {
H A Doverlay_13.dtso7 &{/testcase-data/overlay-node/test-bus/i2c-test-bus/test-unittest13} {
/openbmc/openbmc-test-automation/tools/ct_metrics/
H A Dgen_csv_results.py326 for testcase in collect_data_obj.test_data:
329 l_func_area = str(testcase.parent).split(" ", 1)[1]
330 l_test_name = str(testcase)
333 if testcase.status == "PASS":
335 elif testcase.status == "SKIP":
342 l_stime = xml_to_csv_time(testcase.starttime)
343 l_etime = xml_to_csv_time(testcase.endtime)
/openbmc/openbmc/poky/meta/recipes-core/ifupdown/files/
H A D0001-ifupdown-skip-wrong-test-case.patch6 The test parameters of testcase(12-15) file is not right,
28 if [ -e $dir/testcase.$test ]; then
29 args="$(cat $dir/testcase.$test | sed -n 's/^# RUN: //p')"
H A Dtweak-ptest-script.patch32 - ./ifup -v --no-act-commands --force -i $dir/testcase.$test --state-dir=$dir/state.$test $a…
33 + ifup -v --no-act-commands --force -i $dir/testcase.$test --state-dir=$dir/state.$test $arg…
41 - ./ifdown -v --no-act-commands --force -i $dir/testcase.$test --state-dir=$dir/state.$test …
42 + ifdown -v --no-act-commands --force -i $dir/testcase.$test --state-dir=$dir/state.$test $a…
/openbmc/linux/tools/testing/selftests/mm/
H A Dva_high_addr_switch.c53 struct testcase { struct
62 static struct testcase testcases[] = { argument
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()
/openbmc/openbmc/poky/meta/lib/oeqa/buildperf/
H A Dbase.py198 testcase = ET.SubElement(suite, 'testcase')
199 testcase.set('classname', test.__module__ + '.' + test.__class__.__name__)
200 testcase.set('name', test.name)
201 testcase.set('description', test.shortDescription())
202 testcase.set('timestamp', test.start_time.isoformat())
203 testcase.set('time', str(test.elapsed_time.total_seconds()))
206 result = ET.SubElement(testcase, 'failure')
208 result = ET.SubElement(testcase, 'error')
213 result = ET.SubElement(testcase, 'skipped')
219 measurement = ET.SubElement(testcase, data['type'])
/openbmc/linux/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()
H A Dstrlen.c51 static int testcase(void) in testcase() function
126 return test_harness(testcase, "strlen"); in main()
/openbmc/linux/Documentation/translations/zh_CN/devicetree/
H A Dof_unittest.rst120 testcase-data
138 testcase-data -> child1 -> sibling2 -> sibling3 -> sibling4 -> null
160 testcase-data -> child1 -> sibling2 -> sibling3 -> sibling4 -> null
/openbmc/openbmc-test-automation/lib/
H A Ddmtf_redfishtool_utils.robot22 # expected_error Expected error optionally provided in testcase (e.g. 401 /
41 # expected_error Expected error optionally provided in testcase (e.g. 401 /
61 # expected_error Expected error optionally provided in testcase (e.g. 401 /
79 # expected_error Expected error optionally provided in testcase (e.g. 401 /
/openbmc/linux/drivers/dma/xilinx/
H A Dxilinx_dpdma.c286 enum xilinx_dpdma_testcases testcase; member
309 dpdma_debugfs.testcase = DPDMA_TC_NONE; in xilinx_dpdma_debugfs_desc_done_irq_read()
341 dpdma_debugfs.testcase = DPDMA_TC_INTR_DONE; in xilinx_dpdma_debugfs_desc_done_irq_write()
361 enum xilinx_dpdma_testcases testcase; in xilinx_dpdma_debugfs_read() local
370 dpdma_debugfs.testcase = DPDMA_TC_NONE; in xilinx_dpdma_debugfs_read()
374 testcase = READ_ONCE(dpdma_debugfs.testcase); in xilinx_dpdma_debugfs_read()
375 if (testcase != DPDMA_TC_NONE) { in xilinx_dpdma_debugfs_read()
402 char *testcase; in xilinx_dpdma_debugfs_write() local
410 if (dpdma_debugfs.testcase != DPDMA_TC_NONE) in xilinx_dpdma_debugfs_write()
423 testcase = strsep(&kern_buff, " "); in xilinx_dpdma_debugfs_write()
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/lksctp-tools/
H A Dlksctp-tools_1.0.19.bb32 …for testcase in `find ${B}/src/apps/.libs ${B}/src/func_tests/.libs -maxdepth 1 -type f -executabl…
33 install $testcase ${D}${PTEST_PATH}
/openbmc/linux/tools/perf/tests/
H A Dbackward-ring-buffer.c20 static void testcase(void) in testcase() function
76 testcase(); in do_test()

123