Image 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 years ago
..
baseline-outputs 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 years ago
execution_monitor-ts 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 years ago
framework-ts 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 years ago
inputs 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 years ago
multithreading-ts 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 years ago
prg_exec_monitor-ts 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 years ago
smoke-ts 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 years ago
test-organization-ts 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 years ago
usage-variants-ts 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 years ago
utils-ts 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 years ago
writing-test-ts 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 years ago
Jamfile.v2 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 years ago
README.md 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 years ago
gen_coverage.sh 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 years ago
selfcontained.cpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 years ago

README.md

How to run the unit tests

This folder contains the unit tests for Boost.Test.

In order to run the unit tests, you first need to create b2. Check the documentation of boost on how to generate b2.

OSX

Please run the tests in C++11 mode, with the following commands

cd <boost-root-folder>
./bootstrap.sh
./b2 headers
cd libs/test/test
../../../b2 -j8 toolset=clang cxxflags="-stdlib=libc++ -std=c++11" linkflags="-stdlib=libc++" 

Linux

As for OSX, please run the tests in C++11 mode, using the following commands

cd <boost-root-folder>
./bootstrap.sh
./b2 headers
cd libs/test/test
../../../b2 cxxflags=-std=c++11

Windows

Visual Studio 2017 C++17 mode

To run the tests for Visual Studio 2017 / C++17 mode, use the following commands:

cd <boost-root-folder>
call bootstrap.bat
b2 headers
cd libs\test\test
..\..\..\b2 --abbreviate-paths toolset=msvc-14.1 cxxflags="/std:c++latest"