mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-01 10:19:59 +00:00
0fe8d4ccc7
* Run the AddressSanitizer during tests * Show details for test failures
16 lines
617 B
INI
16 lines
617 B
INI
[env:native]
|
|
extends = portduino_base
|
|
; The pkg-config commands below optionally add link flags.
|
|
; the || : is just a "or run the null command" to avoid returning an error code
|
|
build_flags = ${portduino_base.build_flags} -O0 -I variants/portduino
|
|
-I /usr/include
|
|
!pkg-config --libs libulfius --silence-errors || :
|
|
!pkg-config --libs openssl --silence-errors || :
|
|
board = cross_platform
|
|
lib_deps = ${portduino_base.lib_deps}
|
|
build_src_filter = ${portduino_base.build_src_filter}
|
|
|
|
[env:coverage]
|
|
extends = env:native
|
|
build_flags = -lgcov --coverage -fprofile-abs-path -fsanitize=address ${env:native.build_flags}
|