kamping-site / kamping

KaMPIng: (Near) zero-overhead MPI wrapper for modern C++
https://kamping-site.github.io/kamping/
GNU Lesser General Public License v3.0
24 stars 0 forks source link

Fix kassertion tests #611

Closed niklas-uhl closed 5 months ago

niklas-uhl commented 5 months ago

This fixes some issues with the testing of kassertions. Previously, EXPECT_KASSERT_FAILS was only enabled when the assertion level was set to heavy. In the new implementation, we always check for the assertions and test authors must assure that the tests are valid with the currently enabled level. Therefore i adjusted some tests. All tests were tested locally with all assertion levels.