예제 #1
0
#!/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 clang_linux toolset using a mock of clang

from TestToolset import test_toolset

test_toolset("clang-linux", "3.9.0",
             [["target-os=linux"], ["target-os=linux", "release", "strip=on"],
              ["target-os=linux", "threading=multi"],
              ["target-os=linux", "link=static"],
              ["target-os=linux", "link=static", "runtime-link=static"],
              ["target-os=linux", "architecture=x86", "address-model=32"]])
예제 #2
0
#!/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"]])
예제 #3
0
#!/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 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"]
])
예제 #4
0
#!/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 intel-darwin toolset using a mock of icc

from TestToolset import test_toolset

test_toolset("intel-darwin", "10.2", [
    ["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"],
    ["target-os=darwin", "architecture=x86", "address-model=32"]])
예제 #5
0
#!/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 clang-darwin toolset using a mock of clang

from TestToolset import test_toolset

test_toolset("clang-darwin", "3.9.0",
             [["target-os=darwin"],
              ["target-os=darwin", "release", "strip=on", "linkflags=-v"],
              ["target-os=darwin", "threading=multi"],
              ["target-os=darwin", "link=static"],
              ["target-os=darwin", "link=static", "runtime-link=static"],
              ["target-os=darwin", "architecture=x86", "address-model=32"],
              ["target-os=darwin", "cxxstd=latest"]])
예제 #6
0
#!/usr/bin/python
#
# Copyright 2018 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 clang_vxworks toolset using a mock of clang

from TestToolset import test_toolset

test_toolset("clang-vxworks", "4.0.1",
             [["target-os=vxworks"],
              ["target-os=vxworks", "release", "strip=on", "linkflags=-t"],
              ["target-os=vxworks", "threading=multi"],
              ["target-os=vxworks", "link=static"],
              ["target-os=vxworks", "link=static", "runtime-link=static"],
              ["target-os=vxworks", "architecture=x86", "address-model=32"],
              ["target-os=vxworks", "rtti=off", "exception-handling=off"]])
예제 #7
0
#!/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 clang-darwin toolset using a mock of clang

from TestToolset import test_toolset

test_toolset("clang-darwin", "3.9.0", [
    ["target-os=darwin"],
    ["target-os=darwin", "release", "strip=on", "linkflags=-v"],
    ["target-os=darwin", "threading=multi"],
    ["target-os=darwin", "link=static"],
    ["target-os=darwin", "link=static", "runtime-link=static"],
    ["target-os=darwin", "architecture=x86", "address-model=32"],
    ["target-os=darwin", "cxxstd=latest"]])
예제 #8
0
#!/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 clang_linux toolset using a mock of clang

from TestToolset import test_toolset

test_toolset("clang-linux", "3.9.0", [
    ["target-os=linux"],
    ["target-os=linux", "release", "strip=on"],
    ["target-os=linux", "threading=multi"],
    ["target-os=linux", "link=static"],
    ["target-os=linux", "link=static", "runtime-link=static"],
    ["target-os=linux", "architecture=x86", "address-model=32"]])
예제 #9
0
#!/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 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"]
])
예제 #10
0
#!/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"]])