From 692c31d60a1bba484bca6efb59619243bb93d483 Mon Sep 17 00:00:00 2001 From: Alex Brainman Date: Fri, 9 Dec 2011 11:00:49 +1100 Subject: [PATCH] misc/cgo/testso: do not leave out file behind R=golang-dev, dvyukov CC=golang-dev https://golang.org/cl/5461044 --- misc/cgo/testso/test.bash | 9 +++++++++ src/run.bash | 3 +-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100755 misc/cgo/testso/test.bash 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