Test again
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=53
This commit is contained in:
parent
2135b5caf7
commit
b8ddb5dcdb
@ -65,13 +65,14 @@ export CFLAGS="%{optflags}"
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
# https://bitbucket.org/cffi/cffi/issues/390/
|
# 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/
|
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}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user