File tree Expand file tree Collapse file tree 5 files changed +8
-4
lines changed Expand file tree Collapse file tree 5 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ nosetests.xml
6363coverage.xml
6464* ,cover
6565.hypothesis /
66+ junit.xml
6667
6768# Translations
6869* .mo
Original file line number Diff line number Diff line change @@ -106,5 +106,5 @@ See tests in folder `dpctl/tests`.
106106
107107Run tests:
108108``` bash
109- python -m unittest dpctl.tests
109+ pytest --pyargs dpctl
110110```
Original file line number Diff line number Diff line change @@ -29,7 +29,10 @@ requirements:
2929 - python
3030 - numpy >=1.17
3131 - dpcpp_cpp_rt
32-
32+ test :
33+ requires :
34+ - pytest
35+ - pytest-cov
3336about :
3437 home : https://github.com/IntelPython/dpCtl.git
3538 license : Apache-2.0
Original file line number Diff line number Diff line change @@ -11,5 +11,5 @@ set ERRORLEVEL=
1111" %PYTHON% " -c " import dpctl"
1212IF %ERRORLEVEL% NEQ 0 exit /b 1
1313
14- " %PYTHON% " -m unittest -v dpctl.tests
14+ pytest -q -ra --disable-warnings --pyargs dpctl -vv
1515IF %ERRORLEVEL% NEQ 0 exit /b 1
Original file line number Diff line number Diff line change 66source ${ONEAPI_ROOT} /compiler/latest/env/vars.sh || true
77
88${PYTHON} -c " import dpctl"
9- ${PYTHON} -m unittest -v dpctl.tests
9+ pytest -q -ra --disable-warnings --pyargs dpctl -vv
You can’t perform that action at this time.
0 commit comments