Skip to content

Commit 246d12c

Browse files
committed
Run under gdb command to print the callstack in case of hanging
1 parent d2c0836 commit 246d12c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

conda-recipe/run_test.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,8 @@ set -e
3737

3838
$PYTHON -c "import dpnp; print(dpnp.__version__)"
3939
$PYTHON -m dpctl -f
40+
41+
timeout 10m gdb --batch -ex r -ex 'info sharedlibrary' -ex 'set print elements 1000' -ex bt --args "$PYTHON" -m pytest -ra --disable-warnings --pyargs dpnp.tests.test_histogram || true
4042
$PYTHON -m pytest -sv --pyargs dpnp.tests.test_histogram
43+
4144
$PYTHON -m pytest -ra --pyargs dpnp

0 commit comments

Comments
 (0)