1#!/usr/local/bin/python3.8 2# coding: utf-8 3# 4# Copyright 2017 Steven Watanabe 5# Copyright 2020 René Ferdinand Rivera Morell 6# 7# Distributed under the Boost Software License, Version 1.0. 8# (See accompanying file LICENSE_1_0.txt or copy at 9# http://www.boost.org/LICENSE_1_0.txt) 10 11# validates the clang_linux toolset using a mock of clang 12 13from TestToolset import test_toolset 14 15test_toolset("clang-linux", "3.9.0", [ 16 ["target-os=linux"], 17 ["target-os=linux", "release", "strip=on"], 18 ["target-os=linux", "threading=multi"], 19 ["target-os=linux", "link=static"], 20 ["target-os=linux", "link=static", "runtime-link=static"], 21 ["target-os=linux", "architecture=x86", "address-model=32"]]) 22 23test_toolset("clang-linux", "3.9.0", [ 24 ["target-os=windows"], 25 ["target-os=windows", "release", "strip=on"], 26 ["target-os=windows", "threading=multi"], 27 ["target-os=windows", "link=static"], 28 ["target-os=windows", "architecture=x86", "address-model=32"] 29 ]) 30