More generic launch of tests (python3).
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Mon, 30 Nov 2015 14:56:18 +0000 (15:56 +0100)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Mon, 30 Nov 2015 14:56:18 +0000 (15:56 +0100)
python-pOCCI.spec

index 67c24fe..51d4a51 100644 (file)
@@ -149,9 +149,9 @@ popd
 %if 0%{?with_python3}
 # workaround problems with tests in setuptools
 pushd python3/build/lib/tests
-%{__python3} ./test_parse_http.py
-%{__python3} ./test_parse_text.py
-%{__python3} ./test_parse_uri.py
+for t in test_*.py; do
+    %{__python3} ./${t}
+done
 popd
 %endif
 %endif