2010-05-19 15:53:04 +00:00
|
|
|
# This file adds the functions to build the GCC test suite
|
|
|
|
# Copyright 2010 DoréDevelopment
|
|
|
|
# Created by Martin Lund <mgl@doredevelopment.dk>
|
|
|
|
# Licensed under the GPL v2. See COPYING in the root of this package
|
|
|
|
|
|
|
|
do_test_suite_gcc_get() { :; }
|
|
|
|
do_test_suite_gcc_extract() { :; }
|
|
|
|
do_test_suite_gcc_build() { :; }
|
|
|
|
|
|
|
|
# Overide functions depending on configuration
|
|
|
|
if [ "${CT_TEST_SUITE_GCC}" = "y" ]; then
|
|
|
|
|
|
|
|
do_test_suite_gcc_build() {
|
|
|
|
|
|
|
|
CT_DoStep INFO "Installing GCC test suite"
|
|
|
|
|
2010-05-22 20:04:31 +00:00
|
|
|
CT_DoExecLog ALL mkdir -p "${CT_TEST_SUITE_DIR}/gcc"
|
2015-05-29 20:40:58 +00:00
|
|
|
CT_DoExecLog ALL cp -av "${CT_LIB_DIR}/contrib/gcc-test-suite/default.cfg" \
|
|
|
|
"${CT_LIB_DIR}/contrib/gcc-test-suite/Makefile" \
|
|
|
|
"${CT_LIB_DIR}/contrib/gcc-test-suite/README" \
|
|
|
|
"${CT_SRC_DIR}/gcc-${CT_CC_GCC_VERSION}/gcc/testsuite" \
|
2012-01-01 21:54:37 +00:00
|
|
|
"${CT_TEST_SUITE_DIR}/gcc"
|
2010-05-22 20:04:31 +00:00
|
|
|
|
2017-02-27 03:06:35 +00:00
|
|
|
CT_DoExecLog ALL sed -i -r -e "s/@@DG_TARGET@@/${CT_TARGET}/g;" \
|
2010-05-22 20:04:31 +00:00
|
|
|
"${CT_TEST_SUITE_DIR}/gcc/Makefile"
|
|
|
|
|
2010-05-19 15:53:04 +00:00
|
|
|
CT_EndStep
|
|
|
|
}
|
|
|
|
|
|
|
|
fi # CT_TEST_SUITE_GCC
|