build: make baremetal parts more flexible and powerful

Document test-gdb on readme
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-11-09 00:00:00 +00:00
parent ce18cdc573
commit 5d649377fc
9 changed files with 136 additions and 39 deletions

12
test
View File

@@ -1,4 +1,14 @@
#!/usr/bin/env bash
set -eu
./bench-boot --size "${1:-1}"
test_size=1
while [ $# -gt 0 ]; do
case "$1" in
--size)
test_size="$2"
shift 2
;;
esac
done
./bench-boot --size "$test_size"
./test-modules
./test-gdb