@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
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 -
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))
clean:
$(RM) $(BIN)
+# Disabled unit tests
utest generate_exp:
+ @echo > /dev/null
$(OUTPUTDIR)Libs/%.o: %.c
@mkdir -p $(dir $@)