NetworkManager/contrib
Thomas Haller 8ae41e282f
contrib/rpm: on rhel-9 let a test failure or compiler warning fail the build
We always run the unit tests during package build and also enable all compiler
warnings. However, by default we used to ignore failures. That is, because
rebuilding a package on another, future distro led to frequent, annoying build
failures. Especially compiler warnings appear easily when using a
different compiler version.

The default mostly matters here when you want to build the package in
brew/koji, where you don't have a possibility to explicitly select the
build option.

Note that rpmdiff detects failures in the build log, and thus we usually
would not miss failures for builds we add to errata. Also, all our CI
tests build packages with a manner where they would not allow a failure
of the unit tests. So, we run these unit tests frequently and in a
manner where we notice a failure.

For rhel-9 builds, change the default here and let test failures and
compiler warnings be fatal to the build.

(cherry picked from commit e68e5c0a4c)
2021-01-07 09:16:56 +01:00
..
art/logo artwork: introduce NetworkManager stickers 2019-09-30 17:36:59 +02:00
debian build/debian: install mobile-broadband-provider-info 2019-09-11 14:54:34 +02:00
editors contrib: add emacs config for hacking on NM 2015-08-11 13:42:26 -04:00
fedora contrib/rpm: on rhel-9 let a test failure or compiler warning fail the build 2021-01-07 09:16:56 +01:00
scripts contrib: add "nm-code-format-container.sh" to reformat working directory in container 2020-09-29 13:37:58 +02:00