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 @@ ...@@ -2,15 +2,7 @@
# run wcfs tests under custom linux kernel # run wcfs tests under custom linux kernel
if test -z "$qrun_loglevel"; then if test -z "$qrun_loglevel"; then
# flags for `go build` go build # rebuild wcfs
goflags=""
case "$1" in
-race) # enable race-detector
goflags="$goflags $1"
shift;;
esac
go build $goflags # rebuild wcfs
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 ../t/qemu-runlinux "$linux" $0 "$@"
fi 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