sanitycheck: allow deprecated APIs
sanitycheck is set up to error out on any compiler warnings. However in the case of deprecated APIs, we may feel compelled to still test them while they remain in-tree. Don't fail the build if deprecated APIs are used during sanity runs. Change-Id: Ic3196896689706d308117e693ab720713d67d698 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
7027231e9a
commit
12244a3a8e
1 changed files with 1 additions and 1 deletions
|
@ -595,7 +595,7 @@ class MakeGenerator:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
MAKE_RULE_TMPL = """\t@echo sanity_test_{phase} {goal} >&2
|
MAKE_RULE_TMPL = """\t@echo sanity_test_{phase} {goal} >&2
|
||||||
\t$(MAKE) -C {directory} O={outdir} V={verb} EXTRA_CFLAGS="-Werror {cflags}" EXTRA_ASMFLAGS=-Wa,--fatal-warnings EXTRA_LDFLAGS=--fatal-warnings {args} >{logfile} 2>&1
|
\t$(MAKE) -C {directory} O={outdir} V={verb} EXTRA_CFLAGS="-Werror {cflags} -Wno-deprecated-declarations" EXTRA_ASMFLAGS=-Wa,--fatal-warnings EXTRA_LDFLAGS=--fatal-warnings {args} >{logfile} 2>&1
|
||||||
"""
|
"""
|
||||||
|
|
||||||
GOAL_FOOTER_TMPL = "\t@echo sanity_test_finished {goal} >&2\n\n"
|
GOAL_FOOTER_TMPL = "\t@echo sanity_test_finished {goal} >&2\n\n"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue