mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-06-08 07:45:00 +08:00
Rename safety coverage flag
This commit is contained in:
@@ -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')
|
||||
|
||||
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user