Remove libunittest: this will be handled by the run_tests script.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 17 Dec 2008 16:17:59 +0000 (16:17 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 17 Dec 2008 16:17:59 +0000 (16:17 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2067 38d2e660-2303-0410-9eaa-f027e97ec537

Makefile
bertos/rules.mk
test/libunittest.mk [deleted file]

index 494f2bc4020edca240e1e3e230d7f214e70446b9..1eb5c26ef7b0b8c2cadb3186275e2c535d4b1435 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,5 @@ include bertos/config.mk
 include examples/demo/demo.mk
 #include examples/at91sam7s/at91sam7s.mk
 #include examples/triface/triface.mk
-include test/libunittest.mk
 
 include bertos/rules.mk
index eed0fe5093ea0aa32cb95186c281c6ab27562a8f..e25d7359e2e7f44284a438b35a4b258670e05cb6 100644 (file)
@@ -62,7 +62,7 @@ tags:
 
 # Run testsuite
 .PHONY: check
-check: $(OUTDIR)/libunittest.a
+check: 
        $L "Running testsuite"
        $Q test/run_tests.sh
 
@@ -284,8 +284,8 @@ $$(OUTDIR)/$(1).rom: $$(OUTDIR)/$(1).elf
 
 endef
 
-# Generate build rules for all targets and libunittest
-$(foreach t,$(TRG) libunittest,$(eval $(call build_target,$(t))))
+# Generate build rules for all targets
+$(foreach t,$(TRG),$(eval $(call build_target,$(t))))
 
 # Generate Qt's moc files from headers
 # NOTE: moc totally sucks and can generate empty files for some error conditions,
diff --git a/test/libunittest.mk b/test/libunittest.mk
deleted file mode 100644 (file)
index a4fd688..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# Copyright 2008 Develer S.r.l. (http://www.develer.com/)
-#
-# Makefile fragment for unit testing.
-#
-# Author: Francesco Sacchi <batt@develer.com>
-#
-
-# Set to 1 for debug builds
-libunittest_DEBUG = 1
-
-# Our target application
-#TRG += libunittest
-
-libunittest_CSRC = \
-       bertos/algo/ramp.c \
-       bertos/drv/timer.c \
-       bertos/fs/battfs.c \
-       bertos/kern/coop.c \
-       bertos/kern/idle.c \
-       bertos/kern/kfile.c \
-       bertos/kern/monitor.c \
-       bertos/kern/proc.c \
-       bertos/kern/signal.c \
-       bertos/kern/sem.c \
-       bertos/mware/event.c \
-       bertos/mware/formatwr.c \
-       bertos/mware/hex.c \
-       bertos/mware/sprintf.c \
-       bertos/os/hptime.c \
-       #
-
-libunittest_CPPASRC = \
-       bertos/emul/switch.S \
-       #
-
-libunittest_CFLAGS = -O0 -g3 -ggdb -D"ARCH=(ARCH_EMUL | ARCH_UNITTEST)"