# # Copyright (c) 2019-2024 Ruben Perez Hidalgo (rubenperez038 at gmail dot com) # # Distributed under the Boost Software License, Version 1.0. (See accompanying # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) # import os ; import sequence ; # Integration test filtering local test_exclusions = "" ; if [ os.environ BOOST_MYSQL_NO_UNIX_SOCKET_TESTS ] != "" { test_exclusions += "!@unix" ; } local test_db = [ os.environ BOOST_MYSQL_TEST_DB ] ; if $(test_db) = "" { test_db = "mysql8" ; } test_exclusions += "!@skip_$(test_db)" ; local test_filter = [ sequence.join $(test_exclusions) : ":" ] ; local test_command = "-t $(test_filter)" ; cpp-pch pch : pch.hpp /boost/mysql/test//boost_mysql_test /boost/mysql/test//boost_context_lib : requirements BOOST_ALLOW_DEPRECATED # Integration tests still exercise the old execution interface ; run pch /boost/mysql/test//common_test_sources /boost/mysql/test//boost_mysql_test /boost/mysql/test//boost_context_lib # Utilities src/get_endpoint.cpp src/metadata_validator.cpp src/er_network_variant.cpp src/sync_errc.cpp src/sync_exc.cpp src/async_callback.cpp src/async_coroutines.cpp src/async_coroutinescpp20.cpp # Actual tests test/spotchecks.cpp test/crud.cpp test/handshake.cpp test/prepared_statements.cpp test/stored_procedures.cpp test/multi_queries.cpp test/static_interface.cpp test/reconnect.cpp test/any_connection.cpp test/character_set_tracking.cpp test/connection_pool.cpp test/db_specific.cpp test/database_types.cpp : requirements $(test_command) msvc:-FI"pch.hpp" # https://github.com/boostorg/boost/issues/711 include BOOST_ALLOW_DEPRECATED # Integration tests still exercise the old execution interface : target-name boost_mysql_integrationtests ;