blob: efab386d321ca7ff77bb6970200ecb04d49f0990 [file] [log] [blame]
onqtam862a3bb2016-04-27 18:19:00 +03001//#define DOCTEST_CONFIG_DISABLE
hardlyb1e7e142014-08-06 00:43:51 +03002
onqtamcae73122016-04-29 14:57:23 +03003#include "doctest.h"
onqtam862a3bb2016-04-27 18:19:00 +03004#define DOCTEST_CONFIG_IMPLEMENT
hardlyb1e7e142014-08-06 00:43:51 +03005#include "doctest.h"
6
7#include <cstdio>
onqtamcae73122016-04-29 14:57:23 +03008#include <cstdlib>
hardlyb1e7e142014-08-06 00:43:51 +03009
10int main(int argc, char** argv) {
11 // initialize
12 doctest::Context context(argc, argv);
hardlyb1e7e142014-08-06 00:43:51 +030013
14 // overrides
15 context.setOption("dt-case-sensitive", true);
onqtam862a3bb2016-04-27 18:19:00 +030016 context.setOption("no-breaks", true);
onqtam0cea9bc2016-04-27 12:59:08 +030017 //context.setOption("dt-no-colors", true);
onqtam80d1f182016-04-27 19:08:51 +030018 context.addFilter("name", "zzz");
hardlyb1e7e142014-08-06 00:43:51 +030019
20 // run
21 int res = context.runTests();
22
23#if defined(WITH_PAUSE)
24 system("pause");
onqtam8ccce3b2016-04-20 20:46:05 +030025#endif // WITH_PAUSE
hardlyb1e7e142014-08-06 00:43:51 +030026
27 return res;
28}