Remove catch_default_main.hpp

There are two reasons for this:

1) It is highly unlikely that someone has use for this header,
which has no customization points and only provides simplest
possible main, and cannot link the static library which also
provides a default main implementation.
2) It being a header was causing extra complications with
the convenience headers, and our checking script. This would either
require special handling in the checking script, or would break user's
of the main convenience header.

All in all, it is simpler and better in the long term to remove it,
than to fix its problems.
This commit is contained in:
Martin Hořeňovský
2020-05-07 16:24:05 +02:00
parent e78b4f6be7
commit db32550898
13 changed files with 41 additions and 66 deletions

View File

@ -1,8 +1,4 @@
// 010-TestCase.cpp
// Let Catch provide main():
#include <catch2/internal/catch_default_main.hpp>
// And write tests in the same file:
#include <catch2/catch_test_macros.hpp>