misc/cgo/testso: do not leave out file behind

R=golang-dev, dvyukov
CC=golang-dev
https://golang.org/cl/5461044
This commit is contained in:
Alex Brainman 2011-12-09 11:00:49 +11:00
parent 5d045fb0f1
commit 692c31d60a
2 changed files with 10 additions and 2 deletions

9
misc/cgo/testso/test.bash Executable file
View file

@ -0,0 +1,9 @@
#!/bin/sh
# Copyright 2011 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
set -e
gomake out
LD_LIBRARY_PATH=. ./out
gomake clean

View file

@ -78,8 +78,7 @@ gotest
[ "$GOHOSTOS" == darwin ] ||
(xcd ../misc/cgo/testso
gomake clean
gomake out
LD_LIBRARY_PATH=. ./out
./test.bash
) || exit $?
(xcd ../doc/progs