Makefiles - Silenced utest and mtest chatter
authorJohn Hodge <[email protected]>
Fri, 15 Feb 2013 03:36:13 +0000 (11:36 +0800)
committerJohn Hodge <[email protected]>
Fri, 15 Feb 2013 03:36:13 +0000 (11:36 +0800)
Makefile
Usermode/Libraries/Makefile.tpl
Usermode/Libraries/acess.ld_src/Makefile
Usermode/Libraries/crt0.o_src/Makefile

index ce0172c..f0f85df 100644 (file)
--- 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
index f0084e2..1731f39 100644 (file)
@@ -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 -
index 4b66433..25a5c56 100644 (file)
@@ -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))
index 509eea4..7ddc5f4 100644 (file)
@@ -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 $@)

UCC git Repository :: git.ucc.asn.au