Home
last modified time | relevance | path

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

123

/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dmonitor_mwait_test.c23 #define GUEST_ASSERT_MONITOR_MWAIT(insn, testcase, vector) \ argument
25 bool fault_wanted = ((testcase) & MWAIT_QUIRK_DISABLED) && \
26 ((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()
[all …]
/openbmc/linux/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->ts, 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,
36 + if (!opt_forked && (testcase->flags & TT_RETRIABLE) && !test_attempts)
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))
[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']
359 dbg("will test: %r", testcase)
385 'testcase':testcase,
389 def binariesToTest(args, testcase): argument
399 def accelsToTest(args, testcase): argument
400 if getBinaryInfo(args, testcase['binary']).kvm_available and not args.tcg_only:
[all …]
/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} {
/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/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/recipes-core/ifupdown/files/
H A D0001-ifupdown-skip-wrong-test-case.patch6 The test parameters of testcase(12-15) file is not right,
27 if [ -e $dir/testcase.$test ]; then
28 args="$(cat $dir/testcase.$test | sed -n 's/^# RUN: //p')"
H A Dtweak-ptest-script.patch31 - ./ifup -v --no-act-commands --force -i $dir/testcase.$test --state-dir=$dir/state.$test $a…
32 + ifup -v --no-act-commands --force -i $dir/testcase.$test --state-dir=$dir/state.$test $arg…
40 - ./ifdown -v --no-act-commands --force -i $dir/testcase.$test --state-dir=$dir/state.$test …
41 + ifdown -v --no-act-commands --force -i $dir/testcase.$test --state-dir=$dir/state.$test $a…
/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()
376 ret = dpdma_debugfs_reqs[testcase].read(kern_buff); 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()
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/lksctp-tools/
H A Dlksctp-tools_1.0.21.bb29 …for testcase in `find ${B}/src/apps/.libs ${B}/src/func_tests/.libs -maxdepth 1 -type f -executabl…
30 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()
/openbmc/linux/tools/testing/selftests/net/
H A Dudpgso.c64 struct testcase { struct
75 struct testcase testcases_v4[] = { argument
191 struct testcase testcases_v6[] = {
531 static void run_one(struct testcase *test, int fdt, int fdr, in run_one()
585 struct testcase *tests, *test; in run_all()
/openbmc/linux/Documentation/devicetree/
H A Dof_unittest.rst148 testcase-data
163 replaces the current child and turns it into its sibling. So, when the testcase
169 testcase-data -> child1 -> sibling2 -> sibling3 -> sibling4 -> null
191 testcase-data -> child1 -> sibling2 -> sibling3 -> sibling4 -> null
200 Figure 3: Live device tree structure after attaching the testcase-data.
/openbmc/qemu/tests/functional/qemu_test/
H A D__init__.py14 from .testcase import QemuBaseTest, QemuUserTest, QemuSystemTest

123