From 0b2a885f8b9e5b958335766ddacb8c824bd38bd3 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Thu, 2 Apr 2020 12:02:30 +0200 Subject: [PATCH] Execute the tests at build time --- python-augeas.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/python-augeas.spec b/python-augeas.spec index 45f1318..2b52624 100644 --- a/python-augeas.spec +++ b/python-augeas.spec @@ -10,6 +10,8 @@ BuildArch: noarch BuildRequires: python3-setuptools BuildRequires: python3-devel +BuildRequires: augeas +BuildRequires: python3-pytest %description python-augeas is a set of Python bindings around augeas. @@ -34,6 +36,9 @@ python3-augeas is a set of Python bindings around augeas. %install %{py3_install} +%check +pytest-3 + %files -n python3-augeas %license COPYING %doc AUTHORS README.txt @@ -46,6 +51,7 @@ python3-augeas is a set of Python bindings around augeas. * Thu Apr 02 2020 Pino Toscano - 0.5.0-20 - Backport upstream commit d93e1563add8c40450556b7d74520439ee792bd9 to fix the discovery of location in the test +- Execute the tests at build time * Thu Jan 30 2020 Fedora Release Engineering - 0.5.0-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild