From: Alex Brainman Date: Fri, 9 Dec 2011 00:00:49 +0000 (+1100) Subject: misc/cgo/testso: do not leave out file behind X-Git-Tag: weekly.2011-12-14~133 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=692c31d60a1bba484bca6efb59619243bb93d483;p=gostls13.git misc/cgo/testso: do not leave out file behind R=golang-dev, dvyukov CC=golang-dev https://golang.org/cl/5461044 --- diff --git a/misc/cgo/testso/test.bash b/misc/cgo/testso/test.bash new file mode 100755 index 0000000000..f275eb5723 --- /dev/null +++ b/misc/cgo/testso/test.bash @@ -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 diff --git a/src/run.bash b/src/run.bash index 74ad72e9e3..64514bce62 100755 --- a/src/run.bash +++ b/src/run.bash @@ -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