source: rtems-testing/rtems/bit_ALL @ 43b4eb4

Last change on this file since 43b4eb4 was 85c521d, checked in by Joel Sherrill <joel.sherrill@…>, on May 2, 2014 at 2:14:18 PM

rtems-testing: Use eval bash instead of full path

  • Property mode set to 100755
File size: 1.2 KB
Line 
1#! /bin/sh
2#
3#  Do a full test sweep using the other helper scripts
4#
5
6all_confs=yes
7do_update=no
8
9testdir=`pwd`
10
11# update RTEMS and all the add-ons
12# TODO: Does it make sense to automate updating with git?
13if [ ${do_update} = yes ] ; then
14  cd ${testdir}/rtems
15  # TODO: Replace with git pull
16  for addon in class-examples examples examples-v2 rtems-addon-packages \
17      network-demos ada-examples
18  do
19    if [ -d ${addon} ] ; then
20      cd ${testdir}/${addon}
21      # TODO: Replace with git pull
22    fi
23  done
24fi
25
26# Bootstrap the tree just to start with a known good place
27cd ${testdir}/rtems
28./bootstrap -c
29start=`date`
30./bootstrap
31stop=`date`
32echo "Bootstrap started at:" $start
33echo "Bootstrap stopped at:" $stop
34cd $testdir
35rm -f log/*
36
37# build all standard BSPs non-multilib
38./bit_all_bsps
39
40# build all of the multilibs
41sh -x ./bit_all_multilib
42
43# build the documentation
44./bit_docs >log/docs.log
45
46# build all configurations of a single BSP (powerpc/psim)
47if [ X${all_confs} = Xno ] ; then
48  echo "**** skipping all configurations test. ****"
49else
50  all_bsp=psim
51  all_target=powerpc
52  sh -x ./bit_all_confs ${all_target} ${all_bsp}
53  rm -rf build-${all_target}-${all_bsp}-rtems
54fi
55
56stop=`date`
57echo "All started at:" $start
58echo "All stopped at:" $stop
Note: See TracBrowser for help on using the repository browser.