Run the AddressSanitizer during tests (#5815)

* Run the AddressSanitizer during tests

* Show details for test failures
pull/5821/head
Eric Severance 2025-01-11 21:51:43 -08:00 zatwierdzone przez GitHub
rodzic 00fdf2c9aa
commit 0fe8d4ccc7
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -90,7 +90,7 @@ jobs:
run: sed -i 's/-DBUILD_EPOCH=$UNIX_TIME/#-DBUILD_EPOCH=$UNIX_TIME/' platformio.ini
- name: PlatformIO Tests
run: platformio test -e coverage --junit-output-path testreport.xml
run: platformio test -e coverage -v --junit-output-path testreport.xml
- name: Save test results
if: always() # run this step even if previous step failed

Wyświetl plik

@ -12,4 +12,4 @@ build_src_filter = ${portduino_base.build_src_filter}
[env:coverage]
extends = env:native
build_flags = -lgcov --coverage -fprofile-abs-path ${env:native.build_flags}
build_flags = -lgcov --coverage -fprofile-abs-path -fsanitize=address ${env:native.build_flags}