From b8ddb5dcdb8eee40570021a6d7386fc23713f028f886040600406bede643b3b0 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 17 Oct 2018 15:28:45 +0000 Subject: [PATCH] Test again OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=53 --- python-cffi.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/python-cffi.spec b/python-cffi.spec index 6de9784..06292bc 100644 --- a/python-cffi.spec +++ b/python-cffi.spec @@ -65,13 +65,14 @@ export CFLAGS="%{optflags}" %check # https://bitbucket.org/cffi/cffi/issues/390/ -%{python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} +%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} py.test-%$python_bin_suffix -k test_dlopen_filename -W ignore::UserWarning c/ testing/ -echo "Testing test_cos_01.py" -%python_exec test_cos_01.py -echo "Testing test_cos_02.py" -%python_exec test_cos_02.py } +export PYTHONPATH=%{buildroot}%{python2_sitearch} +echo "Testing test_cos_01.py" +python2 test_cos_01.py +echo "Testing test_cos_02.py" +python2 test_cos_02.py %files %{python_files} %license LICENSE