scripts/build/test_suite/gcc.sh
author "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
Thu Aug 18 16:05:48 2011 +0200 (2011-08-18)
changeset 2612 a52574521bea
parent 1965 e3d532dd8b5d
child 2830 c3ff88a0c788
permissions -rw-r--r--
debug/gdb: update GDB revisions

Update GDB with the latest available revisions.

Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
mgl@1965
     1
# This file adds the functions to build the GCC test suite
mgl@1965
     2
# Copyright 2010 DoréDevelopment
mgl@1965
     3
# Created by Martin Lund <mgl@doredevelopment.dk>
mgl@1965
     4
# Licensed under the GPL v2. See COPYING in the root of this package
mgl@1965
     5
mgl@1965
     6
do_test_suite_gcc_get() { :; }
mgl@1965
     7
do_test_suite_gcc_extract() { :; }
mgl@1965
     8
do_test_suite_gcc_build() { :; }
mgl@1965
     9
mgl@1965
    10
# Overide functions depending on configuration
mgl@1965
    11
if [ "${CT_TEST_SUITE_GCC}" = "y" ]; then
mgl@1965
    12
mgl@1965
    13
do_test_suite_gcc_build() {
mgl@1965
    14
 
mgl@1965
    15
    CT_DoStep INFO "Installing GCC test suite"
mgl@1965
    16
yann@1966
    17
    CT_DoExecLog ALL mkdir -p "${CT_TEST_SUITE_DIR}/gcc"
yann@1966
    18
    CT_DoExecLog ALL cp -a "${CT_LIB_DIR}/contrib/gcc-test-suite/default.cfg"               \
yann@1966
    19
                           "${CT_LIB_DIR}/contrib/gcc-test-suite/Makefile"                  \
yann@1966
    20
                           "${CT_LIB_DIR}/contrib/gcc-test-suite/README"                    \
yann@1966
    21
                           "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/gcc/testsuite"               \
yann@1966
    22
                           "${CT_TEST_SUITE_DIR}/gcc"
yann@1966
    23
yann@1966
    24
    CT_DoExecLog ALL sed -i -r -e "s/@@DG_TARGET@@/${CT_TARGET}/g;"     \
yann@1966
    25
                         "${CT_TEST_SUITE_DIR}/gcc/Makefile"
yann@1966
    26
mgl@1965
    27
    CT_EndStep
mgl@1965
    28
}
mgl@1965
    29
mgl@1965
    30
fi # CT_TEST_SUITE_GCC