You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
597 B

// License: Apache 2.0. See LICENSE file in root directory.
// Copyright(c) 2020 Intel Corporation. All Rights Reserved.
#pragma once
// Catch defines CHECK() and so does EL++, and so we have to undefine it or we get compilation errors!
#undef CHECK
// Otherwise, don't let it define its own:
#define ELPP_NO_CHECK_MACROS
// We set our own main by default, so CATCH_CONFIG_MAIN will cause linker errors!
#if defined(CATCH_CONFIG_MAIN)
#error CATCH_CONFIG_MAIN must not be defined: to run your own main(), use CATCH_CONFIG_RUNNER with #cmake:custom-main
#endif
#include <catch2/catch_all.hpp>