blob: 0b6748ab25466e67d633e09a43e2535ee02cfa9d [file] [log] [blame]
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +09001#!/bin/sh
2set -ev
3
4./bootstrap.sh
5./configure --enable-tutorial=no
Nobuaki Sukegawa2c5ed272016-02-27 18:22:40 +09006make -j3 precross
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +09007
8set +e
Nobuaki Sukegawa2c64bdd2016-09-04 15:33:40 +09009make cross$1
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +090010
11RET=$?
12if [ $RET -ne 0 ]; then
Jano Svitoked1711e2020-03-10 22:39:18 +010013 if [ -f "test/features/log/unexpected_failures.log" ]; then
14 cat "test/features/log/unexpected_failures.log"
15 fi
16 if [ -f "test/log/unexpected_failures.log" ]; then
17 cat "test/log/unexpected_failures.log"
18 fi
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +090019fi
20
21exit $RET