Skip to content

Commit

Permalink
Fix diff CI test by disassembling AArch64 at former ARM64 place
Browse files Browse the repository at this point in the history
  • Loading branch information
Rot127 committed Nov 3, 2023
1 parent f5918ae commit ccb4e17
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions tests/test_detail.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,12 +156,12 @@ static void test()
"Arm-V8"
},
#endif
#ifdef CAPSTONE_HAS_ARM64
#ifdef CAPSTONE_HAS_AARCH64
{
CS_ARCH_ARM64,
CS_ARCH_AARCH64,
CS_MODE_ARM,
(unsigned char *)ARM64_CODE,
sizeof(ARM64_CODE) - 1,
(unsigned char *)AARCH64_CODE,
sizeof(AARCH64_CODE) - 1,
"AARCH64"
},
#endif
Expand Down Expand Up @@ -195,15 +195,6 @@ static void test()
"MIPS-32R6 (Big-endian)"
},
#endif
#ifdef CAPSTONE_HAS_AARCH64
{
CS_ARCH_AARCH64,
CS_MODE_ARM,
(unsigned char *)AARCH64_CODE,
sizeof(AARCH64_CODE) - 1,
"AARCH64"
},
#endif
#ifdef CAPSTONE_HAS_POWERPC
{
CS_ARCH_PPC,
Expand Down

0 comments on commit ccb4e17

Please sign in to comment.