summaryrefslogtreecommitdiff
path: root/rtems/bit_ALL
blob: a734f47b6960ffd108378988fe1fbe54b65febec (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
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
#! /bin/bash
#
#  Do a full test sweep using the other helper scripts
#

all_confs=no
do_cvs_update=yes

testdir=`pwd`

# update all the add-ons
if [ ${do_cvs_update} = yes ] ; then
  cd ${testdir}/rtems
  cvs up -Pd 2>&1 | grep -v cvs
  for addon in class-examples examples examples-v2 rtems-addon-packages \
      network-demos ada-examples
  do
    if [ -d ${addon} ] ; then
      cd ${testdir}/${addon}
      cvs up -Pd 2>&1 | grep -v cvs
    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