Commit ff802c28 authored by Kirill Smelkov's avatar Kirill Smelkov

X explicit goflags handling is not needed

On can just use GOFLAGS env var that is taken by go command itself into
account.
parent 4eb924e4
......@@ -2,15 +2,7 @@
# run wcfs tests under custom linux kernel
if test -z "$qrun_loglevel"; then
# flags for `go build`
goflags=""
case "$1" in
-race) # enable race-detector
goflags="$goflags $1"
shift;;
esac
go build $goflags # rebuild wcfs
go build # rebuild wcfs
linux=${LINUX:-$HOME/src/linux/linux/arch/`uname -m`/boot/bzImage}
exec ../t/qemu-runlinux "$linux" $0 "$@"
fi
......
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