re-enable autotests to highlight possible gcc-11 bug (#1907799)

epel8
Rex Dieter 4 years ago
parent ad28bc330c
commit 30747f44b2

@ -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 <rdieter@fedoraproject.org> - 5.77.0-2
- re-enable autotests to highlight possible gcc-11 bug (#1907799)
* Sun Dec 13 14:09:46 CST 2020 Rex Dieter <rdieter@fedoraproject.org> - 5.77.0-1
- 5.77.0
- disable tests FTBFS

Loading…
Cancel
Save