|
il y a 4 ans | |
---|---|---|
.. | ||
baseline-outputs | il y a 4 ans | |
execution_monitor-ts | il y a 4 ans | |
framework-ts | il y a 4 ans | |
inputs | il y a 4 ans | |
multithreading-ts | il y a 4 ans | |
prg_exec_monitor-ts | il y a 4 ans | |
smoke-ts | il y a 4 ans | |
test-organization-ts | il y a 4 ans | |
usage-variants-ts | il y a 4 ans | |
utils-ts | il y a 4 ans | |
writing-test-ts | il y a 4 ans | |
Jamfile.v2 | il y a 4 ans | |
README.md | il y a 4 ans | |
gen_coverage.sh | il y a 4 ans | |
selfcontained.cpp | il y a 4 ans |
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"