diff options
Diffstat (limited to 'tests/new.testscript')
-rw-r--r-- | tests/new.testscript | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/new.testscript b/tests/new.testscript index 9f7db17..b3cdae4 100644 --- a/tests/new.testscript +++ b/tests/new.testscript @@ -1869,4 +1869,24 @@ subdir=hello,no-subdir-source \ %(mkdir|c\+\+|ld|ln) .+%{4} EOE } + + : no-module + : + { + $* -C -@cfg prj 2>>EOE != 0; + error: no module(s) specified for configuration to be created + info: for example, for C/C++ configuration specify 'cc' + info: use '--' to create configuration without modules + info: for example: bdep new -C ... -- + EOE + + $* -C -@cfg prj -- 2>>/~"%EOE%" &prj/*** &prj-cfg/***; + created new executable project prj in $~/prj/ + created configuration @cfg $~/prj-cfg/ 1 target default,forwarded,auto-synchronized + synchronizing: + % new prj.+19700101000000% + EOE + + $status >'prj configured 0.1.0-a.0.19700101000000' + } } |