mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-24 19:33:59 +08:00
libgo/testsuite/gotest: Run tests in source file order.
From-SVN: r176223
This commit is contained in:
parent
791ddb90b9
commit
09df293c7a
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user