[cmake-developers] [CMake 0014592]: RunCMake.include_directories (SourceDirectoryInInterface & BinaryDirectoryInInterface) tests fail.

Mantis Bug Tracker mantis at public.kitware.com
Fri Nov 22 09:06:12 EST 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14592 
====================================================================== 
Reported By:                George Sakhnovsky
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14592
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-11-22 09:06 EST
Last Modified:              2013-11-22 09:06 EST
====================================================================== 
Summary:                    RunCMake.include_directories
(SourceDirectoryInInterface & BinaryDirectoryInInterface) tests fail.
Description: 
after building cmake 2.8.12.1 on CentOS 6.4, make test fails:

The following tests FAILED:
        256 - RunCMake.include_directories (Failed)

possibly related to the recent addition of target_include_directories()

###

[sakhngeo at repoman cmake-2.8.12.1]$  bin/ctest -VV -R
RunCMake.include_directories
UpdateCTestConfiguration  from
:/usr/local/src/cmake-2.8.12.1/DartConfiguration.tcl
Parse Config file:/usr/local/src/cmake-2.8.12.1/DartConfiguration.tcl
 Add coverage exclude regular expressions.
 Add coverage exclude: XCode
 Add coverage exclude: Kdevelop
 Add coverage exclude: /Source/(cm|kw)sys/
 Add coverage exclude: /CMakeFiles/CMakeTmp/
 Add coverage exclude: [A-Za-z]./[Qq]t/qt-.+-opensource-src
UpdateCTestConfiguration  from
:/usr/local/src/cmake-2.8.12.1/DartConfiguration.tcl
Parse Config file:/usr/local/src/cmake-2.8.12.1/DartConfiguration.tcl
Test project /usr/local/src/cmake-2.8.12.1
Constructing a list of tests
Guessing configuration NoConfig
Done constructing a list of tests
Checking test dependency graph...
Checking test dependency graph end
test 256
    Start 256: RunCMake.include_directories

256: Test command: /usr/local/src/cmake-2.8.12.1/bin/cmake
"-DCMAKE_MODULE_PATH=/usr/local/src/cmake-2.8.12.1/Tests/RunCMake"
"-DRunCMake_GENERATOR=Unix Makefiles" "-DRunCMake_GENERATOR_TOOLSET="
"-DRunCMake_SOURCE_DIR=/usr/local/src/cmake-2.8.12.1/Tests/RunCMake/include_directories"
"-DRunCMake_BINARY_DIR=/usr/local/src/cmake-2.8.12.1/Tests/RunCMake/include_directories"
"-P"
"/usr/local/src/cmake-2.8.12.1/Tests/RunCMake/include_directories/RunCMakeTest.cmake"
256: Test timeout computed to be: 1500
256: -- NotFoundContent - PASSED
256: -- DebugIncludes - PASSED
256: -- TID-bad-target - PASSED
256: CMake Error at RunCMake.cmake:74 (message):
256:   SourceDirectoryInInterface - FAILED:
256:
256:   Result is [0], not [1].
256:
256:   stderr does not match that expected.
256:
256:   Actual stdout:
256:
256:    actual-out> -- The C compiler identification is GNU 4.4.7
256:    actual-out> -- The CXX compiler identification is GNU 4.4.7
256:    actual-out> -- Check for working C compiler: /usr/bin/cc
256:    actual-out> -- Check for working C compiler: /usr/bin/cc -- works
256:    actual-out> -- Detecting C compiler ABI info
256:    actual-out> -- Detecting C compiler ABI info - done
256:    actual-out> -- Check for working CXX compiler: /usr/bin/c++
256:    actual-out> -- Check for working CXX compiler: /usr/bin/c++ -- works
256:    actual-out> -- Detecting CXX compiler ABI info
256:    actual-out> -- Detecting CXX compiler ABI info - done
256:    actual-out> -- Configuring done
256:    actual-out> -- Generating done
256:    actual-out> -- Build files have been written to:
/usr/local/src/cmake-2.8.12.1/Tests/RunCMake/include_directories/SourceDirectoryInInterface-build
256:
256:   Expected stderr to match:
256:
256:    expect-err> CMake Error in CMakeLists.txt:
256:    expect-err>   Target "testTarget" INTERFACE_INCLUDE_DIRECTORIES property
contains path:
256:    expect-err>
256:    expect-err>     ".*RunCMake/include_directories/foo"
256:    expect-err>
256:    expect-err>   which is prefixed in the source directory.
256:
256:   Actual stderr:
256:
256:    actual-err>
256:
256: Call Stack (most recent call first):
256:   include_directories/RunCMakeTest.cmake:6 (run_cmake)
256:
256:
1/1 Test http://public.kitware.com/Bug/view.php?id=256:
RunCMake.include_directories .....***Failed    1.86 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) =   2.54 sec

The following tests FAILED:
        256 - RunCMake.include_directories (Failed)
Errors while running CTest

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-11-22 09:06 George SakhnovskyNew Issue                                    
======================================================================




More information about the cmake-developers mailing list