aboutsummaryrefslogtreecommitdiff
path: root/libgo/testsuite
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-13 01:04:50 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-13 01:04:50 +0000
commit934438078477ce4823b09c6cf92a6231dd69bbf3 (patch)
tree5203690c8a24e01b41d64c27c5e323dddb2d5073 /libgo/testsuite
parentd1f2d5e0a67705c00788b8f0673f76ac79b5f659 (diff)
libgo/testsuite/gotest: Run tests in source file order.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176223 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/testsuite')
-rwxr-xr-xlibgo/testsuite/gotest4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/testsuite/gotest b/libgo/testsuite/gotest
index cae420f4f4b..938f47551ca 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.