diff --git a/pykickstart.spec b/pykickstart.spec index b87aee2..b6da316 100644 --- a/pykickstart.spec +++ b/pykickstart.spec @@ -1,7 +1,6 @@ -# Disable tests by default because they fail to run inside mock builds -# at the moment, but can run locally. To build and run tests, do: -# rpmbuild -ba --with runtests pykickstart.spec -%bcond_with runtests +# Enable tests by default. To disable them use: +# rpmbuild -ba --without runtests pykickstart.spec +%bcond_without runtests Name: pykickstart Version: 3.44 @@ -53,7 +52,7 @@ make PYTHON=%{__python3} DESTDIR=%{buildroot} install %check %if %{with runtests} -make PYTHON=%{__python3} test +LC_ALL=C make PYTHON=%{__python3} test %endif %files diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index 55509ba..0000000 --- a/tests/tests.yml +++ /dev/null @@ -1,17 +0,0 @@ ---- - -- hosts: localhost - roles: - - role: standard-test-basic - tags: - - classic - - required_packages: - - fedpkg - - python3-sphinx - - python3-coverage - - tests: - - simple: - dir: scripts/ - run: ./run_tests.sh