Skip to content

Commit a7f1509

Browse files
authored
Merge pull request #8249 from vidplace7/fix-pio-test
Force coverage tests to run in simulation mode
2 parents f0e4ea7 + e4ec719 commit a7f1509

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

variants/native/portduino/platformio.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,5 @@ 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 = ${platformio.build_dir}/${this.__env__}/program -s

0 commit comments

Comments
 (0)