File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -75,12 +75,21 @@ 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
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
84+
85+ - name : run tests under valgrind
7986 run : |
87+ sudo apt-get install -y valgrind
8088 source ${{ env.ONEAPI_ROOT }}/setvars.sh
8189 pip install pytest
8290 cd ..
83- 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 -vv || true
91+ valgrind --error-exitcode=99 python -m pytest -s -v --pyargs mkl_umath/mkl_umath/tests -vv || true
92+
8493
8594 # - name: Run mkl_umath tests
8695 # run: |
You can’t perform that action at this time.
0 commit comments