<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/test/libapt/CMakeLists.txt, branch 2.9.1</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=2.9.1</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=2.9.1'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2023-11-18T13:40:40Z</updated>
<entry>
<title>Use different variable name in GTest source path detection</title>
<updated>2023-11-18T13:40:40Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2023-11-18T13:40:40Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=1f5ecf5d211a073892e05047becd4e55f3e055c9'/>
<id>urn:sha1:1f5ecf5d211a073892e05047becd4e55f3e055c9</id>
<content type='text'>
We used GTEST_ROOT, which becomes an issue with 3.27 as that variable
would influence find_package behaviour by providing PREFIXES –
introduced with potentially mixed-cased name in 3.12.

CMake Warning (dev) at test/libapt/CMakeLists.txt:8 (find_package):
  Policy CMP0144 is not set: find_package uses upper-case &lt;PACKAGENAME&gt;_ROOT
  variables.  Run "cmake --help-policy CMP0144" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  CMake variable GTEST_ROOT is set to:

    /usr/src/googletest/googletest

  For compatibility, find_package is ignoring the variable, but code in a
  .cmake module might still use it.

As using this new feature isn't what we wanted at all, we just use a
different variable name to avoid the warning and potential future
problems if we would keep using this name.
</content>
</entry>
<entry>
<title>Add support for GTest 1.9, do not fail silently if its missing</title>
<updated>2020-01-07T20:32:23Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2020-01-07T20:29:11Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=01ff55f375b3d9e96b178d3a963d9e3d5ac5134b'/>
<id>urn:sha1:01ff55f375b3d9e96b178d3a963d9e3d5ac5134b</id>
<content type='text'>
Require passing -DWITH_TESTS=OFF to CMakeList to disable
unit tests, rather than ignoring them if GTest cannot be
found; which just happened on CI...
</content>
</entry>
<entry>
<title>Fix use of GTest to adjust for GTest 1.9</title>
<updated>2019-09-19T09:11:18Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2019-09-19T09:02:44Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=25006573002971500d1501331716e9ca348f815f'/>
<id>urn:sha1:25006573002971500d1501331716e9ca348f815f</id>
<content type='text'>
GTest 1.9 uses a variable defined in the parent directory, thus
failing to configure. Configure the project in the parent directory
instead.
</content>
</entry>
<entry>
<title>CMake: Enforce "override" use on overriden methods</title>
<updated>2019-05-06T14:29:40Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2019-05-06T14:29:40Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=3bec42fdf01eb3f7403876979023ad952228ee73'/>
<id>urn:sha1:3bec42fdf01eb3f7403876979023ad952228ee73</id>
<content type='text'>
This ensures that we do not accidentally stop overriding a
method because it's signature changed in an API break.
</content>
</entry>
<entry>
<title>Merge libapt-inst into libapt-pkg</title>
<updated>2019-05-06T10:14:04Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2019-05-06T09:40:08Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=dfe2511e31f232a8a8880eba40af40d1deb0e49c'/>
<id>urn:sha1:dfe2511e31f232a8a8880eba40af40d1deb0e49c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>CMake: Use ${PROJECT_NAME} instead of hardcoding apt</title>
<updated>2018-08-14T17:44:28Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2018-06-28T16:23:36Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=9a521ed76019fc7bdad1bf09c063bd3550536ef0'/>
<id>urn:sha1:9a521ed76019fc7bdad1bf09c063bd3550536ef0</id>
<content type='text'>
Completely pointless as it makes no difference for apt,
but copying the file to other projects becomes a lot easier.

Gbp-Dch: Ignore
</content>
</entry>
<entry>
<title>Prevent GTest from flooding us with compiler warnings</title>
<updated>2018-05-04T16:42:37Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2018-05-04T16:24:57Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=1d77c915005f7630949e2ce706055ee3235009b6'/>
<id>urn:sha1:1d77c915005f7630949e2ce706055ee3235009b6</id>
<content type='text'>
GTest has a bunch of undefined macros which causes the compiler to spit
out warnings for each one on each test file. There isn't much we can do,
so we just disable the warning for the testcases. Other warnings like
sign-promo and sign-compare we can avoid by being more explicit about
our expected integer constants being unsigned.

As we are just changing testcases, there is no user visible change which
would deserve to be noted in the changelog.

Gbp-Dch: Ignore
Reported-By: gcc-8
</content>
</entry>
<entry>
<title>Fix build with new gtest</title>
<updated>2018-05-04T15:35:49Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2018-05-04T14:07:12Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=39d9e217a22901892647499ee695ba472a111d25'/>
<id>urn:sha1:39d9e217a22901892647499ee695ba472a111d25</id>
<content type='text'>
Still allow the older one to be used.

Closes: #897149
</content>
</entry>
<entry>
<title>CMake: Document that the globs are expanded during CMake</title>
<updated>2017-01-17T13:33:02Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2017-01-17T13:33:02Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=b59a8c6e29015c4d19c4b39a63b328af7d87d1ee'/>
<id>urn:sha1:b59a8c6e29015c4d19c4b39a63b328af7d87d1ee</id>
<content type='text'>
This will avoid people from thinking that they have to do nothing
when they change the set of files.

Gbp-Dch: ignore
</content>
</entry>
<entry>
<title>follow the googletest merge in build-depends</title>
<updated>2016-11-24T23:15:13Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-11-18T11:12:51Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=0123ce7171b09ead5a07567fbd33c53f609f6560'/>
<id>urn:sha1:0123ce7171b09ead5a07567fbd33c53f609f6560</id>
<content type='text'>
</content>
</entry>
</feed>
