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
63
63
coverage.xml
64
64
* ,cover
65
65
.hypothesis /
66
+ junit.xml
66
67
67
68
# Translations
68
69
* .mo
Original file line number Diff line number Diff line change @@ -106,5 +106,5 @@ See tests in folder `dpctl/tests`.
106
106
107
107
Run tests:
108
108
``` bash
109
- python -m unittest dpctl.tests
109
+ pytest --pyargs dpctl
110
110
```
Original file line number Diff line number Diff line change @@ -29,7 +29,10 @@ requirements:
29
29
- python
30
30
- numpy >=1.17
31
31
- dpcpp_cpp_rt
32
-
32
+ test :
33
+ requires :
34
+ - pytest
35
+ - pytest-cov
33
36
about :
34
37
home : https://github.com/IntelPython/dpCtl.git
35
38
license : Apache-2.0
Original file line number Diff line number Diff line change @@ -11,5 +11,5 @@ set ERRORLEVEL=
11
11
" %PYTHON% " -c " import dpctl"
12
12
IF %ERRORLEVEL% NEQ 0 exit /b 1
13
13
14
- " %PYTHON% " -m unittest -v dpctl.tests
14
+ pytest -q -ra --disable-warnings --pyargs dpctl -vv
15
15
IF %ERRORLEVEL% NEQ 0 exit /b 1
Original file line number Diff line number Diff line change 6
6
source ${ONEAPI_ROOT} /compiler/latest/env/vars.sh || true
7
7
8
8
${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