Skip to content

Commit 2bf35b1

Browse files
Added gdb call in test_linux as a separate step
1 parent 946bab9 commit 2bf35b1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/conda-package.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,11 @@ jobs:
162162
. $CONDA/etc/profile.d/conda.sh
163163
conda activate test_dpctl
164164
python -c "import dpctl; dpctl.lsplatform(verbosity=2)"
165+
- name: Run test_elementwise under gdb
166+
run: |
167+
. $CONDA/etc/profile.d/conda.sh
168+
conda activate test_dpctl
169+
gdb --batch -ex r -ex 'info sharedlibrary' -ex 'set print elements 1000' -ex bt --args ${PYTHON} -m pytest -q -ra --disable-warnings --pyargs dpctl.tests.test_tensor_elementwise::test_cos_order -vv
165170
- name: Run tests
166171
run: |
167172
. $CONDA/etc/profile.d/conda.sh

0 commit comments

Comments
 (0)