boostorg / test

The reference C++ unit testing framework (TDD, xUnit, C++03/11/14/17)
http://boost.org/libs/test
Boost Software License 1.0
183 stars 140 forks source link

generate_int_div_0 does not work on aarch64 #365

Open hdu-sdlzx opened 1 year ago

hdu-sdlzx commented 1 year ago

We use 1/0 to generate a divide-by-zero exception and check if exec monitor works correctly, but this does not work on aarch64, maybe we should skip this test?

https://github.com/boostorg/test/blob/develop/example/exec_mon_example.cpp https://stackoverflow.com/questions/57894010/division-by-zero-not-causing-runtime-exception-on-nvidia-jetson