]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libgo/testsuite/gotest: Run tests in source file order.
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 13 Jul 2011 01:04:50 +0000 (01:04 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 13 Jul 2011 01:04:50 +0000 (01:04 +0000)
From-SVN: r176223

libgo/testsuite/gotest

index cae420f4f4bd413b53c053b64702236d1b846bf5..938f47551ca48d16f85aa9842134cf687ddd20eb 100755 (executable)
@@ -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.