Skip to content
Snippets Groups Projects
Commit 90a32989 authored by Moritz Hanke's avatar Moritz Hanke
Browse files

adds test for routine yac_abort

parent 287d3a8e
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,7 @@
#include <mpi.h>
#include "tests.h"
#include "yac.h"
#include "yac_core.h"
static void custom_error_handler(
MPI_Comm comm, const char * msg, const char * source, int line);
......@@ -41,6 +42,8 @@ int main (void) {
yac_set_abort_handler((yac_abort_func)custom_error_handler);
yac_abort(ref_comm_world, ref_msg, ref_source, ref_line);
yac_abort_message(ref_msg, ref_source, ref_line);
// test should never reach this point
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment