Skip to content

Commit 08d8379

Browse files
committed
ci: avoid false positive vtable ODR when loading CPP test lib (google/sanitizers#1017)
1 parent 01f5bcb commit 08d8379

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/test_and_validate.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ jobs:
139139
- name: Run Tests
140140
run: |
141141
cd ./cmake_build/test/
142+
export ASAN_OPTIONS=${ASAN_OPTIONS}:detect_odr_violation=0
142143
./test_bmi_cpp
143144
cd ../../
144145
timeout-minutes: 15
@@ -272,6 +273,7 @@ jobs:
272273
- name: Run Unit Tests
273274
run: |
274275
. .venv/bin/activate
276+
export ASAN_OPTIONS=${ASAN_OPTIONS}:detect_odr_violation=0
275277
./cmake_build/test/test_bmi_multi
276278
timeout-minutes: 15
277279

@@ -301,6 +303,7 @@ jobs:
301303
- name: run_bmi_protocol_tests
302304
run: |
303305
cd ./cmake_build/test/
306+
export ASAN_OPTIONS=${ASAN_OPTIONS}:detect_odr_violation=0
304307
./test_bmi_protocols
305308
cd ../../
306309
timeout-minutes: 15

0 commit comments

Comments
 (0)