mirror of
https://github.com/tailix/kernel.git
synced 2024-11-20 11:16:10 -05:00
Improve testing
This commit is contained in:
parent
63c0b3adf3
commit
ff3fc403f1
2 changed files with 33 additions and 5 deletions
24
Makefile
24
Makefile
|
@ -11,12 +11,20 @@ clean: clean-kernel clean-iso clean-libk clean-test
|
|||
|
||||
test: run-test
|
||||
|
||||
##########
|
||||
# Kernel #
|
||||
##########
|
||||
|
||||
all-kernel: all-libk
|
||||
make all -C arch
|
||||
|
||||
clean-kernel:
|
||||
make clean -C arch
|
||||
|
||||
#######
|
||||
# ISO #
|
||||
#######
|
||||
|
||||
run-iso: all-iso
|
||||
make run -C iso
|
||||
|
||||
|
@ -26,19 +34,25 @@ all-iso: all-kernel
|
|||
clean-iso:
|
||||
make clean -C iso
|
||||
|
||||
########
|
||||
# libk #
|
||||
########
|
||||
|
||||
all-libk:
|
||||
make all -C libk
|
||||
|
||||
clean-libk:
|
||||
make clean -C libk
|
||||
|
||||
test-libk: all-test
|
||||
make run -C test/libk
|
||||
#########
|
||||
# Tests #
|
||||
#########
|
||||
|
||||
run-test: test-libk
|
||||
run-test: all-test
|
||||
make run -C test
|
||||
|
||||
all-test: all-libk
|
||||
make all -C test/libk
|
||||
make all -C test
|
||||
|
||||
clean-test:
|
||||
make clean -C test/libk
|
||||
make clean -C test
|
||||
|
|
14
test/Makefile
Normal file
14
test/Makefile
Normal file
|
@ -0,0 +1,14 @@
|
|||
SUITES = libk
|
||||
|
||||
run: $(addprefix run-, $(SUITES))
|
||||
all: $(addprefix all-, $(SUITES))
|
||||
clean: $(addprefix clean-, $(SUITES))
|
||||
|
||||
run-%: all-%
|
||||
make run -C $*
|
||||
|
||||
all-%:
|
||||
make all -C $*
|
||||
|
||||
clean-%:
|
||||
make clean -C $*
|
Loading…
Reference in a new issue