Skip to content

Commit 74e6723

Browse files
Force coverage tests to run in simulation mode (#8251)
* Force coverage tests to run in simulation mode * Revert "Force coverage tests to run in simulation mode" This reverts commit e4ec719. * Force coverage tests to run in simulation mode --------- Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
1 parent 9b7b8ff commit 74e6723

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

variants/native/portduino/platformio.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,7 @@ build_src_filter = ${env:native-tft.build_src_filter}
107107
[env:coverage]
108108
extends = env:native
109109
build_flags = -lgcov --coverage -fprofile-abs-path -fsanitize=address ${env:native.build_flags}
110+
; https://docs.platformio.org/en/latest/projectconf/sections/env/options/test/test_testing_command.html
111+
test_testing_command =
112+
${platformio.build_dir}/${this.__env__}/program
113+
-s

0 commit comments

Comments
 (0)