]> Cypherpunks repositories - gostls13.git/commitdiff
misc/cgo/testso: do not leave out file behind
authorAlex Brainman <alex.brainman@gmail.com>
Fri, 9 Dec 2011 00:00:49 +0000 (11:00 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Fri, 9 Dec 2011 00:00:49 +0000 (11:00 +1100)
R=golang-dev, dvyukov
CC=golang-dev
https://golang.org/cl/5461044

misc/cgo/testso/test.bash [new file with mode: 0755]
src/run.bash

diff --git a/misc/cgo/testso/test.bash b/misc/cgo/testso/test.bash
new file mode 100755 (executable)
index 0000000..f275eb5
--- /dev/null
@@ -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
index 74ad72e9e3942ab12072951f8bc79842bb5c6c60..64514bce62d90dc3ec223a579fd05cc52bc22e45 100755 (executable)
@@ -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