Skip to content

Commit

Permalink
disable-newlib-wide-orient and remove oversize tests from logs
Browse files Browse the repository at this point in the history
  • Loading branch information
reenigne committed Jan 17, 2017
1 parent dec0067 commit 784ffbd
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ if in_list newlib BUILDLIST; then
rm -rf build-newlib
mkdir build-newlib
pushd build-newlib
../newlib-ia16/configure --target=ia16-unknown-elf --prefix="$PREFIX" 2>&1 | tee build.log
../newlib-ia16/configure --target=ia16-unknown-elf --prefix="$PREFIX" --disable-newlib-wide-orient 2>&1 | tee build.log
make $PARALLEL 'CFLAGS=-D_IEEE_LIBM' 2>&1 | tee -a build.log
make install 2>&1 | tee -a build.log
popd
Expand Down Expand Up @@ -183,17 +183,19 @@ if in_list test BUILDLIST; then
echo
export DEJAGNU="$HERE/site.exp"
pushd build2
GROUP=""
if [ -f ../group ]; then
read GROUP < ../group
fi
i=0
while [[ -e ../fails-$i.txt ]] ; do
while [[ -e ../fails-$GROUP$i.txt ]] ; do
i=$[$i+1]
done
make -k check RUNTESTFLAGS="--target_board=86sim" 2>&1 | tee test.log
grep -E ^FAIL\|^WARNING\|^ERROR\|^XPASS\|^UNRESOLVED gcc/testsuite/gcc/gcc.log > ../fails-$i.txt
grep -E ^FAIL\|^WARNING\|^ERROR\|^XPASS\|^UNRESOLVED gcc/testsuite/g++/g++.log >> ../fails-$i.txt
grep -E ^FAIL\|^WARNING\|^ERROR\|^XPASS\|^UNRESOLVED ia16-unknown-elf/libstdc++-v3/testsuite/libstdc++.log >> ../fails-$i.txt
cp gcc/testsuite/gcc/gcc.log ../gcc-$i.log
cp gcc/testsuite/g++/g++.log ../g++-$i.log
cp ia16-unknown-elf/libstdc++-v3/testsuite/libstdc++.log ../libstdc++-$i.log
../log_filter gcc/testsuite/gcc/gcc.log >../results-$GROUP$i.log
../log_filter gcc/testsuite/g++/g++.log >>../results-$GROUP$i.log
../log_filter ia16-unknown-elf/libstdc++-v3/testsuite/libstdc++.log >>../results-$GROUP$i.log
grep -E ^FAIL\|^WARNING\|^ERROR\|^XPASS\|^UNRESOLVED ../results-$GROUP$i.log > ../fails-$GROUP$i.txt
popd
fi

Expand Down

0 comments on commit 784ffbd

Please sign in to comment.