From d874fad4b312d5d404386e61be5fc3c0253b9560 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 11 Jan 2021 15:05:39 +0100 Subject: Fix unit tests' config for main --- test/direct_bt/test_attpdu01.cpp | 3 ++- test/direct_bt/test_btaddress01.cpp | 3 ++- test/direct_bt/test_uuid.cpp | 3 ++- test/ieee11073/test_ieee11073_01.cpp | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/direct_bt/test_attpdu01.cpp b/test/direct_bt/test_attpdu01.cpp index 69f0856e..16ee20aa 100644 --- a/test/direct_bt/test_attpdu01.cpp +++ b/test/direct_bt/test_attpdu01.cpp @@ -3,7 +3,8 @@ #include #include -#define CATCH_CONFIG_MAIN +#define CATCH_CONFIG_RUNNER +// #define CATCH_CONFIG_MAIN #include #include diff --git a/test/direct_bt/test_btaddress01.cpp b/test/direct_bt/test_btaddress01.cpp index 1bd2a7c7..3c2896b0 100644 --- a/test/direct_bt/test_btaddress01.cpp +++ b/test/direct_bt/test_btaddress01.cpp @@ -3,7 +3,8 @@ #include #include -#define CATCH_CONFIG_MAIN +#define CATCH_CONFIG_RUNNER +// #define CATCH_CONFIG_MAIN #include #include diff --git a/test/direct_bt/test_uuid.cpp b/test/direct_bt/test_uuid.cpp index 0ba8cc12..44c43f4a 100644 --- a/test/direct_bt/test_uuid.cpp +++ b/test/direct_bt/test_uuid.cpp @@ -3,7 +3,8 @@ #include #include -#define CATCH_CONFIG_MAIN +#define CATCH_CONFIG_RUNNER +// #define CATCH_CONFIG_MAIN #include #include diff --git a/test/ieee11073/test_ieee11073_01.cpp b/test/ieee11073/test_ieee11073_01.cpp index 707d4f51..8d115853 100644 --- a/test/ieee11073/test_ieee11073_01.cpp +++ b/test/ieee11073/test_ieee11073_01.cpp @@ -3,7 +3,8 @@ #include #include -#define CATCH_CONFIG_MAIN +#define CATCH_CONFIG_RUNNER +// #define CATCH_CONFIG_MAIN #include #include -- cgit v1.2.3