mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-01 02:09:57 +00:00
Run the AddressSanitizer during tests (#5815)
* Run the AddressSanitizer during tests * Show details for test failures
This commit is contained in:
parent
00fdf2c9aa
commit
0fe8d4ccc7
2
.github/workflows/test_native.yml
vendored
2
.github/workflows/test_native.yml
vendored
@ -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
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user