Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/tests/SelfTest/TestMain.cpp
blob: c7cc5fd07d9b6a03ff335f87909a4021c43e06c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 *  Distributed under the Boost Software License, Version 1.0. (See accompanying
 *  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 */

#include <catch2/catch_tag_alias_autoregistrar.h>

// Some example tag aliases
CATCH_REGISTER_TAG_ALIAS( "[@nhf]", "[failing]~[.]" )
CATCH_REGISTER_TAG_ALIAS( "[@tricky]", "[tricky]~[.]" )

#ifdef __clang__
#   pragma clang diagnostic ignored "-Wpadded"
#   pragma clang diagnostic ignored "-Wweak-vtables"
#   pragma clang diagnostic ignored "-Wc++98-compat"
#endif

#include <catch2/reporters/catch_reporter_bases.hpp>

struct TestListener : Catch::TestEventListenerBase {
    using TestEventListenerBase::TestEventListenerBase;
};

#include <catch2/catch_reporter_registrars.hpp>

CATCH_REGISTER_LISTENER( TestListener )

#include <catch2/catch_default_main.hpp>