Skip to content

Commit

Permalink
Removed unit tests from valgrind
Browse files Browse the repository at this point in the history
  • Loading branch information
anarthal committed Dec 14, 2023
1 parent 26a9784 commit 2c1090f
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions test/unit/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,8 @@ if (${CMAKE_VERSION} VERSION_GREATER_EQUAL 3.16)
endif()
boost_mysql_common_target_settings(boost_mysql_unittests)

if (BOOST_MYSQL_VALGRIND_TESTS)
add_memcheck_test(
NAME boost_mysql_unittests_memcheck
TARGET boost_mysql_unittests
)
else()
add_test(
NAME boost_mysql_unittests
COMMAND boost_mysql_unittests
)
add_dependencies(tests boost_mysql_unittests)
endif()
add_test(
NAME boost_mysql_unittests
COMMAND boost_mysql_unittests
)
add_dependencies(tests boost_mysql_unittests)

0 comments on commit 2c1090f

Please sign in to comment.