diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-08-11 22:25:39 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-08-11 22:25:39 +0300 |
commit | 7a6c15e8ff135fc6b22b09038454d007da9642f4 (patch) | |
tree | f7a4454c2e1cd0c528e92c5b0f9017263d48cba9 /tests/publish.test | |
parent | 4a9790b9d8262f44bd42bfe9af0860873725b32b (diff) |
Make get-related functions to take minimum supported version as an argument
Diffstat (limited to 'tests/publish.test')
-rw-r--r-- | tests/publish.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/publish.test b/tests/publish.test index dbdcabd..8541d9c 100644 --- a/tests/publish.test +++ b/tests/publish.test @@ -24,6 +24,12 @@ init += $cxx -d prj 2>! &prj/**/bootstrap/*** windows = ($cxx.target.class == 'windows') +# bdep-publish requirements for the minimum supported git version are higher +# then the default 2.1 (see bdep/publish.cxx for details). +# +git_supported = ($git_version_major > 2 || \ + $git_version_major == 2 && $git_version_minor >= 12) + # Note that using the same package name and version for tests may result in # duplicate submissions. We will use unique version for each test, # incrementing the patch version for 1.0.X. |