• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

baseline-outputs/H10-Dec-2019-9,2427,898

execution_monitor-ts/H10-Dec-2019-353222

framework-ts/H10-Dec-2019-2,0451,427

inputs/H07-May-2022-232143

multithreading-ts/H10-Dec-2019-5830

prg_exec_monitor-ts/H10-Dec-2019-14842

smoke-ts/H10-Dec-2019-12068

test-organization-ts/H10-Dec-2019-4,0242,573

usage-variants-ts/H10-Dec-2019-31596

utils-ts/H10-Dec-2019-3,0302,070

writing-test-ts/H10-Dec-2019-3,5482,358

Jamfile.v2H A D10-Dec-201929.4 KiB508418

README.mdH A D10-Dec-2019968 3826

gen_coverage.shH A D10-Dec-2019846 2114

selfcontained.cppH A D10-Dec-2019460 164

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"