bombela / backward-cpp

A beautiful stack trace pretty printer for C++
MIT License
3.76k stars 480 forks source link

Fix tests on aarch64 and mips architecture #242

Closed traversaro closed 2 years ago

traversaro commented 2 years ago

The divide_by_zero is meant to run if both __aarch64__ and __mips__ are not defined, meaning that the test is being compiled on any other architecture. As it is now, the test is being compiled also on __aarch64__ architecture, as !defined(__mips__) is true.