]> Cypherpunks repositories - gostls13.git/commitdiff
doc: fix freebsd build
authorShenghou Ma <minux.ma@gmail.com>
Thu, 8 Mar 2012 03:04:49 +0000 (12:04 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Thu, 8 Mar 2012 03:04:49 +0000 (12:04 +0900)
Also rename it to test.bash, for naming consistency.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5784045

doc/articles/wiki/test.bash [moved from doc/articles/wiki/test.sh with 70% similarity]
src/run.bash

similarity index 70%
rename from doc/articles/wiki/test.sh
rename to doc/articles/wiki/test.bash
index 58b218a78a556d4952b62b8da9907bd62d31874e..5c2cb60dc0044329f084ba03c6d5eb66e9a875f7 100755 (executable)
@@ -1,4 +1,7 @@
 #!/usr/bin/env bash
+# Copyright 2010 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
 wiki_pid=
@@ -8,10 +11,10 @@ cleanup() {
 }
 trap cleanup 0 INT
 
-make get.bin
+go build -o get.bin get.go
 addr=$(./get.bin -addr)
 sed s/:8080/$addr/ < final.go > final-test.go
-make final-test.bin
+go build -o final-test.bin final-test.go
 (./final-test.bin) &
 wiki_pid=$!
 
index 1c73e131d32f461833212d93eb9bd53ced3a8019..e97f55a0ba92d73a57ba36ba0b629e3600c06e04 100755 (executable)
@@ -71,7 +71,7 @@ time ./run
 [ "$GOARCH" == arm ] ||  # uses network, fails under QEMU
 (xcd ../doc/articles/wiki
 make clean
-./test.sh
+./test.bash
 ) || exit $?
 
 echo