aboutsummaryrefslogtreecommitdiff
path: root/tests/recipe/cxx/testscript
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-06-16 13:07:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-06-16 13:07:31 +0200
commit50e725ae23124a10d56a615fb8b0ae80d0d2b4d3 (patch)
treeab916fa1916d7e435a3bf4e25ef205ce4eccbd08 /tests/recipe/cxx/testscript
parentaf73b1603d851dcb2ce7ae84bd57df0c2f9a716d (diff)
Add metadata for exe{b}, including whether it is statically-linked
Use this information to omit ad hoc C++ recipe tests is testing statically- linked build system.
Diffstat (limited to 'tests/recipe/cxx/testscript')
-rw-r--r--tests/recipe/cxx/testscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/recipe/cxx/testscript b/tests/recipe/cxx/testscript
index 3eb8015..6601c0a 100644
--- a/tests/recipe/cxx/testscript
+++ b/tests/recipe/cxx/testscript
@@ -1,6 +1,10 @@
# file : tests/recipe/cxx/testscript
# license : MIT; see accompanying LICENSE file
+# Ad hoc C++ recipes not supported in a statically-linked build system.
+#
++$shared || exit
+
+mkdir build
+cat <<EOI >=build/bootstrap.build
project = test