2
0
mirror of https://github.com/boostorg/test.git synced 2026-02-20 15:12:11 +00:00
Files
test/test
Raffi Enficiaud 6f55433094 Fix counting the skipped tests
- framework now does not shortcut the message when a skipped
  tests is encountered
- framework messages are now at line "0" to avoid any further noise
  in the messages when files in the framework are changed
- counting tests in case of disabled tests goes in the hierarchy
- counter class now has the ability to discard the enabled status
  to count properly the children tests
- adding tests
- ensuring C++03 compatibility
2019-11-11 21:15:08 +01:00
..
2015-10-20 15:00:23 +02:00
2015-06-27 18:19:29 -04:00
2018-09-24 00:47:13 +02:00
2019-10-30 08:15:57 +01:00
2019-10-30 08:15:57 +01:00
2015-10-20 15:00:23 +02:00
2019-11-11 21:15:08 +01:00

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"