Skip to content

Commit

Permalink
Rename safety coverage flag
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane committed Oct 30, 2023
1 parent da66779 commit f3bdfdd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ AddOption('--ubsan',
action='store_true',
help='turn on UBSan')

AddOption('--safety-coverage',
AddOption('--coverage',
action='store_true',
help='build with safety test coverage options')
help='build with test coverage options')

# panda fw & test files
SConscript('SConscript')
2 changes: 1 addition & 1 deletion tests/libpanda/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if GetOption('ubsan'):
panda = env.SharedObject("panda.os", "panda.c")
libpanda = env.SharedLibrary("libpanda.so", [panda])

if GetOption('safety_coverage'):
if GetOption('coverage'):
env.Append(
CFLAGS=["-fprofile-arcs", "-ftest-coverage", "-fprofile-abs-path",],
LIBS=["gcov"],
Expand Down

0 comments on commit f3bdfdd

Please sign in to comment.