mirror of
https://github.com/ashaduri/gsmartcontrol.git
synced 2026-09-26 22:05:34 +00:00
Register libdebug domains in test_all.
This commit is contained in:
@@ -16,8 +16,9 @@ target_sources(test_all PRIVATE
|
||||
test_all.cpp
|
||||
)
|
||||
target_link_libraries(test_all PRIVATE
|
||||
libdebug
|
||||
applib_tests
|
||||
Catch2WithMain
|
||||
Catch2
|
||||
)
|
||||
|
||||
catch_discover_tests(test_all)
|
||||
|
||||
@@ -10,8 +10,23 @@ Copyright:
|
||||
/// @{
|
||||
|
||||
|
||||
// Nothing here - by linking to Catch2WithMain we define the main() function.
|
||||
// We link to all the other test-containing libraries.
|
||||
#include "catch2/catch_session.hpp"
|
||||
#include "libdebug/libdebug.h"
|
||||
|
||||
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
debug_register_domain("gtk");
|
||||
debug_register_domain("app");
|
||||
debug_register_domain("hz");
|
||||
debug_register_domain("rmn");
|
||||
debug_register_domain("rconfig");
|
||||
|
||||
int result = Catch::Session().run( argc, argv );
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// @}
|
||||
|
||||
Reference in New Issue
Block a user