Commit 08e5ffdc authored by Kirill Smelkov's avatar Kirill Smelkov

X test.sh can now run under custom kernel whole wc tests as well as wcfs/ only tests

parent ff802c28
#!/bin/bash -e #!/bin/bash -e
# run wcfs tests under custom linux kernel # run wendelin.core/wcfs tests under custom linux kernel
X=$(cd `dirname $0` && pwd)
if test -z "$qrun_loglevel"; then if test -z "$qrun_loglevel"; then
go build # rebuild wcfs make -C $X --no-print-directory # rebuild everything
linux=${LINUX:-$HOME/src/linux/linux/arch/`uname -m`/boot/bzImage} linux=${LINUX:-$HOME/src/linux/linux/arch/`uname -m`/boot/bzImage}
exec ../t/qemu-runlinux "$linux" $0 "$@" exec $X/t/qemu-runlinux "$linux" $0 "$@"
fi fi
# executed under qemu-runlinux # executed under qemu-runlinux
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment