/[gentoo-x86]/eclass/autotools-utils.eclass
Gentoo

Diff of /eclass/autotools-utils.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.73 Revision 1.74
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2014 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.73 2014/03/11 23:55:44 floppym Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.74 2014/07/31 23:24:56 reavertm Exp $
4 4
5# @ECLASS: autotools-utils.eclass 5# @ECLASS: autotools-utils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Maciej Mrozowski <reavertm@gentoo.org> 7# Maciej Mrozowski <reavertm@gentoo.org>
8# Michał Górny <mgorny@gentoo.org> 8# Michał Górny <mgorny@gentoo.org>
466 debug-print-function ${FUNCNAME} "$@" 466 debug-print-function ${FUNCNAME} "$@"
467 467
468 _check_build_dir 468 _check_build_dir
469 pushd "${BUILD_DIR}" > /dev/null || die 469 pushd "${BUILD_DIR}" > /dev/null || die
470 470
471 if make -n check "${@}" &>/dev/null; then 471 if make -ni check "${@}" &>/dev/null; then
472 emake check "${@}" || die 'emake check failed.' 472 emake check "${@}" || die 'emake check failed.'
473 elif make -n test "${@}" &>/dev/null; then 473 elif make -ni test "${@}" &>/dev/null; then
474 emake test "${@}" || die 'emake test failed.' 474 emake test "${@}" || die 'emake test failed.'
475 fi 475 fi
476 476
477 popd > /dev/null || die 477 popd > /dev/null || die
478} 478}

Legend:
Removed from v.1.73  
changed lines
  Added in v.1.74

  ViewVC Help
Powered by ViewVC 1.1.20