From cfc74e2f362a89f2f447c4b380c319f1046718a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cezary=20Skrzy=C5=84ski?= Date: Tue, 10 Oct 2023 19:35:04 +0200 Subject: [PATCH] tests: re-enable all unit tests --- tests/cmake/macrosForCreatingTests.cmake | 1 + tests/functional_small/CMakeLists.txt | 13 +++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/tests/cmake/macrosForCreatingTests.cmake b/tests/cmake/macrosForCreatingTests.cmake index 480401f68..24e3d12e1 100644 --- a/tests/cmake/macrosForCreatingTests.cmake +++ b/tests/cmake/macrosForCreatingTests.cmake @@ -2,6 +2,7 @@ macro(add_serial_exe_and_test TESTNAME PKGNAME TESTSRCS REGEX) set(testNameFinal ${PKGNAME}_${TESTNAME}) add_executable(${testNameFinal} ${TESTSRCS}) + target_link_libraries(${testNameFinal} pressio) add_test(NAME ${testNameFinal} COMMAND ${testNameFinal}) set_tests_properties( ${testNameFinal} diff --git a/tests/functional_small/CMakeLists.txt b/tests/functional_small/CMakeLists.txt index ad8285909..c6c258a20 100644 --- a/tests/functional_small/CMakeLists.txt +++ b/tests/functional_small/CMakeLists.txt @@ -1,3 +1,4 @@ + set(TESTING_LEVEL functional_small) add_subdirectory(mpl) @@ -5,9 +6,9 @@ add_subdirectory(utils) add_subdirectory(type_traits) add_subdirectory(expressions) add_subdirectory(ops) -# add_subdirectory(qr) -# add_subdirectory(solvers_linear) -# add_subdirectory(solvers_nonlinear) -# add_subdirectory(ode_advancers) -# add_subdirectory(ode_steppers) -# add_subdirectory(rom) +add_subdirectory(qr) +add_subdirectory(solvers_linear) +add_subdirectory(solvers_nonlinear) +add_subdirectory(ode_advancers) +add_subdirectory(ode_steppers) +add_subdirectory(rom)