aboutsummaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2011-07-13 01:04:50 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2011-07-13 01:04:50 +0000
commit09df293c7aa620c7c5494c7d7dbab2be2da0b040 (patch)
tree5203690c8a24e01b41d64c27c5e323dddb2d5073 /libgo
parent791ddb90b92648140d6a0085d7c7fad32d124cc5 (diff)
downloadgcc-09df293c7aa620c7c5494c7d7dbab2be2da0b040.zip
gcc-09df293c7aa620c7c5494c7d7dbab2be2da0b040.tar.gz
gcc-09df293c7aa620c7c5494c7d7dbab2be2da0b040.tar.bz2
libgo/testsuite/gotest: Run tests in source file order.
From-SVN: r176223
Diffstat (limited to 'libgo')
-rwxr-xr-xlibgo/testsuite/gotest4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/testsuite/gotest b/libgo/testsuite/gotest
index cae420f..938f475 100755
--- a/libgo/testsuite/gotest
+++ b/libgo/testsuite/gotest
@@ -288,11 +288,11 @@ if test -n "$prefix"; then
prefixarg="-fgo-prefix=$prefix"
fi
-$GC -g $prefixarg -c -I . -o _gotest_.o $gofiles $pkgbasefiles
+$GC -g $prefixarg -c -I . -fno-toplevel-reorder -o _gotest_.o $gofiles $pkgbasefiles
if $havex; then
mkdir -p `dirname $package`
cp _gotest_.o `dirname $package`/lib`basename $package`.a
- $GC -g -c -I . -o $xofile $xgofiles
+ $GC -g -c -I . -fno-toplevel-reorder -o $xofile $xgofiles
fi
# They all compile; now generate the code to call them.