From 3565963b4ec1a837bbf10abd8514169c678bc8af Mon Sep 17 00:00:00 2001 From: batt Date: Wed, 17 Dec 2008 16:17:59 +0000 Subject: [PATCH] Remove libunittest: this will be handled by the run_tests script. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2067 38d2e660-2303-0410-9eaa-f027e97ec537 --- Makefile | 1 - bertos/rules.mk | 6 +++--- test/libunittest.mk | 37 ------------------------------------- 3 files changed, 3 insertions(+), 41 deletions(-) delete mode 100644 test/libunittest.mk diff --git a/Makefile b/Makefile index 494f2bc4..1eb5c26e 100644 --- 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 diff --git a/bertos/rules.mk b/bertos/rules.mk index eed0fe50..e25d7359 100644 --- a/bertos/rules.mk +++ b/bertos/rules.mk @@ -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 index a4fd6886..00000000 --- a/test/libunittest.mk +++ /dev/null @@ -1,37 +0,0 @@ -# -# Copyright 2008 Develer S.r.l. (http://www.develer.com/) -# -# Makefile fragment for unit testing. -# -# Author: Francesco Sacchi -# - -# 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)" -- 2.25.1