testing

#include <compatibility/hpx/util/lightweight_test.hpp>

#include <hpx/testing.hpp>

Defines

HPX_TEST(expr)
HPX_TEST_MSG(expr, msg)
HPX_TEST_EQ(expr1, expr2)
HPX_TEST_NEQ(expr1, expr2)
HPX_TEST_LT(expr1, expr2)
HPX_TEST_LTE(expr1, expr2)
HPX_TEST_RANGE(expr1, expr2, expr3)
HPX_TEST_EQ_MSG(expr1, expr2, msg)
HPX_TEST_NEQ_MSG(expr1, expr2, msg)
HPX_SANITY(expr)
HPX_SANITY_MSG(expr, msg)
HPX_SANITY_EQ(expr1, expr2)
HPX_SANITY_NEQ(expr1, expr2)
HPX_SANITY_LT(expr1, expr2)
HPX_SANITY_LTE(expr1, expr2)
HPX_SANITY_RANGE(expr1, expr2, expr3)
HPX_SANITY_EQ_MSG(expr1, expr2, msg)
HPX_TEST_THROW(expression, exception)
namespace hpx
namespace util

Typedefs

using hpx::util::test_failure_handler_type = typedef std::function<void()>

Enums

enum counter_type

Values:

counter_sanity
counter_test

Functions

void set_test_failure_handler(test_failure_handler_type f)
int report_errors(std::ostream &stream = std::cerr)
void print_cdash_timing(const char *name, double time)
void print_cdash_timing(const char *name, std::uint64_t time)