summaryrefslogtreecommitdiffstats
path: root/src/boost/tools/build/test/toolset_darwin.py
blob: 246c27305c0935d4e6df66c882ce427766e63801 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/python
#
# Copyright 2017 Steven Watanabe
#
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE.txt or copy at
# https://www.bfgroup.xyz/b2/LICENSE.txt)

# validates the darwin toolset using a mock of gcc

from TestToolset import test_toolset

test_toolset("darwin", "4.2.1", [
    ["target-os=darwin"],
    ["target-os=darwin", "release", "strip=on"],
    ["target-os=darwin", "threading=multi"],
    ["target-os=darwin", "link=static"],
    ["target-os=darwin", "link=static", "runtime-link=static"],
# Address-model handling is quite broken
#    ["target-os=darwin", "architecture=x86", "address-model=32"]
])