summaryrefslogtreecommitdiffstats
path: root/hammer.py
diff options
context:
space:
mode:
authorMarcin Godzina <mgodzina@isc.org>2024-04-24 13:41:18 +0200
committerAndrei Pavel <andrei@isc.org>2024-06-03 18:25:26 +0200
commit0103b20ca55a83f693713713a1b68ca66a659faf (patch)
tree88068231437aff0cff4b1a3f4d5919c6ab1816ae /hammer.py
parent[#3445] hammer: add git and change bash to sh (diff)
downloadkea-0103b20ca55a83f693713713a1b68ca66a659faf.tar.xz
kea-0103b20ca55a83f693713713a1b68ca66a659faf.zip
[#3350] Updated gtest version to 1.14
Diffstat (limited to 'hammer.py')
-rwxr-xr-xhammer.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/hammer.py b/hammer.py
index c4c14aa781..10ff6f0c93 100755
--- a/hammer.py
+++ b/hammer.py
@@ -1100,7 +1100,7 @@ class VagrantEnv(object):
def _install_gtest_sources():
"""Install gtest sources."""
# download gtest sources only if it is not present as native package
- gtest_version = '1.10.0'
+ gtest_version = '1.14.0'
gtest_path = f'/usr/src/googletest-release-{gtest_version}/googletest'
if os.path.exists(gtest_path):
log.info(f'gtest is already installed in {gtest_path}.')
@@ -1108,11 +1108,11 @@ def _install_gtest_sources():
execute('mkdir -p ~/.hammer-tmp')
cmd = 'wget --no-verbose -O ~/.hammer-tmp/gtest.tar.gz '
- cmd += f'https://github.com/google/googletest/archive/release-{gtest_version}.tar.gz'
+ cmd += f'https://github.com/google/googletest/archive/refs/tags/v{gtest_version}.tar.gz'
execute(cmd)
execute('sudo mkdir -p /usr/src')
execute('sudo tar -C /usr/src -zxf ~/.hammer-tmp/gtest.tar.gz')
- execute(f'sudo ln -sf /usr/src/googletest-release-{gtest_version} /usr/src/googletest')
+ execute(f'sudo ln -sf /usr/src/googletest-{gtest_version} /usr/src/googletest')
execute('rm -rf ~/.hammer-tmp')