aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2021-03-09Use non-recursive wildcard in bdep-new-generated buildfiles when source ↵Karen Arutyunov1-1/+95
directory is project/package root
2021-02-23Fix test failing due to 'default branch name is subject to change' git 2.30 ↵Karen Arutyunov3-4/+4
warning
2020-11-24Adapt to converting local repo canonical name path part to lower case on WindowsKaren Arutyunov4-21/+21
2020-08-10Fix release testscript failing with bdep-git-pre-commit-version-check git ↵Karen Arutyunov1-3/+4
hook set
2020-07-16Use *.config.mode instead of *.mode in testsBoris Kolpackov10-11/+11
2020-07-16Add support for 'prefix*', 'split' and 'no-subdir*' project type sub-optionsKaren Arutyunov1-18/+515
Also: - rename --subdirectory to --source - rename --type|-t,source to subdir - change the hook's mode variable value 'subdirectory' to 'source' - rename bdep-new-subdirectory.options to bdep-new-source.options - add src, inc, pfx, and sub pre-/post-hooks variables
2020-07-06Use SPDX license ids/names in bdep-newKaren Arutyunov1-1/+1
2020-07-04Load cxx.config rather than cxx for testsKaren Arutyunov1-2/+2
2020-07-04Fix testscript failing with 'not built with default C++ compiler' errorKaren Arutyunov1-0/+8
2020-06-30Fix expected diagnostics in testsBoris Kolpackov1-2/+2
2020-06-19Fix git 2.27 warning when running testsKaren Arutyunov2-3/+3
Starting version 2.27 git requires the divergent branch reconciliation method to be specified explicitly for the pull command.
2020-04-07Make use of project configuration variables for testsKaren Arutyunov3-20/+25
2020-02-13Move bdep-new binless sub-option from --lang|-l to --type|tBoris Kolpackov1-2/+2
2020-02-13Add --type|-t,source sub-option for customizing source subdirectoryBoris Kolpackov1-0/+12
For example: $ bdep new -l c++ -t lib,source=libhello/io libhello-io
2020-02-07Drop copyright notice from source codeKaren Arutyunov16-16/+0
2019-11-07Fix bdep-new tests failing for C projectsKaren Arutyunov1-4/+4
2019-10-25Make C library created by bdep-new portableBoris Kolpackov1-8/+0
Specifically, replace the use of fmemopen() with tmpfile().
2019-10-18Use $quote() for quoting config.cxx option value in testscriptsKaren Arutyunov10-73/+73
2019-10-16Escape quoting in config.{c,cxx} paths when passing to testsBoris Kolpackov11-12/+13
This is needed due to the command line re-parsing (see "Lexical Structure" in the Testscript manual for details).
2019-10-16Tweak tests/ci.testscript to deal with directory symlinksBoris Kolpackov1-2/+3
2019-10-16Quote config.{c,cxx} paths when passing to testsBoris Kolpackov11-12/+14
Without this Windows directory separators are treated as escapes.
2019-09-26Adapt to builtins support added to command run APIKaren Arutyunov1-22/+21
2019-08-22Quote directory paths in buildspecsKaren Arutyunov1-1/+1
2019-08-22Make testscripts to ignore user's default options filesKaren Arutyunov1-1/+23
2019-08-16Add --no-default-options common optionKaren Arutyunov1-1/+7
2019-08-13Add --pre-hook option to bdep-newKaren Arutyunov1-4/+58
2019-08-13Add support for default options filesKaren Arutyunov1-0/+41
2019-08-13Split -am git options in testscriptsKaren Arutyunov2-30/+30
2019-08-12Add support for creating new projects with existing filesBoris Kolpackov1-0/+32
We also recognize and handle the following existing entries in the project root: .git -- assume VCS is already initialized and is Git LICENSE -- try to guess the license from contents README.md -- try to extract the summary line from contents Overall, the idea is to streamline the workflow where one creates a project on one of the hosting services (GitHub, GitLab) and then initializes it with bdep-new. Also, to this effect, specifying the project name is now optional and if omitted the current working directory (or --output-dir, if specified) is assumed to be the project name. Here is an example of this workflow: $ # create project with LICENSE and README.md on Git hosting service $ git clone .../libhello.git $ cd libhello $ bdep new -t lib
2019-07-31Combine multiple single-character options into a single argument for ↵Karen Arutyunov4-24/+24
testscript commands
2019-06-21Add ability to keep/update/remove current tag in bdep-release revision modeKaren Arutyunov1-70/+340
Note that previously the default was to update while now it is to keep.
2019-06-17Allow specifying pkg-args in bdep-init -A and -C formsKaren Arutyunov1-36/+97
2019-05-16Make bdep-new add README.md templateKaren Arutyunov3-12/+66
Can suppressed with the new no-readme --type suboption.
2019-05-06Allow stubs in bdep-release tag modeKaren Arutyunov1-1/+0
2019-05-06Disable progress indication tests on WindowsKaren Arutyunov2-12/+13
2019-04-26Add override options to bdep-ciKaren Arutyunov1-0/+104
Namely the options are: --override, --overrides-file, --builds and --build-email.
2019-04-16Add --amend and --squash options to bdep-releaseKaren Arutyunov1-1/+125
2019-03-24Fix bdep-new test failing for older libstdc++Karen Arutyunov1-1/+1
2019-03-23Add --post-hook option to bdep-newKaren Arutyunov1-7/+95
2019-03-18Omit bdep-new C tests that use fmemopen() on Windows and Mac OSKaren Arutyunov1-0/+2
2019-03-18Merge bdep-new parameter-specific optionsKaren Arutyunov1-2/+149
2019-03-15Add support for c++ source file extensions granular customizationKaren Arutyunov1-0/+170
2019-03-12Add --edit and --no-edit options to bdep-releaseKaren Arutyunov1-3/+4
2019-03-08Configure c module in tests project rather than in top projectKaren Arutyunov1-2/+3
2019-03-08Add support for bdep-new --subdirectory mode, no-version -t=lib sub-optionBoris Kolpackov1-0/+74
2019-03-07Add support for alternative build file/directory naming schemeBoris Kolpackov1-0/+24
Specifically, the bdep-new --type|-t now has the new 'alt-naming' sub-option that can be used to create projects with the alternative naming.
2019-03-04Cleanup some files replacing tabs with spacesKaren Arutyunov3-33/+33
2019-02-23Fix bdep-release tests failing for git 2.20.0 and aboveKaren Arutyunov1-3/+8
Starting 2.20.0 git-pull requires --force option to update local tag.
2019-01-27Fix release tests failing for space-containing project directory pathKaren Arutyunov1-3/+3
2019-01-26Add --open-base option to bdep-releaseBoris Kolpackov1-1/+37