git.ucc.asn.au
/
tpg
/
acess2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9f46a3a
)
Makefiles - Silenced utest and mtest chatter
author
John Hodge
<
[email protected]
>
Fri, 15 Feb 2013 03:36:13 +0000
(11:36 +0800)
committer
John Hodge
<
[email protected]
>
Fri, 15 Feb 2013 03:36:13 +0000
(11:36 +0800)
Makefile
patch
|
blob
|
history
Usermode/Libraries/Makefile.tpl
patch
|
blob
|
history
Usermode/Libraries/acess.ld_src/Makefile
patch
|
blob
|
history
Usermode/Libraries/crt0.o_src/Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/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
@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:
mtest:
- ;
+ @echo > /dev/null
SyscallList: include/syscalls.h
include/syscalls.h: KernelLand/Kernel/Makefile KernelLand/Kernel/syscalls.lst
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
f0084e2
..
1731f39
100644
(file)
--- 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)
utest: utest-build utest-run
generate_exp: $(UTESTS:%=EXP_%.txt)
+ @echo > /dev/null
utest-build: $(UTESTS:%=TEST_%)
utest-run: $(UTESTS:%=runtest-%)
utest-build: $(UTESTS:%=TEST_%)
utest-run: $(UTESTS:%=runtest-%)
+ @echo > /dev/null
$(UTESTS:%=runtest-%): runtest-%: TEST_%
./TEST_$* | diff EXP_$*.txt -
$(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
4b66433
..
25a5c56
100644
(file)
--- a/
Usermode/Libraries/acess.ld_src/Makefile
+++ b/
Usermode/Libraries/acess.ld_src/Makefile
@@
-17,7
+17,9
@@
clean:
install: $(BIN)
install: $(BIN)
+# How does one unit test a linker script?
utest generate_exp:
utest generate_exp:
+ @echo > /dev/null
$(BIN): acess_$(ARCHDIR).ld.h
@mkdir -p $(dir $(BIN))
$(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
509eea4
..
7ddc5f4
100644
(file)
--- a/
Usermode/Libraries/crt0.o_src/Makefile
+++ b/
Usermode/Libraries/crt0.o_src/Makefile
@@
-15,7
+15,9
@@
install: $(BIN)
clean:
$(RM) $(BIN)
clean:
$(RM) $(BIN)
+# Disabled unit tests
utest generate_exp:
utest generate_exp:
+ @echo > /dev/null
$(OUTPUTDIR)Libs/%.o: %.c
@mkdir -p $(dir $@)
$(OUTPUTDIR)Libs/%.o: %.c
@mkdir -p $(dir $@)
UCC
git Repository :: git.ucc.asn.au