[cmake-developers] [CMake 0015983]: Qt4Targets test fails to run twice in a row
Mantis Bug Tracker
mantis at public.kitware.com
Sun Feb 21 12:40:06 EST 2016
The following issue has been SUBMITTED.
======================================================================
https://cmake.org/Bug/view.php?id=15983
======================================================================
Reported By: Gregor Jasny
Assigned To:
======================================================================
Project: CMake
Issue ID: 15983
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2016-02-21 12:40 EST
Last Modified: 2016-02-21 12:40 EST
======================================================================
Summary: Qt4Targets test fails to run twice in a row
Description:
When building CMake with the Xcode generator the Qt4Targets target test fails to
run twice in a row. Once I purge the build directory and re-create it the first
run succeeds again.
Steps to Reproduce:
1. create separate cmake build directory and select the Xcode generator.
2. run "ctest -C Debug -R Qt4Targets --verbose" twice.
Additional Information:
<pre>
ctest -C Debug -R Qt4Targets --verbose
UpdateCTestConfiguration from
:/Users/jasny/src/cmake/_build_xcode/DartConfiguration.tcl
Parse Config file:/Users/jasny/src/cmake/_build_xcode/DartConfiguration.tcl
Add coverage exclude regular expressions.
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
SetCTestConfiguration:CMakeCommand:/usr/local/Cellar/cmake/3.4.1/bin/cmake
UpdateCTestConfiguration from
:/Users/jasny/src/cmake/_build_xcode/DartConfiguration.tcl
Parse Config file:/Users/jasny/src/cmake/_build_xcode/DartConfiguration.tcl
Test project /Users/jasny/src/cmake/_build_xcode
Constructing a list of tests
Done constructing a list of tests
Checking test dependency graph...
Checking test dependency graph end
test 140
Start 140: Qt4Targets
140: Test command: /Users/jasny/src/cmake/_build_xcode/bin/Debug/ctest
"--build-and-test" "/Users/jasny/src/cmake/Tests/Qt4Targets"
"/Users/jasny/src/cmake/_build_xcode/Tests/Qt4Targets" "--build-generator"
"Xcode" "--build-project" "Qt4Targets" "--build-exe-dir"
"/Users/jasny/src/cmake/_build_xcode/Tests/Qt4Targets"
"--force-new-ctest-process" "--build-options"
"-DQT_QMAKE_EXECUTABLE:FILEPATH=/usr/local/bin/qmake" "--test-command"
"/Users/jasny/src/cmake/_build_xcode/bin/ctest" "-V"
140: Test timeout computed to be: 1500
140: Internal cmake changing into directory:
/Users/jasny/src/cmake/_build_xcode/Tests/Qt4Targets
140: Error: cmake execution failed
140: CMake Error at CMakeLists.txt:75 (message):
140: Rebuild did not re-create moc file with -DADD_TARGET_DEF. Before:
140: 2016038200331. After: 2016038200331
140: Call Stack (most recent call first):
140: CMakeLists.txt:79 (test_incremental)
140:
140:
140: Configuring
140: Configuring incomplete, errors occurred!
140: See also
"/Users/jasny/src/cmake/_build_xcode/Tests/Qt4Targets/CMakeFiles/CMakeOutput.log".
140: See also
"/Users/jasny/src/cmake/_build_xcode/Tests/Qt4Targets/CMakeFiles/CMakeError.log".
140:
1/1 Test https://cmake.org/Bug/view.php?id=140: Qt4Targets
.......................***Failed 9.91 sec
0% tests passed, 1 tests failed out of 1
Total Test time (real) = 9.97 sec
The following tests FAILED:
140 - Qt4Targets (Failed)
Errors while running CTest
</pre>
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2016-02-21 12:40 Gregor Jasny New Issue
======================================================================
More information about the cmake-developers
mailing list