aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-06-17 07:11:26 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-06-17 07:11:26 +0000
commitd40f2cbd3924aca4486561136e7ccb37cceff810 (patch)
tree69bdf783bf034afca56a37d5c83efe21d3f02b53 /test
parent81402e3fd3e228e82d3f298f91ba82c161559d4f (diff)
downloadChibiOS-d40f2cbd3924aca4486561136e7ccb37cceff810.tar.gz
ChibiOS-d40f2cbd3924aca4486561136e7ccb37cceff810.tar.bz2
ChibiOS-d40f2cbd3924aca4486561136e7ccb37cceff810.zip
Fixed test script.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12109 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'test')
-rwxr-xr-xtest/rt/testbuild/Makefile6
-rwxr-xr-xtest/rt/testbuild/Makefile_win327
2 files changed, 13 insertions, 0 deletions
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)
+