dev-build/cmake: use CMAKE_SKIP_TESTS

Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Paul Zander
2026-04-16 18:37:59 +01:00
committed by Sam James
parent fdd171b7f9
commit 7aae1f5c3e
6 changed files with 161 additions and 83 deletions
+26 -13
View File
@@ -265,21 +265,34 @@ src_test() {
pushd "${BUILD_DIR}" > /dev/null || die
# Excluded tests:
# BootstrapTest: we actually bootstrap it every time so why test it?
# BundleUtilities: bundle creation broken
# CMakeOnly.AllFindModules: pthread issues
# CTest.updatecvs: which fails to commit as root
# Fortran: requires fortran
# RunCMake.CompilerLauncher: also requires fortran
# RunCMake.CPack_RPM: breaks if app-arch/rpm is installed because
# debugedit binary is not in the expected location
# RunCMake.CPack_DEB: breaks if app-arch/dpkg is installed because
# it can't find a deb package that owns libc
# TestUpload, which requires network access
# RunCMake.CMP0125, known failure reported upstream (bug #829414)
local CMAKE_SKIP_TESTS=(
# BootstrapTest: we actually bootstrap it every time so why test it?
"BootstrapTest"
# BundleUtilities: bundle creation broken
"BundleUtilities"
# CMakeOnly.AllFindModules: pthread issues
"CMakeOnly.AllFindModules"
# TODO
"CompileOptions"
# CTest.updatecvs: which fails to commit as root
"CTest.UpdateCVS"
# Fortran: requires fortran
"Fortran"
# RunCMake.CompilerLauncher: also requires fortran
"RunCMake.CompilerLauncher"
# RunCMake.CPack_RPM: breaks if app-arch/rpm is installed because
# debugedit binary is not in the expected location
# RunCMake.CPack_DEB: breaks if app-arch/dpkg is installed because
# it can't find a deb package that owns libc
"RunCMake.CPack_(DEB|RPM)"
# TestUpload, which requires network access
"TestUpload"
# RunCMake.CMP0125, known failure reported upstream (bug #829414)
"RunCMake.CMP0125"
)
local myctestargs=(
--output-on-failure
-E "(BootstrapTest|BundleUtilities|CMakeOnly.AllFindModules|CompileOptions|CTest.UpdateCVS|Fortran|RunCMake.CompilerLauncher|RunCMake.CPack_(DEB|RPM)|TestUpload|RunCMake.CMP0125)" \
)
local -x QT_QPA_PLATFORM=offscreen
+27 -14
View File
@@ -265,22 +265,35 @@ src_test() {
pushd "${BUILD_DIR}" > /dev/null || die
# Excluded tests:
# BootstrapTest: we actually bootstrap it every time so why test it?
# BundleUtilities: bundle creation broken
# CMakeOnly.AllFindModules: pthread issues
# CTest.updatecvs: which fails to commit as root
# Fortran: requires fortran
# RunCMake.CompilerLauncher: also requires fortran
# RunCMake.CPack_RPM: breaks if app-arch/rpm is installed because
# debugedit binary is not in the expected location
# RunCMake.CPack_DEB: breaks if app-arch/dpkg is installed because
# it can't find a deb package that owns libc
# RunCMake.CPack_TGZ: requires 64-bit time_t (bug #967480)
# TestUpload, which requires network access
# RunCMake.CMP0125, known failure reported upstream (bug #829414)
local CMAKE_SKIP_TESTS=(
# BootstrapTest: we actually bootstrap it every time so why test it?
"BootstrapTest"
# BundleUtilities: bundle creation broken
"BundleUtilities"
# CMakeOnly.AllFindModules: pthread issues
"CMakeOnly.AllFindModules"
# TODO
"CompileOptions"
# CTest.updatecvs: which fails to commit as root
"CTest.UpdateCVS"
# Fortran: requires fortran
"Fortran"
# RunCMake.CompilerLauncher: also requires fortran
"RunCMake.CompilerLauncher"
# RunCMake.CPack_RPM: breaks if app-arch/rpm is installed because
# debugedit binary is not in the expected location
# RunCMake.CPack_DEB: breaks if app-arch/dpkg is installed because
# it can't find a deb package that owns libc
# RunCMake.CPack_TGZ: requires 64-bit time_t (bug #967480)
"RunCMake.CPack_(DEB|RPM|TGZ)"
# TestUpload, which requires network access
"TestUpload"
# RunCMake.CMP0125, known failure reported upstream (bug #829414)
"RunCMake.CMP0125"
)
local myctestargs=(
--output-on-failure
-E "(BootstrapTest|BundleUtilities|CMakeOnly.AllFindModules|CompileOptions|CTest.UpdateCVS|Fortran|RunCMake.CompilerLauncher|RunCMake.CPack_(DEB|RPM|TGZ)|TestUpload|RunCMake.CMP0125)" \
)
local -x QT_QPA_PLATFORM=offscreen
+27 -14
View File
@@ -265,22 +265,35 @@ src_test() {
pushd "${BUILD_DIR}" > /dev/null || die
# Excluded tests:
# BootstrapTest: we actually bootstrap it every time so why test it?
# BundleUtilities: bundle creation broken
# CMakeOnly.AllFindModules: pthread issues
# CTest.updatecvs: which fails to commit as root
# Fortran: requires fortran
# RunCMake.CompilerLauncher: also requires fortran
# RunCMake.CPack_RPM: breaks if app-arch/rpm is installed because
# debugedit binary is not in the expected location
# RunCMake.CPack_DEB: breaks if app-arch/dpkg is installed because
# it can't find a deb package that owns libc
# RunCMake.CPack_TGZ: requires 64-bit time_t (bug #967480)
# TestUpload, which requires network access
# RunCMake.CMP0125, known failure reported upstream (bug #829414)
local CMAKE_SKIP_TESTS=(
# BootstrapTest: we actually bootstrap it every time so why test it?
"BootstrapTest"
# BundleUtilities: bundle creation broken
"BundleUtilities"
# CMakeOnly.AllFindModules: pthread issues
"CMakeOnly.AllFindModules"
# TODO
"CompileOptions"
# CTest.updatecvs: which fails to commit as root
"CTest.UpdateCVS"
# Fortran: requires fortran
"Fortran"
# RunCMake.CompilerLauncher: also requires fortran
"RunCMake.CompilerLauncher"
# RunCMake.CPack_RPM: breaks if app-arch/rpm is installed because
# debugedit binary is not in the expected location
# RunCMake.CPack_DEB: breaks if app-arch/dpkg is installed because
# it can't find a deb package that owns libc
# RunCMake.CPack_TGZ: requires 64-bit time_t (bug #967480)
"RunCMake.CPack_(DEB|RPM|TGZ)"
# TestUpload, which requires network access
"TestUpload"
# RunCMake.CMP0125, known failure reported upstream (bug #829414)
"RunCMake.CMP0125"
)
local myctestargs=(
--output-on-failure
-E "(BootstrapTest|BundleUtilities|CMakeOnly.AllFindModules|CompileOptions|CTest.UpdateCVS|Fortran|RunCMake.CompilerLauncher|RunCMake.CPack_(DEB|RPM|TGZ)|TestUpload|RunCMake.CMP0125)" \
)
local -x QT_QPA_PLATFORM=offscreen
+27 -14
View File
@@ -264,22 +264,35 @@ src_test() {
pushd "${BUILD_DIR}" > /dev/null || die
# Excluded tests:
# BootstrapTest: we actually bootstrap it every time so why test it?
# BundleUtilities: bundle creation broken
# CMakeOnly.AllFindModules: pthread issues
# CTest.updatecvs: which fails to commit as root
# Fortran: requires fortran
# RunCMake.CompilerLauncher: also requires fortran
# RunCMake.CPack_RPM: breaks if app-arch/rpm is installed because
# debugedit binary is not in the expected location
# RunCMake.CPack_DEB: breaks if app-arch/dpkg is installed because
# it can't find a deb package that owns libc
# RunCMake.CPack_TGZ: requires 64-bit time_t (bug #967480)
# TestUpload, which requires network access
# RunCMake.CMP0125, known failure reported upstream (bug #829414)
local CMAKE_SKIP_TESTS=(
# BootstrapTest: we actually bootstrap it every time so why test it?
"BootstrapTest"
# BundleUtilities: bundle creation broken
"BundleUtilities"
# CMakeOnly.AllFindModules: pthread issues
"CMakeOnly.AllFindModules"
# TODO
"CompileOptions"
# CTest.updatecvs: which fails to commit as root
"CTest.UpdateCVS"
# Fortran: requires fortran
"Fortran"
# RunCMake.CompilerLauncher: also requires fortran
"RunCMake.CompilerLauncher"
# RunCMake.CPack_RPM: breaks if app-arch/rpm is installed because
# debugedit binary is not in the expected location
# RunCMake.CPack_DEB: breaks if app-arch/dpkg is installed because
# it can't find a deb package that owns libc
# RunCMake.CPack_TGZ: requires 64-bit time_t (bug #967480)
"RunCMake.CPack_(DEB|RPM|TGZ)"
# TestUpload, which requires network access
"TestUpload"
# RunCMake.CMP0125, known failure reported upstream (bug #829414)
"RunCMake.CMP0125"
)
local myctestargs=(
--output-on-failure
-E "(BootstrapTest|BundleUtilities|CMakeOnly.AllFindModules|CompileOptions|CTest.UpdateCVS|Fortran|RunCMake.CompilerLauncher|RunCMake.CPack_(DEB|RPM|TGZ)|TestUpload|RunCMake.CMP0125)" \
)
local -x QT_QPA_PLATFORM=offscreen
+27 -14
View File
@@ -264,22 +264,35 @@ src_test() {
pushd "${BUILD_DIR}" > /dev/null || die
# Excluded tests:
# BootstrapTest: we actually bootstrap it every time so why test it?
# BundleUtilities: bundle creation broken
# CMakeOnly.AllFindModules: pthread issues
# CTest.updatecvs: which fails to commit as root
# Fortran: requires fortran
# RunCMake.CompilerLauncher: also requires fortran
# RunCMake.CPack_RPM: breaks if app-arch/rpm is installed because
# debugedit binary is not in the expected location
# RunCMake.CPack_DEB: breaks if app-arch/dpkg is installed because
# it can't find a deb package that owns libc
# RunCMake.CPack_TGZ: requires 64-bit time_t (bug #967480)
# TestUpload, which requires network access
# RunCMake.CMP0125, known failure reported upstream (bug #829414)
local CMAKE_SKIP_TESTS=(
# BootstrapTest: we actually bootstrap it every time so why test it?
"BootstrapTest"
# BundleUtilities: bundle creation broken
"BundleUtilities"
# CMakeOnly.AllFindModules: pthread issues
"CMakeOnly.AllFindModules"
# TODO
"CompileOptions"
# CTest.updatecvs: which fails to commit as root
"CTest.UpdateCVS"
# Fortran: requires fortran
"Fortran"
# RunCMake.CompilerLauncher: also requires fortran
"RunCMake.CompilerLauncher"
# RunCMake.CPack_RPM: breaks if app-arch/rpm is installed because
# debugedit binary is not in the expected location
# RunCMake.CPack_DEB: breaks if app-arch/dpkg is installed because
# it can't find a deb package that owns libc
# RunCMake.CPack_TGZ: requires 64-bit time_t (bug #967480)
"RunCMake.CPack_(DEB|RPM|TGZ)"
# TestUpload, which requires network access
"TestUpload"
# RunCMake.CMP0125, known failure reported upstream (bug #829414)
"RunCMake.CMP0125"
)
local myctestargs=(
--output-on-failure
-E "(BootstrapTest|BundleUtilities|CMakeOnly.AllFindModules|CompileOptions|CTest.UpdateCVS|Fortran|RunCMake.CompilerLauncher|RunCMake.CPack_(DEB|RPM|TGZ)|TestUpload|RunCMake.CMP0125)" \
)
local -x QT_QPA_PLATFORM=offscreen
+27 -14
View File
@@ -264,22 +264,35 @@ src_test() {
pushd "${BUILD_DIR}" > /dev/null || die
# Excluded tests:
# BootstrapTest: we actually bootstrap it every time so why test it?
# BundleUtilities: bundle creation broken
# CMakeOnly.AllFindModules: pthread issues
# CTest.updatecvs: which fails to commit as root
# Fortran: requires fortran
# RunCMake.CompilerLauncher: also requires fortran
# RunCMake.CPack_RPM: breaks if app-arch/rpm is installed because
# debugedit binary is not in the expected location
# RunCMake.CPack_DEB: breaks if app-arch/dpkg is installed because
# it can't find a deb package that owns libc
# RunCMake.CPack_TGZ: requires 64-bit time_t (bug #967480)
# TestUpload, which requires network access
# RunCMake.CMP0125, known failure reported upstream (bug #829414)
local CMAKE_SKIP_TESTS=(
# BootstrapTest: we actually bootstrap it every time so why test it?
"BootstrapTest"
# BundleUtilities: bundle creation broken
"BundleUtilities"
# CMakeOnly.AllFindModules: pthread issues
"CMakeOnly.AllFindModules"
# TODO
"CompileOptions"
# CTest.updatecvs: which fails to commit as root
"CTest.UpdateCVS"
# Fortran: requires fortran
"Fortran"
# RunCMake.CompilerLauncher: also requires fortran
"RunCMake.CompilerLauncher"
# RunCMake.CPack_RPM: breaks if app-arch/rpm is installed because
# debugedit binary is not in the expected location
# RunCMake.CPack_DEB: breaks if app-arch/dpkg is installed because
# it can't find a deb package that owns libc
# RunCMake.CPack_TGZ: requires 64-bit time_t (bug #967480)
"RunCMake.CPack_(DEB|RPM|TGZ)"
# TestUpload, which requires network access
"TestUpload"
# RunCMake.CMP0125, known failure reported upstream (bug #829414)
"RunCMake.CMP0125"
)
local myctestargs=(
--output-on-failure
-E "(BootstrapTest|BundleUtilities|CMakeOnly.AllFindModules|CompileOptions|CTest.UpdateCVS|Fortran|RunCMake.CompilerLauncher|RunCMake.CPack_(DEB|RPM|TGZ)|TestUpload|RunCMake.CMP0125)" \
)
local -x QT_QPA_PLATFORM=offscreen