blob: 64be63253b3c9acd0a067ae25f42c7910f3b3730 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#!/bin/bash
set -exuo pipefail
./bootstrap
./configure CFLAGS="-ggdb -O0" \
--enable-logging=verbose \
--disable-doc
make
make install
check_command()
{
make check
}
print_logs()
{
for i in $(cat src/util/test-suite.log | grep '^FAIL:' | cut -d' ' -f 2)
do
echo Printing $i.log:
tail src/util/$i.log
done
}
if ! check_command ; then
print_logs
exit 1
fi
|