aboutsummaryrefslogtreecommitdiff
path: root/tests/new.testscript
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-08-16 15:05:13 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-08-16 15:05:13 +0300
commitffdf220f64c7362bf06f8d43aa9820ed4634fdbb (patch)
tree55d4cca954a14f5248abeea08fbc8d8db3d01ac7 /tests/new.testscript
parent9ee8453f2056bbc2b1767324dec805bf80707a37 (diff)
Add --no-default-options common option
Diffstat (limited to 'tests/new.testscript')
-rw-r--r--tests/new.testscript8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/new.testscript b/tests/new.testscript
index 3c39b47..57263bd 100644
--- a/tests/new.testscript
+++ b/tests/new.testscript
@@ -753,9 +753,15 @@ status += -d prj
--package
EOI
- $* prj 2>>/~%EOE%d != 0
+ $* prj 2>>/~%EOE%d != 0;
%\.+/.build2/bdep-new.options: error: --package in default options file%
EOE
+
+ # Disable default options files loading.
+ #
+ $* --no-default-options prj 2>>/"EOE" &prj/***
+ created new executable project prj in $~/prj/
+ EOE
}
}