Rename safety coverage flag

This commit is contained in:
Shane Smiskol
2023-10-30 11:43:56 -07:00
parent da66779b43
commit f3bdfdd435
2 changed files with 3 additions and 3 deletions

View File

@@ -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')

View File

@@ -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"],