aboutsummaryrefslogtreecommitdiff
path: root/tests/new.testscript
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-11-06 20:11:18 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-11-09 15:48:48 +0300
commita52f444c25a558947d8ecea1642e09c92867c280 (patch)
tree08ba75fe5da6bca67b6ca0d73408867cb83c17ec /tests/new.testscript
parent87b202a805f5aee48896abfc8be8886acdbd99d0 (diff)
Add support for no-subdir-include sub-option for lib project type in bdep-new
Diffstat (limited to 'tests/new.testscript')
-rw-r--r--tests/new.testscript16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/new.testscript b/tests/new.testscript
index 49f43b1..d8c0b9c 100644
--- a/tests/new.testscript
+++ b/tests/new.testscript
@@ -1937,6 +1937,22 @@ status += -d prj
EOE
}
+ : split-no-subdir-include
+ :
+ {
+ $* -l c++ -t lib,split,subdir=hello,no-subdir-include,no-version libhello 2>>/"EOE" &libhello/***;
+ created new library project libhello in $~/libhello/
+ EOE
+
+ $build libhello/ $config_cxx 2>>~%EOE%;
+ %(c\+\+|ld|ar) .+%{6}
+ EOE
+
+ $t libhello/ $config_cxx 2>>~%EOE%
+ %test .+%
+ EOE
+ }
+
: include-in-src
:
{