Image 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing | 4 vuotta sitten | |
---|---|---|
.. | ||
baseline-outputs | 4 vuotta sitten | |
execution_monitor-ts | 4 vuotta sitten | |
framework-ts | 4 vuotta sitten | |
inputs | 4 vuotta sitten | |
multithreading-ts | 4 vuotta sitten | |
prg_exec_monitor-ts | 4 vuotta sitten | |
smoke-ts | 4 vuotta sitten | |
test-organization-ts | 4 vuotta sitten | |
usage-variants-ts | 4 vuotta sitten | |
utils-ts | 4 vuotta sitten | |
writing-test-ts | 4 vuotta sitten | |
Jamfile.v2 | 4 vuotta sitten | |
README.md | 4 vuotta sitten | |
gen_coverage.sh | 4 vuotta sitten | |
selfcontained.cpp | 4 vuotta sitten |
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
.
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++"
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
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"