mgl@1965: # This file adds the functions to build the GCC test suite mgl@1965: # Copyright 2010 DoréDevelopment mgl@1965: # Created by Martin Lund mgl@1965: # Licensed under the GPL v2. See COPYING in the root of this package mgl@1965: mgl@1965: do_test_suite_gcc_get() { :; } mgl@1965: do_test_suite_gcc_extract() { :; } mgl@1965: do_test_suite_gcc_build() { :; } mgl@1965: mgl@1965: # Overide functions depending on configuration mgl@1965: if [ "${CT_TEST_SUITE_GCC}" = "y" ]; then mgl@1965: mgl@1965: do_test_suite_gcc_build() { mgl@1965: mgl@1965: CT_DoStep INFO "Installing GCC test suite" mgl@1965: yann@1966: CT_DoExecLog ALL mkdir -p "${CT_TEST_SUITE_DIR}/gcc" yann@1966: CT_DoExecLog ALL cp -a "${CT_LIB_DIR}/contrib/gcc-test-suite/default.cfg" \ yann@1966: "${CT_LIB_DIR}/contrib/gcc-test-suite/Makefile" \ yann@1966: "${CT_LIB_DIR}/contrib/gcc-test-suite/README" \ yann@1966: "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/gcc/testsuite" \ yann@1966: "${CT_TEST_SUITE_DIR}/gcc" yann@1966: yann@1966: CT_DoExecLog ALL sed -i -r -e "s/@@DG_TARGET@@/${CT_TARGET}/g;" \ yann@1966: "${CT_TEST_SUITE_DIR}/gcc/Makefile" yann@1966: mgl@1965: CT_EndStep mgl@1965: } mgl@1965: mgl@1965: fi # CT_TEST_SUITE_GCC