summaryrefslogtreecommitdiffstats
path: root/src/boost/tools/build/test/toolset_gcc.py
blob: d3d65fcf9212e9bfe75b529435c2d7cb77e031fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/python
#
# Copyright 2017 Steven Watanabe
#
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)

# validates the gcc toolset using a mock of gcc

from TestToolset import test_toolset

test_toolset("gcc", "4.8.3", [
    ["target-os=linux"],
    ["target-os=linux", "release"],
    ["target-os=linux", "threading=multi"],
    ["target-os=linux", "link=static"],
    ["target-os=linux", "link=static", "runtime-link=static"],
    ["target-os=linux", "cxxstd=latest"]])

test_toolset("gcc", "4.2.1", [
    ["target-os=darwin"],
    ["target-os=darwin", "release"],
    ["target-os=darwin", "threading=multi"],
    ["target-os=darwin", "link=static"],
    ["target-os=darwin", "link=static", "runtime-link=static"]])