summaryrefslogtreecommitdiffstats
path: root/src/boost/tools/build/test/toolset_clang_linux.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/tools/build/test/toolset_clang_linux.py')
-rw-r--r--src/boost/tools/build/test/toolset_clang_linux.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/boost/tools/build/test/toolset_clang_linux.py b/src/boost/tools/build/test/toolset_clang_linux.py
new file mode 100644
index 000000000..eed96875f
--- /dev/null
+++ b/src/boost/tools/build/test/toolset_clang_linux.py
@@ -0,0 +1,29 @@
+#!/usr/bin/python
+# coding: utf-8
+#
+# Copyright 2017 Steven Watanabe
+# Copyright 2020 René Ferdinand Rivera Morell
+#
+# 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_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"]])
+
+test_toolset("clang-linux", "3.9.0", [
+ ["target-os=windows"],
+ ["target-os=windows", "release", "strip=on"],
+ ["target-os=windows", "threading=multi"],
+ ["target-os=windows", "link=static"],
+ ["target-os=windows", "architecture=x86", "address-model=32"]
+ ])