Skip to content

Commit 85b1a28

Browse files
Run test suite in os-llvm workflow from under GDB
1 parent 49002cc commit 85b1a28

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/os-llvm-sycl-build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,11 @@ jobs:
9797
- name: Install system components
9898
shell: bash -l {0}
9999
run: |
100-
sudo apt-get install libtinfo5
100+
sudo apt-get install -y libtinfo5
101+
102+
- name: Install gdb
103+
run: |
104+
sudo apt-get install -y gdb
101105
102106
- name: Setup Python
103107
uses: actions/setup-python@v4
@@ -163,4 +167,4 @@ jobs:
163167
run: |
164168
source set_allvars.sh
165169
# skip test due to https://github.com/intel/llvm/issues/9264
166-
python -m pytest -v dpctl/tests -k "not test_event_backend"
170+
gdb --batch -ex r -ex 'info sharedlibrary' -ex 'set print elements 1000' -ex bt --args python -m pytest -v dpctl/tests -k "not test_event_backend"

0 commit comments

Comments
 (0)