aboutsummaryrefslogtreecommitdiff
path: root/tests/new.testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/new.testscript')
-rw-r--r--tests/new.testscript12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/new.testscript b/tests/new.testscript
index d8858b3..4fefe56 100644
--- a/tests/new.testscript
+++ b/tests/new.testscript
@@ -173,6 +173,18 @@ status += -d prj
EOE
}
+ : lib-alt-source
+ :
+ {
+ $* -l c++ -t lib,source=libprj/foo libprj-foo 2>>/"EOE" &libprj-foo/***;
+ created new library project libprj-foo in $~/libprj-foo/
+ EOE
+
+ $build libprj-foo/ $config_cxx 2>>~%EOE%
+ %(version\.in|c\+\+|ar|ld) .+%{7}
+ EOE
+ }
+
# C versions of the above.
#
: exe-c