commit | f68c23e2bba617d8f9bbe1cb53a920aeaf8901ad | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Tue Sep 03 21:15:15 2013 -0700 |
committer | Ian Lance Taylor <iant@golang.org> | Tue Sep 03 21:15:15 2013 -0700 |
tree | 0f91d00295700581344c67109e79c795cee6be3c | |
parent | 0ba7ffe2897cd9771de172362e9edcb5f733cf1f [diff] [blame] |
cmd/cgo: don't let #cgo directives mess up line numbering Fixes #5272. R=golang-dev, r CC=golang-dev https://golang.org/cl/13498046
diff --git a/src/run.bash b/src/run.bash index 52e09b4..9af3f95 100755 --- a/src/run.bash +++ b/src/run.bash
@@ -145,6 +145,12 @@ go run main.go || exit 1 ) || exit $? +[ "$CGO_ENABLED" != 1 ] || +[ "$GOHOSTOS" == windows ] || +(xcd ../misc/cgo/errors +./test.bash || exit 1 +) || exit $? + (xcd ../doc/progs time ./run || exit 1 ) || exit $?