summaryrefslogtreecommitdiff
path: root/tools/build/test/toolset_clang_vxworks.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build/test/toolset_clang_vxworks.py')
-rw-r--r--tools/build/test/toolset_clang_vxworks.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/build/test/toolset_clang_vxworks.py b/tools/build/test/toolset_clang_vxworks.py
new file mode 100644
index 0000000000..efdc127595
--- /dev/null
+++ b/tools/build/test/toolset_clang_vxworks.py
@@ -0,0 +1,20 @@
+#!/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"]])