diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
| @@ -6,7 +6,7 @@ | |||
| 6 | SYSTEM_IMG ?= /tmp/system.img | 6 | SYSTEM_IMG ?= /tmp/system.img |
| 7 | 7 | ||
| 8 | .PHONY: all build run run-headless debug system system-fresh inspect \ | 8 | .PHONY: all build run run-headless debug system system-fresh inspect \ |
| 9 | test test-disk test-fault test-gfx test-mouse test-msg fmt clean help | 9 | test test-disk test-fault test-gfx test-mouse test-msg test-usb fmt clean help |
| 10 | 10 | ||
| 11 | # ---- build ---------------------------------------------------------------- | 11 | # ---- build ---------------------------------------------------------------- |
| 12 | 12 | ||
| @@ -45,7 +45,7 @@ inspect: | |||
| 45 | 45 | ||
| 46 | # ---- tests ---------------------------------------------------------------- | 46 | # ---- tests ---------------------------------------------------------------- |
| 47 | 47 | ||
| 48 | test: test-disk test-gfx test-mouse test-msg test-fault | 48 | test: test-disk test-gfx test-mouse test-msg test-fault test-usb |
| 49 | 49 | ||
| 50 | test-disk: | 50 | test-disk: |
| 51 | ./scripts/tests/test-disk.sh | 51 | ./scripts/tests/test-disk.sh |
| @@ -62,6 +62,9 @@ test-mouse: | |||
| 62 | test-msg: | 62 | test-msg: |
| 63 | ./scripts/tests/test-msg.sh | 63 | ./scripts/tests/test-msg.sh |
| 64 | 64 | ||
| 65 | test-usb: | ||
| 66 | ./scripts/tests/test-usb.sh | ||
| 67 | |||
| 65 | # ---- utilities ------------------------------------------------------------ | 68 | # ---- utilities ------------------------------------------------------------ |
| 66 | 69 | ||
| 67 | fmt: | 70 | fmt: |
| @@ -86,6 +89,7 @@ help: | |||
| 86 | @echo " make test-mouse PS/2 mouse + cursor tracking" | 89 | @echo " make test-mouse PS/2 mouse + cursor tracking" |
| 87 | @echo " make test-msg scheduler message queues" | 90 | @echo " make test-msg scheduler message queues" |
| 88 | @echo " make test-fault fault dump (screen + serial)" | 91 | @echo " make test-fault fault dump (screen + serial)" |
| 92 | @echo " make test-usb USB HID enumeration (EHCI + xHCI)" | ||
| 89 | @echo " make fmt format Rust source" | 93 | @echo " make fmt format Rust source" |
| 90 | @echo " make clean remove build artifacts" | 94 | @echo " make clean remove build artifacts" |
| 91 | @echo "" | 95 | @echo "" |
