Home
last modified time | relevance | path

Searched refs:test (Results 26 – 50 of 327) sorted by relevance

12345678910>>...14

/qemu/tests/qemu-iotests/
H A Dtestrunner.py74 def get(self, test: str,
76 if test not in self.cache:
86 d = self.cache.setdefault(test, {})
159 def test_print_one_line(self, test: str,
168 test = os.path.basename(test)
241 f_test = Path(test)
321 def run_test(self, test: str,
336 last_el = self.last_elapsed.get(test)
340 self.test_print_one_line(test=test,
350 res = self.do_run_test(test)
[all …]
H A D095.out16 'arguments': { 'device': 'test',
18 …roseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "test"}}
19 …roseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "test"}}
21 …roseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "waiting", "id": "test"}}
22 …roseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "pending", "id": "test"}}
23 …econds": TIMESTAMP}, "event": "BLOCK_JOB_COMPLETED", "data": {"device": "test", "len": 104857600,…
24 …seconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "concluded", "id": "test"}}
25 …microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "null", "id": "test"}}
/qemu/tests/tcg/xtensa/
H A Dtest_cache.S18 test prefetch label
63 test dpfl_tlb_miss label
70 test dhwb_tlb_miss label
74 test dhwbi_tlb_miss label
79 test dhi_tlb_miss label
84 test dhu_tlb_miss label
92 test ipfl_tlb_miss label
96 test ihu_tlb_miss label
101 test ihi_tlb_miss label
H A Dtest_loop.S7 test loop label
16 test loop0 label
25 test loop_jump label
35 test loop_branch label
45 test loop_manual label
62 test loop_excm label
79 test lbeg_invalidation label
104 test lend_invalidation label
129 test loopnez label
144 test loopgtz label
H A Dtest_fp1.S60 test un_s label
66 test oeq_s label
70 test ueq_s label
74 test olt_s label
78 test ult_s label
82 test ole_s label
86 test ule_s label
99 test moveqz_s label
106 test movnez_s label
131 test movf_s label
[all …]
H A Dtest_quo.S7 test quou_pp label
20 test quou_np label
33 test quou_pn label
46 test quou_nn label
59 test quou_exc label
74 test quos_pp label
87 test quos_np label
100 test quos_pn label
113 test quos_nn label
126 test quos_over label
[all …]
H A Dtest_rem.S7 test remu_pp label
20 test remu_np label
33 test remu_pn label
46 test remu_nn label
59 test remu_exc label
74 test rems_pp label
87 test rems_np label
100 test rems_pn label
113 test rems_nn label
126 test rems_over label
[all …]
H A Dtest_rst0.S5 test and label
18 test or label
31 test xor label
44 test add label
59 test addx2 label
72 test addx4 label
85 test addx8 label
100 test sub label
115 test subx2 label
128 test subx4 label
[all …]
/qemu/tests/unit/
H A Dtest-io-channel-file.c44 QIOChannelTest *test; in test_io_channel_file_helper() local
59 test = qio_channel_test_new(); in test_io_channel_file_helper()
60 qio_channel_test_run_writer(test, src); in test_io_channel_file_helper()
61 qio_channel_test_run_reader(test, dst); in test_io_channel_file_helper()
62 qio_channel_test_validate(test); in test_io_channel_file_helper()
109 QIOChannelTest *test; in test_io_channel_pipe() local
120 test = qio_channel_test_new(); in test_io_channel_pipe()
121 qio_channel_test_run_threads(test, async, src, dst); in test_io_channel_pipe()
122 qio_channel_test_validate(test); in test_io_channel_pipe()
H A Dtest-io-channel-command.c44 QIOChannelTest *test; in test_io_channel_command_fifo() local
58 test = qio_channel_test_new(); in test_io_channel_command_fifo()
59 qio_channel_test_run_threads(test, async, src, dst); in test_io_channel_command_fifo()
60 qio_channel_test_validate(test); in test_io_channel_command_fifo()
96 QIOChannelTest *test; in test_io_channel_command_echo() local
109 test = qio_channel_test_new(); in test_io_channel_command_echo()
110 qio_channel_test_run_threads(test, async, ioc, ioc); in test_io_channel_command_echo()
111 qio_channel_test_validate(test); in test_io_channel_command_echo()
H A Dtest-io-channel-buffer.c30 QIOChannelTest *test; in test_io_channel_buf() local
34 test = qio_channel_test_new(); in test_io_channel_buf()
35 qio_channel_test_run_writer(test, QIO_CHANNEL(buf)); in test_io_channel_buf()
37 qio_channel_test_run_reader(test, QIO_CHANNEL(buf)); in test_io_channel_buf()
38 qio_channel_test_validate(test); in test_io_channel_buf()
/qemu/docs/
H A Dimage-fuzzer.txt34 The test runner generates test images, executes tests utilizing generated
36 core dumps, test images, backing files).
37 The test means execution of all available commands under test with the same
38 generated test image.
51 For comprehensive test results, please, set up your test environment
75 /tmp/test ../qcow2
120 of fields of this element will be fuzzed every test.
178 test images (image format description)
191 group of test for snapshots, etc)
197 of all possible test commands can be available in the test runner
[all …]
/qemu/tests/qtest/
H A Dtpm-crb-test.c145 TPMTestState test; in main() local
150 test.addr = g_new0(SocketAddress, 1); in main()
151 test.addr->type = SOCKET_ADDRESS_TYPE_UNIX; in main()
153 g_mutex_init(&test.data_mutex); in main()
154 g_cond_init(&test.data_cond); in main()
155 test.data_cond_signal = false; in main()
156 test.tpm_version = TPM_VERSION_2_0; in main()
159 tpm_emu_test_wait_cond(&test); in main()
165 test.addr->u.q_unix.path); in main()
174 g_unlink(test.addr->u.q_unix.path); in main()
[all …]
H A Dvirtio-net-test.c38 char test[] = "TEST"; in rx_test() local
40 int len = htonl(sizeof(test)); in rx_test()
46 .iov_base = test, in rx_test()
47 .iov_len = sizeof(test), in rx_test()
58 g_assert_cmpint(ret, ==, sizeof(test) + sizeof(len)); in rx_test()
62 memread(req_addr + VNET_HDR_SIZE, buffer, sizeof(test)); in rx_test()
105 char test[] = "TEST"; in rx_stop_cont_test() local
107 int len = htonl(sizeof(test)); in rx_stop_cont_test()
114 .iov_base = test, in rx_stop_cont_test()
115 .iov_len = sizeof(test), in rx_stop_cont_test()
[all …]
H A Dtpm-tis-i2c-test.c606 TPMTestState test; in main() local
611 test.addr = g_new0(SocketAddress, 1); in main()
612 test.addr->type = SOCKET_ADDRESS_TYPE_UNIX; in main()
614 g_mutex_init(&test.data_mutex); in main()
615 g_cond_init(&test.data_cond); in main()
616 test.data_cond_signal = false; in main()
617 test.tpm_version = TPM_VERSION_2_0; in main()
620 tpm_emu_test_wait_cond(&test); in main()
629 test.addr->u.q_unix.path, in main()
657 g_unlink(test.addr->u.q_unix.path); in main()
[all …]
/qemu/docs/devel/
H A Dqtest.rst9 QTest is a device emulation testing framework. It can be very useful to test
31 Libqos also offers the Qgraph API to increase each test coverage and
37 1. Create a new source file for the test. (More than one file can be added as
38 necessary.) For example, ``tests/qtest/foo-test.c``.
43 3. Register the new test in ``tests/qtest/meson.build``. Add the test
50 'foo-test',
54 4. If the test has more than one source file or needs to be linked with any
56 dictionary. For example a test that needs to use the ``QIO`` library
61 'foo-test': [io],
65 Debugging a QTest failure is slightly harder than the unit test because the
[all …]
H A Dacpi-bits.rst26 in order to write our test routines that exercise and test the bios. This is
30 low level assembly machine language. Writing test routines in a low level
44 Description of the test framework
48 test that drives all this.
50 A brief description of the various test files follows.
68 This is the main python avocado test script that generates a
108 would be found in the test log.
126 test so that it gets executed as a part of the ACPI tests.
128 test that belongs to a test suite not already present in this directory. To
143 (c) Perform modifications to the test.
[all …]
H A Dtesting.rst36 add a new unit test:
42 test. The test code should be organized with the glib testing framework.
47 dependencies to be linked with the test. For a simple test whose source
52 'foo-test': [],
243 a failing test:
605 The test-tsan test will build using TSan and then run make check.
973 To run a single test within a test file, use:
1186 by the test.
1197 by the test.
1279 by the test.
[all …]
/qemu/tests/fp/
H A Dmeson.build48 'fp-test',
49 ['fp-test.c', '../../fpu/softfloat.c'],
102 # The full test suite can take a bit of time, default to a quick run
110 test('fp-test-' + k, fptest,
116 test('fp-test-' + k, fptest,
123 test('fp-test-mulAdd', fptest,
137 'fp-test-log2',
138 ['fp-test-log2.c', '../../fpu/softfloat.c'],
142 test('fp-test-log2', fptestlog2,
/qemu/tests/tcg/s390x/
H A Dex-relative-long.c5 struct test { struct
124 static const struct test tests[] = {
132 const struct test *test; in main() local
138 test = &tests[i]; in main()
141 reg = test->func(REG, &cc); in main()
145 test->name, expected, actual); \ in main()
149 ASSERT_EQ(test->exp_reg, reg); in main()
150 ASSERT_EQ(test->exp_mem, mem[MEM_IDX]); in main()
151 ASSERT_EQ(test->exp_cc, cc); in main()
H A Dvfminmax.c295 static int signed_test(struct signed_test *test, int m4, int m5, in signed_test() argument
304 vfminmax(test->op, m4, m5, test->m6, v1, v2, v3); in signed_test()
308 fprintf(stderr, "[ FAILED ] %s ", test->m6_desc); in signed_test()
312 fprintf(stderr, ", %d, %d, %d: actual=", m4, m5, test->m6); in signed_test()
335 struct signed_test *test = &signed_tests[i]; in main() local
353 const char *spec = test->table[i2 / 2][i3 / 2]; in main()
382 ((test->op == VFMIN) != (v2_int < 0))) { in main()
395 ret |= signed_test(test, m4, m5, in main()
404 ret |= signed_test(test, m4, m5, v1_exp, xi_exp, v2, v3); in main()
/qemu/
H A D.patchew.yml37 Test '{{ test }}' timeout, log:
84 {% if test == "checkpatch" %}
91 {% elif test == "docker-mingw@fedora" or test == "docker-quick@centos8" or test == "asan" %}
94 This series failed the {{ test }} build test. Please find the testing commands and
101 {% elif test == "s390x" or test == "FreeBSD" or test == "ppcle" or test == "ppcbe" %}
104 This series failed build test on {{test}} host. Please find the details below.
148 test "$(uname -m)" = "x86_64"
265 test "$(uname -m)" = "x86_64"
279 test "$(uname -m)" = "ppc64le"
283 test "$(uname -m)" = "ppc64"
[all …]
/qemu/docs/specs/
H A Dpci-testdev.rst2 QEMU PCI test device
17 uint8_t test; /* write-only, starts a given test number */
19 * read-only, type and width of access for a given test.
21 * any other value if test not supported on this BAR
24 uint32_t offset; /* read-only, offset in this BAR for a given test */
25 uint32_t data; /* read-only, data to use for a given test */
33 tests with higher numbers. In this way a guest can scan test numbers until it
38 can be used to test whether guests handle PCI BARs of a specific
/qemu/tests/tcg/m68k/
H A Ddenormal.c10 static volatile long double test[][3] = { variable
36 int i, n = sizeof(test) / sizeof(test[0]), err = 0; in main()
39 long double x = test[i][0]; in main()
40 long double y = test[i][1]; in main()
41 long double build_mul = test[i][2]; in main()
/qemu/scripts/
H A Dmtest2make.py42 def process_tests(test, targets, suites): argument
43 executable = test['cmd'][0]
49 deps = (targets.get(x, []) for x in test['depends'])
53 test_suites = test['suite'] or ['default']
104 for test in introspect['tests']:
105 process_tests(test, targets, testsuites)
111 for test in introspect['benchmarks']:
112 process_tests(test, targets, benchsuites)

12345678910>>...14