diff options
author | Sven Gothel <[email protected]> | 2021-01-11 15:05:39 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2021-01-11 15:05:39 +0100 |
commit | d874fad4b312d5d404386e61be5fc3c0253b9560 (patch) | |
tree | e06aee6bd0b96a3bb68fdc36fb6f288c500692c7 | |
parent | b1ab23bed01f6d3f3634514563427e8c39c64485 (diff) |
Fix unit tests' config for main
-rw-r--r-- | test/direct_bt/test_attpdu01.cpp | 3 | ||||
-rw-r--r-- | test/direct_bt/test_btaddress01.cpp | 3 | ||||
-rw-r--r-- | test/direct_bt/test_uuid.cpp | 3 | ||||
-rw-r--r-- | test/ieee11073/test_ieee11073_01.cpp | 3 |
4 files changed, 8 insertions, 4 deletions
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 <cinttypes> #include <cstring> -#define CATCH_CONFIG_MAIN +#define CATCH_CONFIG_RUNNER +// #define CATCH_CONFIG_MAIN #include <catch2/catch_amalgamated.hpp> #include <jau/test/catch2_ext.hpp> 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 <cinttypes> #include <cstring> -#define CATCH_CONFIG_MAIN +#define CATCH_CONFIG_RUNNER +// #define CATCH_CONFIG_MAIN #include <catch2/catch_amalgamated.hpp> #include <jau/test/catch2_ext.hpp> 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 <cinttypes> #include <cstring> -#define CATCH_CONFIG_MAIN +#define CATCH_CONFIG_RUNNER +// #define CATCH_CONFIG_MAIN #include <catch2/catch_amalgamated.hpp> #include <jau/test/catch2_ext.hpp> 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 <cinttypes> #include <cstring> -#define CATCH_CONFIG_MAIN +#define CATCH_CONFIG_RUNNER +// #define CATCH_CONFIG_MAIN #include <catch2/catch_amalgamated.hpp> #include <jau/test/catch2_ext.hpp> |