Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
baseline-outputs/ | 12-May-2024 | - | 9,578 | 8,207 | ||
execution_monitor-ts/ | 12-May-2024 | - | 348 | 220 | ||
framework-ts/ | 12-May-2024 | - | 2,166 | 1,520 | ||
inputs/ | 12-May-2024 | - | 232 | 143 | ||
multithreading-ts/ | 12-May-2024 | - | 58 | 30 | ||
prg_exec_monitor-ts/ | 12-May-2024 | - | 148 | 42 | ||
smoke-ts/ | 12-May-2024 | - | 120 | 68 | ||
test-organization-ts/ | 12-May-2024 | - | 4,024 | 2,573 | ||
usage-variants-ts/ | 12-May-2024 | - | 341 | 114 | ||
utils-ts/ | 12-May-2024 | - | 3,030 | 2,070 | ||
writing-test-ts/ | 12-May-2024 | - | 3,693 | 2,471 | ||
CMakeLists.txt | D | 12-May-2024 | 5.5 KiB | 188 | 154 | |
Jamfile.v2 | D | 12-May-2024 | 29.5 KiB | 508 | 418 | |
README.md | D | 12-May-2024 | 968 | 38 | 26 | |
gen_coverage.sh | D | 12-May-2024 | 846 | 21 | 14 | |
selfcontained.cpp | D | 12-May-2024 | 460 | 16 | 4 |
README.md
1# How to run the unit tests 2 3This folder contains the unit tests for Boost.Test. 4 5In order to run the unit tests, you first need to create `b2`. Check the documentation of boost 6on how to generate `b2`. 7 8## OSX 9 10Please run the tests in C++11 mode, with the following commands 11 12 cd <boost-root-folder> 13 ./bootstrap.sh 14 ./b2 headers 15 cd libs/test/test 16 ../../../b2 -j8 toolset=clang cxxflags="-stdlib=libc++ -std=c++11" linkflags="-stdlib=libc++" 17 18## Linux 19 20As for OSX, please run the tests in C++11 mode, using the following commands 21 22 cd <boost-root-folder> 23 ./bootstrap.sh 24 ./b2 headers 25 cd libs/test/test 26 ../../../b2 cxxflags=-std=c++11 27 28## Windows 29 30 31### Visual Studio 2017 C++17 mode 32To run the tests for Visual Studio 2017 / C++17 mode, use the following commands: 33 34 cd <boost-root-folder> 35 call bootstrap.bat 36 b2 headers 37 cd libs\test\test 38 ..\..\..\b2 --abbreviate-paths toolset=msvc-14.1 cxxflags="/std:c++latest"