mirror of
https://github.com/tailix/kernel.git
synced 2025-08-14 22:13:50 -04: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
|
test: run-test
|
||||||
|
|
||||||
|
##########
|
||||||
|
# Kernel #
|
||||||
|
##########
|
||||||
|
|
||||||
all-kernel: all-libk
|
all-kernel: all-libk
|
||||||
make all -C arch
|
make all -C arch
|
||||||
|
|
||||||
clean-kernel:
|
clean-kernel:
|
||||||
make clean -C arch
|
make clean -C arch
|
||||||
|
|
||||||
|
#######
|
||||||
|
# ISO #
|
||||||
|
#######
|
||||||
|
|
||||||
run-iso: all-iso
|
run-iso: all-iso
|
||||||
make run -C iso
|
make run -C iso
|
||||||
|
|
||||||
|
@ -26,19 +34,25 @@ all-iso: all-kernel
|
||||||
clean-iso:
|
clean-iso:
|
||||||
make clean -C iso
|
make clean -C iso
|
||||||
|
|
||||||
|
########
|
||||||
|
# libk #
|
||||||
|
########
|
||||||
|
|
||||||
all-libk:
|
all-libk:
|
||||||
make all -C libk
|
make all -C libk
|
||||||
|
|
||||||
clean-libk:
|
clean-libk:
|
||||||
make clean -C 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
|
all-test: all-libk
|
||||||
make all -C test/libk
|
make all -C test
|
||||||
|
|
||||||
clean-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…
Add table
Add a link
Reference in a new issue