capstone/bindings/python/tests
peace-maker 89aee40003
Add arm64 and sysz compatibility layer to Python bindings (#2559)
* Add arm64.py and sysz_const.py compatibility layer to the Python bindings

When importing `capstone.arm64` before doing other capstone imports the ARM64 constants get monkey patched into the exports.
Same with `capstone.sysz_const` for the SYSZ constants.

* Add SPDX-License comments

* Access an instruction detail in compatibility test

* Fail python tests on error instead of just ERROR output

Include the test_iter.py in the test_all.py too.

* Improve python compatibility docs

Co-authored-by: Rot127 <45763064+Rot127@users.noreply.github.com>

* Test for ARM_CC_* constants presence

---------

Co-authored-by: Rot127 <45763064+Rot127@users.noreply.github.com>
2024-12-05 19:35:18 +08:00
..
test_all.py Add arm64 and sysz compatibility layer to Python bindings (#2559) 2024-12-05 19:35:18 +08:00
test_compatibility_layer.py Add arm64 and sysz compatibility layer to Python bindings (#2559) 2024-12-05 19:35:18 +08:00
test_customized_mnem.py Add arm64 and sysz compatibility layer to Python bindings (#2559) 2024-12-05 19:35:18 +08:00
test_iter.py Add arm64 and sysz compatibility layer to Python bindings (#2559) 2024-12-05 19:35:18 +08:00
test_lite.py Add arm64 and sysz compatibility layer to Python bindings (#2559) 2024-12-05 19:35:18 +08:00
test_skipdata.py Add arm64 and sysz compatibility layer to Python bindings (#2559) 2024-12-05 19:35:18 +08:00
xprint.py Move python tests to test directory 2024-07-15 12:14:03 -07:00