Commit 43f715d2 authored by Frediano Ziglio's avatar Frediano Ziglio
Browse files

ci: Fix error testing under Fedora 31



test-hexdump test uses cmp which is in diffutils package.
In former Fedora versions that package was installed as base
package but on Fedora 31 we need to add it explicitly.
Change the RPM SPEC file in order to fix also package build as
the RPM will call "make check" from the "%check" section.
Also show suite logs if tests failed to make it easier to
fix them in the future.
Signed-off-by: Frediano Ziglio's avatarFrediano Ziglio <fziglio@redhat.com>
Acked-by: Snir Sheriber's avatarSnir Sheriber <ssheribe@redhat.com>
parent 36410d58
Pipeline #78301 passed with stage
in 4 minutes and 53 seconds
......@@ -12,5 +12,5 @@ build_and_test:
- autoreconf -fi
- ./configure
- make
- make check
- make check || (cat src/unittests/test-suite.log && exit 1)
- make distcheck
......@@ -14,6 +14,7 @@ BuildRequires: pkgconfig(udev)
BuildRequires: libdrm-devel
BuildRequires: libXrandr-devel
BuildRequires: gcc-c++
BuildRequires: diffutils
# we need /usr/sbin/semanage program which is available on different
# packages depending on distribution
Requires(post): /usr/sbin/semanage
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment