kopia lustrzana https://github.com/meshtastic/firmware
Run the AddressSanitizer during tests (#5815)
* Run the AddressSanitizer during tests * Show details for test failurespull/5821/head
rodzic
00fdf2c9aa
commit
0fe8d4ccc7
|
@ -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}
|
||||
|
|
Ładowanie…
Reference in New Issue