blob: 5501edf0f46867bd678a0b76691094b4491c532f (
plain) (
blame)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
#! /bin/sh
#
# Do a full test sweep using the other helper scripts
#
all_confs=yes
do_update=no
testdir=`pwd`
# update RTEMS and all the add-ons
# TODO: Does it make sense to automate updating with git?
if [ ${do_update} = yes ] ; then
cd ${testdir}/rtems
# TODO: Replace with git pull
for addon in class-examples examples examples-v2 rtems-addon-packages \
network-demos ada-examples
do
if [ -d ${addon} ] ; then
cd ${testdir}/${addon}
# TODO: Replace with git pull
fi
done
fi
# Bootstrap the tree just to start with a known good place
cd ${testdir}/rtems
./bootstrap -c
start=`date`
./bootstrap
stop=`date`
echo "Bootstrap started at:" $start
echo "Bootstrap stopped at:" $stop
cd $testdir
rm -f log/*
# build all standard BSPs non-multilib
./bit_all_bsps
# build all of the multilibs
sh -x ./bit_all_multilib
# build the documentation
./bit_docs >log/docs.log
# build all configurations of a single BSP (powerpc/psim)
if [ X${all_confs} = Xno ] ; then
echo "**** skipping all configurations test. ****"
else
all_bsp=psim
all_target=powerpc
sh -x ./bit_all_confs ${all_target} ${all_bsp}
rm -rf build-${all_target}-${all_bsp}-rtems
fi
stop=`date`
echo "All started at:" $start
echo "All stopped at:" $stop
|