Skip to content

Commit

Permalink
Use static linking instead of dynamic linking for Boost.Test
Browse files Browse the repository at this point in the history
  • Loading branch information
Tessil committed Mar 24, 2022
1 parent 9775e6a commit 38ace2f
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 10 deletions.
2 changes: 0 additions & 2 deletions tests/custom_allocator_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
#define BOOST_TEST_DYN_LINK

#include <tsl/robin_map.h>

#include <boost/test/unit_test.hpp>
Expand Down
3 changes: 1 addition & 2 deletions tests/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,5 @@
* SOFTWARE.
*/
#define BOOST_TEST_MODULE robin_map_tests
#define BOOST_TEST_DYN_LINK

#include <boost/test/unit_test.hpp>
#include <boost/test/unit_test.hpp>
2 changes: 0 additions & 2 deletions tests/policy_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
#define BOOST_TEST_DYN_LINK

#include <tsl/robin_growth_policy.h>

#include <boost/mpl/list.hpp>
Expand Down
2 changes: 0 additions & 2 deletions tests/robin_map_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
#define BOOST_TEST_DYN_LINK

#include <tsl/robin_map.h>

#include <boost/mpl/list.hpp>
Expand Down
2 changes: 0 additions & 2 deletions tests/robin_set_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
#define BOOST_TEST_DYN_LINK

#include <tsl/robin_set.h>

#include <boost/mpl/list.hpp>
Expand Down

0 comments on commit 38ace2f

Please sign in to comment.