From 30747f44b2941c598a141a5d519fad1c2f565257 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Dec 17 2020 17:07:18 +0000 Subject: re-enable autotests to highlight possible gcc-11 bug (#1907799) --- diff --git a/kf5-kconfig.spec b/kf5-kconfig.spec index e6ce3af..dc54dcf 100644 --- a/kf5-kconfig.spec +++ b/kf5-kconfig.spec @@ -16,7 +16,7 @@ %endif #endif %global docs 1 -#global tests 1 +%global tests 1 %endif # use ninja instead of make @@ -24,7 +24,7 @@ Name: kf5-%{framework} Version: 5.77.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: KDE Frameworks 5 Tier 1 addon with advanced configuration system License: GPLv2+ and LGPLv2+ and MIT @@ -158,7 +158,8 @@ export PYTHONPATH %{?ninja:-G Ninja} \ %{?tests:-DBUILD_TESTING:BOOL=ON} -%cmake_build +%cmake_build || \ +cat %{__cmake_builddir}/autotests/kconfig_compiler/test5.cpp %install @@ -173,7 +174,7 @@ export CTEST_OUTPUT_ON_FAILURE=1 ## cant use %%ninja_test here for some reason, doesn't inherit env vars from xvfb or dbus -- rex xvfb-run -a \ %if 0%{?ninja} -ninja test -v %{?_smp_mflags} -C %{_target_platform} ||: +ninja test %{?_smp_mflags} -v -C %{_target_platform} %else make test %{?_smp_mflags} -C %{_target_platform} ARGS="--output-on-failure --timeout 300" ||: %endif @@ -228,6 +229,9 @@ make test %{?_smp_mflags} -C %{_target_platform} ARGS="--output-on-failure --tim %changelog +* Thu Dec 17 2020 Rex Dieter - 5.77.0-2 +- re-enable autotests to highlight possible gcc-11 bug (#1907799) + * Sun Dec 13 14:09:46 CST 2020 Rex Dieter - 5.77.0-1 - 5.77.0 - disable tests FTBFS