File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -161,13 +161,20 @@ jobs:
161
161
run : |
162
162
. $CONDA/etc/profile.d/conda.sh
163
163
conda activate test_dpctl
164
- python -c "import dpctl; dpctl.lsplatform()"
164
+ python -c "import dpctl; dpctl.lsplatform(verbosity=2)"
165
+ - name : Install gdb
166
+ run : |
167
+ sudo apt-get install -y gdb
168
+ - name : Run test_elementwise under gdb
169
+ run : |
170
+ . $CONDA/etc/profile.d/conda.sh
171
+ conda activate test_dpctl
172
+ gdb --batch -ex r -ex 'info sharedlibrary' -ex 'set print elements 1000' -ex bt --args ${CONDA_PREFIX}/bin/python -m pytest -q -ra --disable-warnings --pyargs dpctl.tests.test_tensor_elementwise::test_cos_order -vv
165
173
- name : Run tests
166
174
run : |
167
175
. $CONDA/etc/profile.d/conda.sh
168
176
conda activate test_dpctl
169
- # clinfo -l
170
- python -m pytest --pyargs $MODULE_NAME
177
+ python -m pytest -v --pyargs $MODULE_NAME
171
178
172
179
test_windows :
173
180
needs : build_windows
You can’t perform that action at this time.
0 commit comments