git.schokokeks.org
Repositories
Help
Report an Issue
keks-overlay.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
4b85c67
Branches
Tags
master
keks-overlay.git
sys-libs
glibc
files
eblits
src_test.eblit
glibc security fixes
Hanno Böck
commited
4b85c67
at 2010-10-26 21:29:15
src_test.eblit
Blame
History
Raw
# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_test.eblit,v 1.4 2010/08/10 08:08:05 vapier Exp $ toolchain-glibc_src_test() { cd "${WORKDIR}"/build-${ABI}-${CTARGET}-$1 || die "cd build-${ABI}-${CTARGET}-$1" unset LD_ASSUME_KERNEL emake -j1 check && return 0 einfo "make check failed - re-running with --keep-going to get the rest of the results" emake -j1 -k check ewarn "make check failed for ${ABI}-${CTARGET}-$1" return 1 } eblit-glibc-src_test() { local ret=0 setup_env # give tests more time to complete export TIMEOUTFACTOR=5 if [[ -z ${OABI} ]] && has_multilib_profile ; then OABI=${ABI} einfo "Testing multilib glibc for ABIs: $(get_install_abis)" for ABI in $(get_install_abis) ; do export ABI einfo " Testing ${ABI} glibc" src_test ((ret+=$?)) done ABI=${OABI} unset OABI [[ ${ret} -ne 0 ]] \ && die "tests failed" \ || return 0 fi want_linuxthreads && toolchain-glibc_src_test linuxthreads ; ((ret+=$?)) want_nptl && toolchain-glibc_src_test nptl ; ((ret+=$?)) return ${ret} }