summaryrefslogtreecommitdiff
path: root/test cases/common/22 object extraction
AgeCommit message (Collapse)Author
2025-10-20interpreter: Fix extract_object subproject validationXavier Claessens
Fixes: #12519
2021-12-06interpreter: allow extract_objects to receive generated sourcesPaolo Bonzini
Fixes: #8333
2021-10-04various python neatness cleanupsEli Schwartz
All changes were created by running "pyupgrade --py3-only" and committing the results. Although this has been performed in the past, newer versions of pyupgrade can automatically catch more opportunities, notably list comprehensions can use generators instead, in the following cases: - unpacking into function arguments as function(*generator) - unpacking into assignments of the form x, y = generator - as the argument to some builtin functions such as min/max/sorted Also catch a few creeping cases of new code added using older styles.
2021-08-21Path special casing for the Xcode backend.Jussi Pakkanen
2021-06-22tests: both_library test improvementsDaniel Mensinger
This switches some `shared_library()` calls to `library()` and adds one new CI matrix entries for -Ddefault_library={static, both}.
2021-06-22extract_objects: skip headers when building custom_target command linePaolo Bonzini
As seen in the testcase, passing objects to custom_target does not work if headers are passed extract_objects(), or if extract_all_objects() is used and the sources include any header files. To fix this, use the code that already exists for unity build to filter out the nonexistent ".h.o" files. This already gives for free the handling of genlist, which was mentioned in a TODO comment.
2021-06-22extract_objects: test and document using the result in a custom_targetPaolo Bonzini
QEMU would like to use the result of extract_objects in a custom_target; examples are using objcopy, or using the object files as the key to look up command line arguments in compile_commands.json. This is slightly peculiar and not covered by the test suite, but it works; in order to avoid regressions, add a test case and document it.
2021-04-26Condense test directory names.Jussi Pakkanen