Skip to content

Commit 77d5ccc

Browse files
committed
debug w/ ASLR disabled
1 parent d0d1736 commit 77d5ccc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/build-with-clang.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,20 +75,20 @@ jobs:
7575
export CFLAGS="${CFLAGS} -fno-fast-math -O2"
7676
pip install . --no-build-isolation --no-deps --verbose
7777
78-
# - name: Run tests under gdb
79-
# run: |
80-
# source ${{ env.ONEAPI_ROOT }}/setvars.sh
81-
# pip install pytest
82-
# cd ..
83-
# gdb --batch -ex r -ex 'info sharedlibrary' -ex 'set print elements 1000' -ex bt --args
78+
- name: Run tests under gdb
79+
run: |
80+
source ${{ env.ONEAPI_ROOT }}/setvars.sh
81+
pip install pytest
82+
cd ..
83+
setarch $(uname -m) -R gdb --batch -ex r -ex 'info sharedlibrary' -ex 'set print elements 1000' -ex bt --args python -m pytest -s -v --pyargs mkl_umath/mkl_umath/tests || true
8484
8585
- name: run tests under valgrind
8686
run: |
8787
sudo apt-get install -y valgrind
8888
source ${{ env.ONEAPI_ROOT }}/setvars.sh
8989
pip install pytest
9090
cd ..
91-
valgrind --error-exitcode=99 python -m pytest -s -v --pyargs mkl_umath/mkl_umath/tests -vv || true
91+
valgrind --error-exitcode=99 python -m pytest -s -v --pyargs mkl_umath/mkl_umath/tests || true
9292
9393
9494
# - name: Run mkl_umath tests

0 commit comments

Comments
 (0)