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

Diff of /eclass/cmake-utils.eclass

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

Revision 1.70 Revision 1.71
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 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/cmake-utils.eclass,v 1.70 2011/07/18 09:08:21 dilfridge Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.71 2011/08/20 21:43:25 dilfridge Exp $
4 4
5# @ECLASS: cmake-utils.eclass 5# @ECLASS: cmake-utils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# kde@gentoo.org 7# kde@gentoo.org
8# 8#
437 _check_build_dir 437 _check_build_dir
438 pushd "${CMAKE_BUILD_DIR}" > /dev/null 438 pushd "${CMAKE_BUILD_DIR}" > /dev/null
439 [[ -e CTestTestfile.cmake ]] || { echo "No tests found. Skipping."; return 0 ; } 439 [[ -e CTestTestfile.cmake ]] || { echo "No tests found. Skipping."; return 0 ; }
440 440
441 [[ -n ${TEST_VERBOSE} ]] && ctestargs="--extra-verbose --output-on-failure" 441 [[ -n ${TEST_VERBOSE} ]] && ctestargs="--extra-verbose --output-on-failure"
442 ctest ${ctestargs} "$@" || die "Tests failed." 442 ctest ${ctestargs} "$@" || die "Tests failed. When you file a bug, please attach the following file: \n\t${CMAKE_BUILD_DIR}/Testing/Temporary/LastTest.log"
443 popd > /dev/null 443 popd > /dev/null
444} 444}
445 445
446# @FUNCTION: cmake-utils_src_configure 446# @FUNCTION: cmake-utils_src_configure
447# @DESCRIPTION: 447# @DESCRIPTION:

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

  ViewVC Help
Powered by ViewVC 1.1.20