Makefile - Add network module tests
authorJohn Hodge <[email protected]>
Sat, 10 May 2014 02:41:28 +0000 (10:41 +0800)
committerJohn Hodge <[email protected]>
Sat, 10 May 2014 02:41:28 +0000 (10:41 +0800)
Makefile

index 0edc983..c283ec6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -73,9 +73,15 @@ $(USRLIBS:%=utest-%): utest-%:
        @CC=$(NCC) $(SUBMAKE) -C Usermode/Libraries/$*_src utest -k
 
 # TODO: Module tests using DiskTool and NetTest
-mtest:
+mtest: mtest-Network
        @echo > /dev/null
 
+mtest-Network:
+       @$(SUBMAKE) -C Tools/nativelib
+       @$(SUBMAKE) -C Tools/NetTest
+       @$(SUBMAKE) -C Tools/NetTest_Runner
+       @cd Tools && ./nettest_runner
+
 SyscallList: include/syscalls.h
 include/syscalls.h: KernelLand/Kernel/Makefile KernelLand/Kernel/syscalls.lst
        @make -C KernelLand/Kernel/ include/syscalls.h

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