Home
last modified time | relevance | path

Searched full:test (Results 151 – 175 of 1797) sorted by relevance

12345678910>>...72

/qemu/tests/tcg/xtensa/
H A Dtest_shift.S43 test slli label
64 test srai label
81 test srli label
109 test sll label
137 test srl label
167 test sra label
201 test src label
H A Dtest_bz.S5 test beqz label
18 test bnez label
31 test bltz label
44 test bgez label
/qemu/tests/qtest/
H A Dtpm-tis-swtpm-test.c5 * with parts borrowed from migration-test.c that is:
52 ts.src_tpm_path = g_dir_make_tmp("qemu-tpm-tis-swtpm-test.XXXXXX", NULL); in main()
53 ts.dst_tpm_path = g_dir_make_tmp("qemu-tpm-tis-swtpm-test.XXXXXX", NULL); in main()
59 qtest_add_data_func("/tpm/tis-swtpm/test", &ts, tpm_tis_swtpm_test); in main()
60 qtest_add_data_func("/tpm/tis-swtpm-migration/test", &ts, in main()
H A Dtpm-crb-swtpm-test.c5 * with parts borrowed from migration-test.c that is:
49 ts.src_tpm_path = g_dir_make_tmp("qemu-tpm-crb-swtpm-test.XXXXXX", NULL); in main()
50 ts.dst_tpm_path = g_dir_make_tmp("qemu-tpm-crb-swtpm-test.XXXXXX", NULL); in main()
56 qtest_add_data_func("/tpm/crb-swtpm/test", &ts, tpm_crb_swtpm_test); in main()
57 qtest_add_data_func("/tpm/crb-swtpm-migration/test", &ts, in main()
H A Dtpm-tis-device-swtpm-test.c6 * with parts borrowed from migration-test.c that is:
55 ts.src_tpm_path = g_dir_make_tmp("qemu-tpm-tis-device-swtpm-test.XXXXXX", in main()
57 ts.dst_tpm_path = g_dir_make_tmp("qemu-tpm-tis-device-swtpm-test.XXXXXX", in main()
64 qtest_add_data_func("/tpm/tis-swtpm/test", &ts, tpm_tis_swtpm_test); in main()
65 qtest_add_data_func("/tpm/tis-swtpm-migration/test", &ts, in main()
H A Dboot-serial-test.c2 * Test serial output of some machines.
9 * This test is used to check that the serial output of the firmware
201 static bool check_guest_output(QTestState *qts, const testdef_t *test, int fd) in check_guest_output() argument
211 if (ch == test->expect[pos]) { in check_guest_output()
213 if (test->expect[pos] == '\0') { in check_guest_output()
239 const testdef_t *test = data; in test_machine() local
251 if (test->kernel) { in test_machine()
252 code = test->kernel; in test_machine()
254 } else if (test->bios) { in test_machine()
255 code = test->bios; in test_machine()
[all …]
H A Dqmp-test.c2 * QMP protocol test cases
113 /* Test greeting */ in test_qmp_protocol()
122 /* Test valid command before handshake */ in test_qmp_protocol()
126 /* Test malformed commands before handshake */ in test_qmp_protocol()
129 /* Test handshake */ in test_qmp_protocol()
135 /* Test repeated handshake */ in test_qmp_protocol()
139 /* Test valid command */ in test_qmp_protocol()
144 /* Test malformed commands */ in test_qmp_protocol()
147 /* Test 'id' */ in test_qmp_protocol()
154 /* Test command failure with 'id' */ in test_qmp_protocol()
[all …]
H A Dhexloader-test.c15 /* Load 'test.hex' and verify that the in-memory contents are as expected.
16 * 'test.hex' is a memory test pattern stored in Hexadecimal Object
26 "-M vexpress-a9 -device loader,file=tests/data/hex-loader/test.hex"); in hex_loader_test()
H A Dstm32l4x5_exti-test.c70 /* Test that non-reserved bits in xMR and xTSR can be set and cleared */ in test_reg_write_read()
115 /* Test that direct lines reserved bits are not written to */ in test_direct_lines_write()
144 /* Test that reserved bits stay are not written to */ in test_reserved_bits_write()
168 * Test that we can launch a software irq by : in test_software_interrupt()
260 /* Test that an irq is raised on rising edge only */ in test_edge_selector()
269 /* Clean the test */ in test_edge_selector()
281 /* Test that an irq is raised on falling edge only */ in test_edge_selector()
290 /* Clean the test */ in test_edge_selector()
301 /* Test that an irq is raised on rising edge */ in test_edge_selector()
306 /* Clean the test */ in test_edge_selector()
[all …]
/qemu/tests/tcg/sh4/
H A Dtest-macw.c22 } Test; typedef
25 void test(const Test *t, int sat) in test() function
45 static const Test tests[] = { in main()
57 test(&tests[i], j); in main()
H A Dtest-macl.c25 } Test; typedef
28 void test(const Test *t, int sat) in test() function
48 static const Test tests[] = { in main()
63 test(&tests[i], j); in main()
/qemu/tests/unit/
H A Dcheck-qom-interface.c2 * QOM interface test.
18 #define TYPE_TEST_IF "test-interface"
30 uint32_t test; member
46 tc->test = PATTERN; in test_class_init()
75 g_assert(ioc->test == PATTERN); in test_interface_impl()
H A Drcutorture.c2 * rcutorture.c: simple user-level performance/stress test of RCU.
6 * Run a read-side performance test with the specified
9 * Run an update-side performance test with the specified
12 * Run a combined read/update performance test with the specified
21 * during the test, the number of reader threads, the number of updater
22 * threads, and the duration of the test in seconds. The second line
27 * Run a stress test with the specified number of readers and
30 * This test produces output as follows:
59 * Test variables.
98 qemu_thread_create(&threads[n_threads], "test", func, &data[n_threads], in create_thread()
[all …]
H A Dtest-resv-mem.c93 /* test 1 */ in check_range_reverse_array()
99 /* test 2 */ in check_range_reverse_array()
106 /* test 3 */ in check_range_reverse_array()
113 /* test 4 */ in check_range_reverse_array()
121 /* test 5 */ in check_range_reverse_array()
126 /* test 6 */ in check_range_reverse_array()
140 /* test 1 */ in check_range_reverse_array_low_end()
144 /* test 2 */ in check_range_reverse_array_low_end()
151 /* test 3 */ in check_range_reverse_array_low_end()
158 /* test 4 */ in check_range_reverse_array_low_end()
[all …]
/qemu/.gitlab-ci.d/
H A Dstatic_checks.yml28 stage: test
39 stage: test
52 stage: test
56 - section_start test "Running Rust code checks"
61 - section_end test
/qemu/scripts/simplebench/
H A Dsimplebench.py33 """Benchmark one test-case
43 test_env -- test environment - opaque first argument for test_func
44 test_case -- test case - opaque second argument for test_func
110 test_envs -- list of test environments, see bench_one
111 test_cases -- list of test cases, see bench_one
118 test_cases[i] for test_envs[j] (i.e., rows are test cases and
119 columns are test environments)
/qemu/tests/functional/acpi-bits/bits-tests/
H A Dsmilatency.py231 """SMI latency test."""
41 # testsuite.add_test("SMI latency test", smi_latency);
42 # testsuite.add_test("SMI latency test with USB disabled via BIOS handoff", test_with_usb_disabl…
47 print "Warning: touching the keyboard can affect the results of this test."
65 print "Starting test. Wait here, I will be back in 15 seconds."
70 …testsuite.test("SMI latency < 150us to minimize risk of OS timeouts", max_latency / tsc_per_usec <…
105 print "Running test, estimated time: {}s".format(int(estimate))
/qemu/tests/uefi-test-tools/
H A Duefi-test-build.config12 cpy1 = ARM/BiosTablesTest.efi bios-tables-test.arm.efi
22 cpy1 = AARCH64/BiosTablesTest.efi bios-tables-test.aarch64.efi
32 cpy1 = LOONGARCH64/BiosTablesTest.efi bios-tables-test.loongarch64.efi
42 cpy1 = RISCV64/BiosTablesTest.efi bios-tables-test.riscv64.efi
52 cpy1 = IA32/BiosTablesTest.efi bios-tables-test.i386.efi
62 cpy1 = X64/BiosTablesTest.efi bios-tables-test.x86_64.efi
/qemu/tests/qemu-iotests/
H A D01974 echo "Creating test image with backing file"
80 echo "Filling test image"
87 # Complete test image clusters
94 # Test the conversion twice: One test with the old-style -B option and another
120 # Complete test image clusters
H A D1254 # Test preallocated growth of qcow2 images
56 # Test whether we are running on a broken XFS version. There is this
91 _notrun "the test filesystem's fallocate() is broken"
102 # There are multiple cases we want to test:
114 # 512 is the actual test -- but it's good to test 64k as well, just to be sure.
138 # Test creation preallocation: Compare #0 against #1
152 # Test resize preallocation: Compare #2 against #1
172 # Test image resizing using preallocation and unaligned offsets
H A D242.out1 Test 1
23 Test 2
57 Test 3
103 Test 4
150 Test 5
176 Test complete
/qemu/tests/tcg/i386/
H A Dtest-i386-pcmpistri.c1 /* Test pcmpistri instruction. */
21 printf("FAIL: pcmpistri test 1\n"); in main()
25 printf("FAIL: pcmpistri test 2\n"); in main()
29 printf("FAIL: pcmpistri test 3\n"); in main()
H A Dtest-i386.c2 * x86 CPU test
83 #include "test-i386.h"
86 #include "test-i386.h"
89 #include "test-i386.h"
92 #include "test-i386.h"
95 #include "test-i386.h"
98 #include "test-i386.h"
102 #include "test-i386.h"
106 #include "test-i386.h"
111 #include "test-i386.h"
[all …]
/qemu/tests/qtest/migration/
H A Dframework.h3 * based on the vhost-user-test.c that is:
75 * This will result in a test that is unacceptably slow though,
97 * the test
136 * cases must be >0 to make sure they trigger by a "if" test.
190 /* This test should succeed, the default */
192 /* This test should fail, dest qemu should keep alive */
194 /* This test should fail, dest qemu should fail with abnormal status */
208 * migration test. We used to always run with live but it took much
210 * reason to be tested live-only. For each of the new test cases for
/qemu/tests/tcg/multiarch/gdbstub/
H A Dmemory.py3 # Test some of the system debug features with the multiarch memory
4 # test. It is a port of the original vmlinux focused test case but
5 # using the "memory" test instead.
7 # This is launched via tests/guest-debug/run-test.py

12345678910>>...72