MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015288 | CMake | CMake | public | 2014-12-08 07:45 | 2016-02-01 09:10 |
Reporter | Gregor Jasny | ||||
Assigned To | Gregor Jasny | ||||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | CMake 3.3 | Fixed in Version | CMake 3.3 | ||
Summary | 0015288: Add XCTest support to Xcode generator | ||||
Description | Hello, this prove of concept patch adds support to generate xctest bundles for Xcode. Missing: * Proper error handling * automatic declaration of dependency from xctest -> app * TEST_HOST variable review Thanks, Gregor | ||||
Steps To Reproduce | {{{ cd Tests/CocoaExample ../../../bin/cmake -G Xcode .. open Project.xcodeproj # to generate Schema Files xcodebuild -project Project.xcodeproj -scheme CocoaExample -destination 'platform=OS X,arch=x86_64' build xcodebuild -project Project.xcodeproj -scheme CocoaExample -destination 'platform=OS X,arch=x86_64' test }}} {{{ Test Suite 'All tests' started at 2014-12-08 12:43:00 +0000 Test Suite 'CocoaExampleTest.xctest' started at 2014-12-08 12:43:00 +0000 Test Suite 'CocoaExampleTests' started at 2014-12-08 12:43:00 +0000 Test Case '-[CocoaExampleTests testExample]' started. Test Case '-[CocoaExampleTests testExample]' passed (0.000 seconds). Test Case '-[CocoaExampleTests testPerformanceExample]' started. /Users/jasny/src/cmake/Tests/CocoaExample/CocoaExampleTests/CocoaExampleTests.m:35: Test Case '-[CocoaExampleTests testPerformanceExample]' measured [Time, seconds] average: 0.000, relative standard deviation: 90.500%, values: [0.000003, 0.000001, 0.000001, 0.000001, 0.000001, 0.000001, 0.000001, 0.000001, 0.000001, 0.000001], performanceMetricID:com.apple.XCTPerformanceMetric_WallClockTime, baselineName: "", baselineAverage: , maxPercentRegression: 10.000%, maxPercentRelativeStandardDeviation: 10.000%, maxRegression: 0.100, maxStandardDeviation: 0.100 Test Case '-[CocoaExampleTests testPerformanceExample]' passed (0.293 seconds). Test Suite 'CocoaExampleTests' passed at 2014-12-08 12:43:00 +0000. Executed 2 tests, with 0 failures (0 unexpected) in 0.293 (0.293) seconds Test Suite 'CocoaExampleTest.xctest' passed at 2014-12-08 12:43:00 +0000. Executed 2 tests, with 0 failures (0 unexpected) in 0.293 (0.294) seconds Test Suite 'All tests' passed at 2014-12-08 12:43:00 +0000. Executed 2 tests, with 0 failures (0 unexpected) in 0.293 (0.295) seconds ** TEST SUCCEEDED ** }}} | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | 0002-POC-for-adding-XCTest-targets.patch (4,261) 2014-12-08 07:45 https://public.kitware.com/Bug/file/5317/0002-POC-for-adding-XCTest-targets.patch 0001-Add-Cocoa-App.patch (57,174) 2014-12-08 07:45 https://public.kitware.com/Bug/file/5318/0001-Add-Cocoa-App.patch 0003-Add-XCTest-Example.patch (2,631) 2014-12-08 07:45 https://public.kitware.com/Bug/file/5319/0003-Add-XCTest-Example.patch | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-12-08 07:45 | Gregor Jasny | New Issue | |||
2014-12-08 07:45 | Gregor Jasny | File Added: 0002-POC-for-adding-XCTest-targets.patch | |||
2014-12-08 07:45 | Gregor Jasny | File Added: 0001-Add-Cocoa-App.patch | |||
2014-12-08 07:45 | Gregor Jasny | File Added: 0003-Add-XCTest-Example.patch | |||
2015-03-24 13:35 | Brad King | Note Added: 0038287 | |||
2015-03-24 13:35 | Brad King | Status | new => resolved | ||
2015-03-24 13:35 | Brad King | Resolution | open => fixed | ||
2015-03-24 13:35 | Brad King | Fixed in Version | => CMake 3.3 | ||
2015-03-24 13:35 | Brad King | Target Version | => CMake 3.3 | ||
2015-03-24 13:36 | Brad King | Assigned To | => Gregor Jasny | ||
2016-02-01 09:10 | Robert Maynard | Note Added: 0040415 | |||
2016-02-01 09:10 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|