capstone icon indicating copy to clipboard operation
capstone copied to clipboard

test_tms320c64x.c does not abort when not enabled

Open cmcneish opened this issue 1 year ago • 1 comments

Compare: https://github.com/capstone-engine/capstone/blob/1a6921f5cc3e1084a6658ad05ed2c00a7ff1fd00/tests/test_tms320c64x.c#L153 https://github.com/capstone-engine/capstone/blob/1a6921f5cc3e1084a6658ad05ed2c00a7ff1fd00/tests/test_arm.c#L290

This means that checking that abort() has been called in the test when tms320c64x isn't enabled will fail.

All other architecture-specific tests seem ok

cmcneish avatar Jun 06 '24 04:06 cmcneish

I'll start to modernize the whole testing anyways. So this will be fixed with it.

Rot127 avatar Jun 06 '24 05:06 Rot127