diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-08-15 14:42:24 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-08-15 14:42:24 +0200 |
commit | b1aafd32c2e8eaa636eb13398219f225f480e788 (patch) | |
tree | 699076452e5b12ef51b039488d1f15db725ce45e /tests/common.test | |
parent | 8e5f53fd249f08b0be0a7d4eec65f425cfb79eae (diff) |
Always use full (three-component) git version for consistency
Diffstat (limited to 'tests/common.test')
-rw-r--r-- | tests/common.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/common.test b/tests/common.test index 80d37d3..46c4de9 100644 --- a/tests/common.test +++ b/tests/common.test @@ -16,7 +16,7 @@ build = $recall($build.path) test.options += --build $build # Check that git version is the minimum supported one or above. The lowest -# common denominator for bdep commands is 2.1. +# common denominator for bdep commands is 2.1.0. # +git --version | set git_version_out @@ -32,7 +32,7 @@ end +if! ($git_version_major > 2 || \ $git_version_major == 2 && $git_version_minor >= 1) - exit "minimum supported git version is 2.1" + exit "minimum supported git version is 2.1.0" end # Helper commands that can be used by tests to prepare the testing environment |