mirror of
https://github.com/jorenchik/mdemory.git
synced 2026-03-22 00:26:21 +00:00
some non functional tests
This commit is contained in:
@@ -8,16 +8,30 @@ find_package(GTest REQUIRED)
|
||||
enable_testing()
|
||||
|
||||
add_executable(
|
||||
testTranspiler
|
||||
testTranspiler.cpp
|
||||
|
||||
transpilerFunctional
|
||||
transpilerFunctional.cpp
|
||||
)
|
||||
|
||||
add_executable(
|
||||
transpilerNonFunctional
|
||||
transpilerNonFunctional.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
testTranspiler
|
||||
transpilerFunctional
|
||||
GTest::gtest_main
|
||||
api
|
||||
)
|
||||
|
||||
include(GoogleTest)
|
||||
gtest_discover_tests(testTranspiler)
|
||||
target_link_libraries(
|
||||
transpilerNonFunctional
|
||||
GTest::gtest_main
|
||||
api
|
||||
gui
|
||||
)
|
||||
|
||||
if(ENABLE_TESTS)
|
||||
include(GoogleTest)
|
||||
gtest_discover_tests(transpilerFunctional)
|
||||
gtest_discover_tests(transpilerNonFunctional)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user