From d40f2cbd3924aca4486561136e7ccb37cceff810 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 17 Jun 2018 07:11:26 +0000 Subject: Fixed test script. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12109 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- test/rt/testbuild/Makefile | 6 ++++++ test/rt/testbuild/Makefile_win32 | 7 +++++++ 2 files changed, 13 insertions(+) (limited to 'test') diff --git a/test/rt/testbuild/Makefile b/test/rt/testbuild/Makefile index fc262d8f7..dca083b78 100755 --- a/test/rt/testbuild/Makefile +++ b/test/rt/testbuild/Makefile @@ -101,6 +101,9 @@ ASMXSRC = $(ALLXASMSRC) INCDIR = $(CONFDIR) $(ALLINC) $(TESTINC) +# GCOV files. +GCOVSRC = $(KERNSRC) + # # Project, sources and paths ############################################################################## @@ -161,3 +164,6 @@ CPPWARN = -Wall -Wextra -Wundef RULESPATH = $(CHIBIOS)/os/common/startup/SIMIA32/compilers/GCC include $(RULESPATH)/rules.mk + +misra: + @wine lint-nt -v -w3 $(DEFS) pclint/co-gcc.lnt pclint/au-misra3.lnt pclint/waivers.lnt $(IINCDIR) $(KERNSRC) diff --git a/test/rt/testbuild/Makefile_win32 b/test/rt/testbuild/Makefile_win32 index 70b17c286..24edf4ed7 100755 --- a/test/rt/testbuild/Makefile_win32 +++ b/test/rt/testbuild/Makefile_win32 @@ -101,6 +101,9 @@ ASMXSRC = $(ALLXASMSRC) INCDIR = $(CONFDIR) $(ALLINC) $(TESTINC) +# GCOV files. +GCOVSRC = $(KERNSRC) + # # Project, sources and paths ############################################################################## @@ -161,3 +164,7 @@ CPPWARN = -Wall -Wextra -Wundef RULESPATH = $(CHIBIOS)/os/common/startup/SIMIA32/compilers/GCC include $(RULESPATH)/rules.mk + +misra: + @lint-nt -v -w3 $(DEFS) pclint/co-gcc.lnt pclint/au-misra3.lnt pclint/waivers.lnt $(IINCDIR) $(KERNSRC) + -- cgit v1.2.3