From: John Hodge Date: Fri, 15 Feb 2013 03:36:13 +0000 (+0800) Subject: Makefiles - Silenced utest and mtest chatter X-Git-Tag: rel0.15~570 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=525c778c6b4c1cf24db7efa40f2809eda1628357;p=tpg%2Facess2.git Makefiles - Silenced utest and mtest chatter --- diff --git a/Makefile b/Makefile index ce0172c1..f0f85df1 100644 --- a/Makefile +++ b/Makefile @@ -63,8 +63,9 @@ $(USRLIBS:%=utest-%): utest-%: @CC=$(NCC) $(SUBMAKE) -C Usermode/Libraries/$*_src generate_exp @CC=$(NCC) $(SUBMAKE) -C Usermode/Libraries/$*_src utest -k +# TODO: Module tests using DiskTool and NetTest mtest: - ; + @echo > /dev/null SyscallList: include/syscalls.h include/syscalls.h: KernelLand/Kernel/Makefile KernelLand/Kernel/syscalls.lst diff --git a/Usermode/Libraries/Makefile.tpl b/Usermode/Libraries/Makefile.tpl index f0084e21..1731f393 100644 --- a/Usermode/Libraries/Makefile.tpl +++ b/Usermode/Libraries/Makefile.tpl @@ -24,10 +24,12 @@ all: $(_BIN) $(_XBIN) utest: utest-build utest-run generate_exp: $(UTESTS:%=EXP_%.txt) + @echo > /dev/null utest-build: $(UTESTS:%=TEST_%) utest-run: $(UTESTS:%=runtest-%) + @echo > /dev/null $(UTESTS:%=runtest-%): runtest-%: TEST_% ./TEST_$* | diff EXP_$*.txt - diff --git a/Usermode/Libraries/acess.ld_src/Makefile b/Usermode/Libraries/acess.ld_src/Makefile index 4b66433c..25a5c565 100644 --- a/Usermode/Libraries/acess.ld_src/Makefile +++ b/Usermode/Libraries/acess.ld_src/Makefile @@ -17,7 +17,9 @@ clean: install: $(BIN) +# How does one unit test a linker script? utest generate_exp: + @echo > /dev/null $(BIN): acess_$(ARCHDIR).ld.h @mkdir -p $(dir $(BIN)) diff --git a/Usermode/Libraries/crt0.o_src/Makefile b/Usermode/Libraries/crt0.o_src/Makefile index 509eea4d..7ddc5f41 100644 --- a/Usermode/Libraries/crt0.o_src/Makefile +++ b/Usermode/Libraries/crt0.o_src/Makefile @@ -15,7 +15,9 @@ install: $(BIN) clean: $(RM) $(BIN) +# Disabled unit tests utest generate_exp: + @echo > /dev/null $(OUTPUTDIR)Libs/%.o: %.c @mkdir -p $(dir $@)