Skip to content

Commit

Permalink
Disabled ODR violation from ASAN Unit Tests
Browse files Browse the repository at this point in the history
After upgrading GitHub CI platorms to Ubuntu 24, the ASAN Unit Tests
started complaining about One Definition Rule (ODR) violations. Hence, I
disabled ODR and created a follow-up ticket (see CFE-4454) to fix the
violations and enable ODR again.

Ticket: None
Changelog: None
Signed-off-by: Lars Erik Wik <[email protected]>
  • Loading branch information
larsewi committed Dec 9, 2024
1 parent 6ab3826 commit 19d0fc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/asan_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ jobs:
- name: Compile and link (make)
run: make -j8 CFLAGS="-Werror -Wall -fsanitize=address" LDFLAGS="-fsanitize=address"
- name: Run unit tests
run: make -C tests/unit CFLAGS="-fsanitize=address" LDFLAGS="-fsanitize=address" check
run: ASAN_OPTIONS=detect_odr_violation=0 make -C tests/unit CFLAGS="-fsanitize=address" LDFLAGS="-fsanitize=address" check

0 comments on commit 19d0fc0

Please sign in to comment.