Merge pull request #784 from Scrumplex/refactor-cmake

Refactor tests
This commit is contained in:
flow 2022-07-02 17:50:08 -03:00 committed by GitHub
commit fb75c23f4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 123 additions and 342 deletions

View file

@ -22,8 +22,4 @@ add_library(systeminfo STATIC ${systeminfo_SOURCES})
target_link_libraries(systeminfo Qt5::Core Qt5::Gui Qt5::Network)
target_include_directories(systeminfo PUBLIC include)
include (UnitTest)
add_unit_test(sys
SOURCES src/sys_test.cpp
LIBS systeminfo
)
ecm_add_test(src/sys_test.cpp LINK_LIBRARIES systeminfo Qt5::Test TEST_NAME sys)

View file

@ -1,5 +1,4 @@
#include <QTest>
#include "TestUtil.h"
#include <sys.h>