diff options
author | Christian Cunningham <cc@localhost> | 2022-02-22 12:47:51 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-02-22 12:47:51 -0700 |
commit | c59fed186238d07557817a752f951471201ba9e0 (patch) | |
tree | 56d1e97d276f3a5fb0bdb897f4d65eb4c99d0f24 /Common.mk | |
parent | ef262d9a0b4b4d973e3c0fcabc9cdf4d57fc93ce (diff) |
Automated testing
Diffstat (limited to 'Common.mk')
-rw-r--r-- | Common.mk | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -34,7 +34,7 @@ endif CFLAGS += -DVERSION="\"0.1b\"" -.PHONY: clean run run-debug debug export tree disk +.PHONY: clean run run-silent run-debug debug export tree disk test default: clean build/kernel7.img @@ -70,6 +70,10 @@ run: build/kernel.elf @tput setaf 6 2> /dev/null || true; echo Starting QEMU; tput sgr0 2> /dev/null || true @${QEMU} -kernel $< ${QFLAGS} +run-silent: build/kernel.elf + @tput setaf 6 2> /dev/null || true; echo Starting QEMU; tput sgr0 2> /dev/null || true + @${QEMU} -kernel $< -nographic ${QFLAGS} + run-debug: build/kernel-g.elf @echo Starting QEMU in Debug Mode @${QEMU} -kernel $< -s -S ${QFLAGS} @@ -88,3 +92,7 @@ clean: tree: @tree -a -I obj\|build\|.git\|.gitignore + +test: clean build/kernel.elf + @tput setaf 6 2> /dev/null || true; echo Running Tests; tput sgr0 2> /dev/null || true + @./tests/run.sh |