Added define to determine where running on.

This commit is contained in:
Kohei Takahashi
2017-10-18 22:43:08 +09:00
parent 8243b3088b
commit 99699ede5d
2 changed files with 2 additions and 2 deletions

View File

@ -547,4 +547,4 @@ install:
script:
- |-
echo "using $TOOLSET : : $COMPILER : <cxxflags>-std=$CXXSTD ;" > ~/user-config.jam
- ./b2 libs/fusion/test toolset=$TOOLSET
- ./b2 libs/fusion/test toolset=$TOOLSET define=RUNNING_ON_TRAVIS=1

View File

@ -71,4 +71,4 @@ install:
build: off
test_script:
- b2 libs/fusion/test toolset=%TOOLSET%
- b2 libs/fusion/test toolset=%TOOLSET% define=RUNNING_ON_APPVEYOR=1