26 using namespace shamsys::instance;
31 "trying to run a test with wrong number of nodes");
39 }
catch (
const std::exception &e) {
40 current_test.asserts.assert_add_comment(
"exception_thrown",
false, e.what());
Header file describing a Node Instance.
std::uint32_t u32
32 bit unsigned integer
This header file contains utility functions related to exception handling in the code.
ExcptTypes make_except_with_loc(std::string message, SourceLocation loc=SourceLocation{})
Create an exception with a message and a location.
i32 world_rank()
Gives the rank of the current process in the MPI communicator.
i32 world_size()
Gives the size of the MPI communicator.
implementation details of the test library
TestResult current_test
Current test being run.
TestResult run()
Run the test.
void(* test_functor)()
Test function.
i32 world_size
Node count of the test.
std::string name
Name of the test.
TestType type
Type of test.