/qemu/tests/tcg/s390x/ |
H A D | Makefile.target | 1 S390X_SRC=$(SRC_PATH)/tests/tcg/s390x 14 TESTS+=hello-s390x 15 TESTS+=csst 16 TESTS+=ipm 17 TESTS+=exrl-trt 18 TESTS+=exrl-trtr 19 TESTS+=pack 20 TESTS+=mie3-compl 21 TESTS+=mie3-mvcrl 22 TESTS+=mie3-sel [all …]
|
H A D | branch-relative-long.c | 24 static const struct test tests[] = { variable 41 for (i = 0; i < sizeof(tests) / sizeof(tests[0]); i++) { in main() 42 size_t test_length = 0x100000000 + (tests[i].code_end - tests[i].code); in main() 57 for (i = 0; i < sizeof(tests) / sizeof(tests[0]); i++) { in main() 60 memcpy(code, tests[i].code, tests[i].code_end - tests[i].code); in main() 62 memset(code, 0, tests[i].code_end - tests[i].code); in main()
|
H A D | shift.c | 79 static const struct shift_test tests[] = { variable 247 for (i = 0; i < sizeof(tests) / sizeof(tests[0]); i++) { in main() 251 result = tests[i].insn(tests[i].op1, tests[i].op2, &cc); in main() 252 if (result != tests[i].exp_result) { in main() 257 tests[i].name, result, tests[i].exp_result); in main() 260 if (cc != tests[i].exp_cc) { in main() 265 tests[i].name, cc, tests[i].exp_cc); in main()
|
/qemu/tests/ |
H A D | Makefile.include | 6 …MAKE) check Run block, qapi-schema, unit, softfloat, qtest and decodetree tests" 7 @echo " $(MAKE) bench Run speed tests" 10 @echo " $(MAKE) check-qtest-TARGET Run qtest tests for given target" 11 @echo " $(MAKE) check-qtest Run qtest tests" 12 @echo " $(MAKE) check-functional Run python-based functional tests" 13 @echo " $(MAKE) check-functional-TARGET Run functional tests for a given target" 14 @echo " $(MAKE) check-unit Run qobject tests" 15 @echo " $(MAKE) check-qapi-schema Run QAPI schema tests" 16 @echo " $(MAKE) check-block Run block tests" 18 @echo " $(MAKE) check-tcg Run TCG tests" [all …]
|
/qemu/tests/tcg/tricore/ |
H A D | Makefile.softmmu-target | 1 TESTS_PATH = $(SRC_PATH)/tests/tcg/tricore 9 TESTS += test_abs.asm.tst 10 TESTS += test_bmerge.asm.tst 11 TESTS += test_clz.asm.tst 12 TESTS += test_crcn.asm.tst 13 TESTS += test_dextr.asm.tst 14 TESTS += test_dvstep.asm.tst 15 TESTS += test_fadd.asm.tst 16 TESTS += test_fmul.asm.tst 17 TESTS += test_ftohp.asm.tst [all …]
|
/qemu/tests/unit/ |
H A D | test-int128.c | 25 static uint32_t tests[8] = { variable 51 for (i = 0; i < ARRAY_SIZE(tests); ++i) { in test_and() 52 for (j = 0; j < ARRAY_SIZE(tests); ++j) { in test_and() 53 Int128 a = expand(tests[i]); in test_and() 54 Int128 b = expand(tests[j]); in test_and() 55 Int128 r = expand(tests[i] & tests[j]); in test_and() 67 for (i = 0; i < ARRAY_SIZE(tests); ++i) { in test_add() 68 for (j = 0; j < ARRAY_SIZE(tests); ++j) { in test_add() 69 Int128 a = expand(tests[i]); in test_add() 70 Int128 b = expand(tests[j]); in test_add() [all …]
|
H A D | meson.build | 4 tests = { variable 54 tests += { 59 tests += {'test-seccomp': ['../../system/qemu-seccomp.c', seccomp]} 64 tests += { 102 tests += { 111 tests += {'test-authz-pam': [authz]} 114 tests += {'test-crypto-xts': [crypto, io]} 117 tests += { 123 tests += {'test-replication': [testblock]} 125 tests += {'test-crypto-pbkdf': [io]} [all …]
|
/qemu/tests/qemu-iotests/ |
H A D | findtests.py | 1 # TestFinder class, define set of tests to run. 47 self.all_tests += [f for f in glob.iglob('tests/*') 80 # Numbered tests are old naming convention. We should convert them 84 # Named tests all should be in tests/ subdirectory 85 name = os.path.join('tests', name) 94 tests: Optional[List[str]] = None, 96 """Find tests 101 a.1 Take all tests from @groups 102 a.2 Drop tests, which are in at least one of @exclude_groups or in 104 a.3 Add tests from @tests (don't exclude anything from them) [all …]
|
H A D | check | 3 # Configure environment and run group of tests in it. 48 help='show me, do not run tests') 50 help='run tests in multiple parallel jobs') 107 g_bash = p.add_argument_group('bash tests options', 109 'python tests.') 119 help='include tests from these groups') 121 help='exclude tests from these groups') 124 'of tests as usual and then drop tests from the first ' 128 g_sel.add_argument('tests', metavar='TEST_FILES', nargs='*', 129 help='tests to run, or "--" followed by a command') [all …]
|
/qemu/docs/devel/testing/ |
H A D | functional.rst | 6 The ``tests/functional`` directory hosts functional tests written in 7 Python. They are usually higher level tests, and may interact with 10 The tests should be written in the style of the Python `unittest`_ framework, 11 using stdio for the TAP protocol. The folder ``tests/functional/qemu_test`` 24 Tests based on ``qemu_test.QemuSystemTest`` can easily: 39 Running tests 42 You can run the functional tests simply by executing: 48 It is also possible to run tests for a certain target only, for example 49 the following line will only run the tests for the x86_64 target: 57 the PYTHONPATH that has to include the python folder and the tests/functional [all …]
|
H A D | main.rst | 8 the way to full blown functional tests. To get an overview of the 9 tests you can run ``make check-help`` from either the source or build 12 Most (but not all) tests are also integrated as an automated test into 18 will run just the softfloat tests. 21 generic test functions/classes. The test framework can run the tests and 40 The "make check" testing family includes most of the C based tests in QEMU. 42 The usual way to run these tests is: 48 which includes QAPI schema tests, unit tests, QTests and some iotests. 49 Different sub-types of "make check" tests will be explained below. 51 Before running tests, it is best to build QEMU programs first. Some tests [all …]
|
H A D | acpi-bits.rst | 38 acpica and changes specific to running these functional QEMU tests using 52 Under the directory ``tests/functional/``, ``test_acpi_bits.py`` is a QEMU 57 Under ``tests/functional/`` as the root we have: 64 │ ├── bits-tests 70 * ``tests/functional``: 79 for their tests. In order to enable debugging, you can set **V=1** 90 $ export PYTHONPATH=../python:../tests/functional 92 $ python3 ../tests/functional/test_acpi_bits.py 94 The above will run all acpi-bits functional tests (producing output in 97 You can inspect the log files in tests/functional/x86_64/test_acpi_bits.*/ [all …]
|
H A D | ci.rst | 7 the execution of a comprehensive set of automated tests every time there is a 8 need to commit any set of changes [1]_. The automated tests are composed 9 of unit, functional and other tests. 16 These tests are also used as gating tests before merging pull requests. 19 can be a manual intervention or a set of tests succeeding [2]_. 22 done by the project leader running its own set of tests. The pull request gets 23 merged when the tests succeed.
|
H A D | qtest.rst | 22 The QTest library is implemented by ``tests/qtest/libqtest.c`` and the API is 23 defined in ``tests/qtest/libqtest.h``. 31 communicating with system buses or devices. Many virtual device tests use 40 necessary.) For example, ``tests/qtest/foo-test.c``. 43 tests and the library headers for reference. 45 3. Register the new test in ``tests/qtest/meson.build``. Add the test 47 one variable per architecture, plus ``qtests_generic`` for tests 68 tests look up QEMU program names in the environment variables, such as 93 .. kernel-doc:: tests/qtest/libqtest.h
|
/qemu/tests/tcg/ |
H A D | Makefile.target | 3 # TCG tests 10 # The tests themselves should be as minimal as possible as 21 # By default all tests are statically compiled but some host systems 25 # tests are run. 27 # We also accept SPEED=slow to enable slower running tests 29 # We also expect to be in the tests build dir for the FOO-(linux-user|softmmu). 45 TARGET_PREFIX=tests/tcg/$(TARGET):$(SPACE) 83 # Tests we are building 84 TESTS= 85 # additional tests which may re-use existing binaries [all …]
|
/qemu/ |
H A D | MAINTAINERS | 124 F: tests/qtest/migration/s390x/ 175 F: tests/decode/ 184 F: tests/fp/ 190 F: tests/tcg/alpha/ 199 F: tests/tcg/arm/ 200 F: tests/tcg/aarch64/ 201 F: tests/qtest/arm-cpu-features.c 214 F: tests/functional/test_aarch64_smmu.py 222 F: tests/functional/test_avr_mega2560.py 231 F: tests/tcg/hexagon/ [all …]
|
/qemu/docs/devel/ |
H A D | codebase.rst | 22 - `CI<ci>` and `Tests<testing>` 127 `tests <https://gitlab.com/qemu-project/qemu/-/tree/master/tests/tcg/plugins>`__ 175 * `tests <https://gitlab.com/qemu-project/qemu/-/tree/master/tests>`_: 178 - `data <https://gitlab.com/qemu-project/qemu/-/tree/master/tests/data>`_: 179 Data for various tests. 180 - `decode <https://gitlab.com/qemu-project/qemu/-/tree/master/tests/decode>`_: 182 - `docker <https://gitlab.com/qemu-project/qemu/-/tree/master/tests/docker>`_: 184 - `fp <https://gitlab.com/qemu-project/qemu/-/tree/master/tests/fp>`_: 186 - `functional <https://gitlab.com/qemu-project/qemu/-/tree/master/tests/functional>`_: 187 `Functional tests <checkfunctional-ref>` (full VM boot). [all …]
|
/qemu/python/ |
H A D | Makefile | 10 @echo " Run tests in the minreqs virtual environment." 11 @echo " These tests use the oldest dependencies." 16 @echo " Run tests against multiple python versions." 17 @echo " These tests use the newest dependencies." 24 @echo " Run tests in a venv against your default python3 version." 25 @echo " These tests use the newest dependencies." 29 @echo " Run tests in your *current environment*." 60 $(QEMU_MINVENV_DIR) $(QEMU_MINVENV_DIR)/bin/activate: setup.cfg tests/minreqs.txt 68 echo "INSTALL -r tests/minreqs.txt $(QEMU_MINVENV_DIR)";\ 69 $(PIP_INSTALL) -r tests/minreqs.txt 1>/dev/null; \ [all …]
|
/qemu/tests/tcg/aarch64/ |
H A D | Makefile.target | 5 ARM_SRC=$(SRC_PATH)/tests/tcg/arm 8 AARCH64_SRC=$(SRC_PATH)/tests/tcg/aarch64 11 # Base architecture tests 43 # Pauth Tests 55 # BTI Tests 56 # bti-1 tests the elf notes, so we require special compiler support. 62 # bti-2 tests PROT_BTI, so no special compiler support required. 65 # MTE Tests 71 # SME Tests 78 # System Registers Tests [all …]
|
/qemu/tests/tcg/x86_64/ |
H A D | Makefile.target | 3 # x86_64 tests - included from tests/tcg/Makefile.target 6 # $(SRC_PATH)/tests/tcg/i386/ 9 include $(SRC_PATH)/tests/tcg/i386/Makefile.target 22 TESTS=$(MULTIARCH_TESTS) $(X86_64_TESTS) test-x86_64 24 TESTS=$(MULTIARCH_TESTS) 39 %: $(SRC_PATH)/tests/tcg/x86_64/%.c
|
H A D | fma.c | 65 static testdata tests[] = { variable 102 for (int i = 0; i < ARRAY_SIZE(tests); i++) { in main() 104 uint64_t r = do_fmadd(tests[i].n, tests[i].m, tests[i].a, in main() 105 tests[i].ftz, &mxcsr); in main() 106 if (r != tests[i].expected_r) { in main() 107 printf("expected result 0x%" PRIx64 "\n", tests[i].expected_r); in main() 110 if (mxcsr != tests[i].expected_mxcsr) { 111 printf("expected MXCSR flags 0x%x\n", tests[ [all...] |
H A D | Makefile.softmmu-target | 2 # x86 system tests 9 I386_SYSTEM_SRC=$(SRC_PATH)/tests/tcg/i386/system 10 X64_SYSTEM_SRC=$(SRC_PATH)/tests/tcg/x86_64/system 12 # These objects provide the basic boot code and helper functions for all tests 21 TESTS+=$(MULTIARCH_TESTS) 30 # Build and link the tests
|
/qemu/tests/tcg/riscv64/ |
H A D | Makefile.target | 4 VPATH += $(SRC_PATH)/tests/tcg/riscv64 5 TESTS += test-div 6 TESTS += noexec 9 TESTS += test-noc 13 TESTS += test-aes 17 TESTS += test-fcvtmod
|
/qemu/contrib/gitdm/ |
H A D | filetypes.txt | 36 order build,interface,tests,code,documentation,devel-doc,blobs 74 filetype tests \.hex$ 75 filetype tests \d{2,3}$ # test data 00-999 76 filetype tests ^[A-Z]{4}$ # ACPI test data 77 filetype tests ^[A-Z]{4}\.*$ # ACPI test data 78 filetype tests \.out$ 79 filetype tests \.out\.nocache$ 80 filetype tests \.err$ 81 filetype tests \.exit$ # bad-if-FOO.exit etc 82 filetype tests \.decode$ [all …]
|
/qemu/tests/tcg/i386/ |
H A D | Makefile.softmmu-target | 2 # x86 system tests 9 I386_SYSTEM_SRC=$(SRC_PATH)/tests/tcg/i386/system 10 X64_SYSTEM_SRC=$(SRC_PATH)/tests/tcg/x86_64/system 12 # These objects provide the basic boot code and helper functions for all tests 21 TESTS+=$(MULTIARCH_TESTS) 30 # Build and link the tests
|