summaryrefslogtreecommitdiffstats
path: root/gcc/do_tests
blob: 0275afb25f08dfd2aab2fe1cc432172675bf4e02 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#! /usr/bin/env bash
#
# Example script to show how to test an installed RTEMS and GCC
#

gcc=gcc
prefix=/users/joel/work-gnat/svn/install
target=powerpc-rtems4.10
bsp=psim
tmpdir=/users/joel/work-gnat/svn/install/../gcctests-${bsp}

cd ${gcc}
rm -f site.exp
sh -x ./contrib/test_installed \
  --target=${target} \
  --target_board=rtems-${bsp} \
  --with-gcc=${prefix}/bin/${target}-gcc \
  --without-g++ \
  --without-gfortran \
  --without-objc \
  --tmpdir=${tmpdir}