Commit 09df293c by Ian Lance Taylor

libgo/testsuite/gotest: Run tests in source file order.

From-SVN: r176223
parent 791ddb90
...@@ -288,11 +288,11 @@ if test -n "$prefix"; then ...@@ -288,11 +288,11 @@ if test -n "$prefix"; then
prefixarg="-fgo-prefix=$prefix" prefixarg="-fgo-prefix=$prefix"
fi 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 if $havex; then
mkdir -p `dirname $package` mkdir -p `dirname $package`
cp _gotest_.o `dirname $package`/lib`basename $package`.a 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 fi
# They all compile; now generate the code to call them. # They all compile; now generate the code to call them.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment