/[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.69 Revision 1.70
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 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.69 2013/06/07 20:59:13 floppym Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.70 2013/06/29 08:17:06 mgorny 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>
544 debug-print-function ${FUNCNAME} "$@" 544 debug-print-function ${FUNCNAME} "$@"
545 545
546 _check_build_dir 546 _check_build_dir
547 pushd "${BUILD_DIR}" > /dev/null || die 547 pushd "${BUILD_DIR}" > /dev/null || die
548 548
549 if make -n check &>/dev/null; then 549 if make -n check "${@}" &>/dev/null; then
550 emake check "${@}" || die 'emake check failed.' 550 emake check "${@}" || die 'emake check failed.'
551 elif make -n test &>/dev/null; then 551 elif make -n test "${@}" &>/dev/null; then
552 emake test "${@}" || die 'emake test failed.' 552 emake test "${@}" || die 'emake test failed.'
553 fi 553 fi
554 554
555 popd > /dev/null || die 555 popd > /dev/null || die
556} 556}

Legend:
Removed from v.1.69  
changed lines
  Added in v.1.70

  ViewVC Help
Powered by ViewVC 1.1.20