View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015446CMakeCTestpublic2015-03-13 17:292015-11-02 09:13
ReporterZach Mullen 
Assigned ToZach Mullen 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionCMake 3.3Fixed in VersionCMake 3.3 
Summary0015446: In verbose mode, display env vars that were explicitly set for each test
DescriptionWe use set_property with the ENVIRONMENT property for many of our tests to control their runtime behavior. When running in verbose mode we see the full command line that is executed, but not the environment variables that were explicitly set for the test invocation. It would be nice to include those.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0038209)
Zach Mullen (developer)
2015-03-13 17:54

Any thoughts on this? I was considering taking a crack at submitting a patch for it, are others OK with simply outputting these when in verbose mode?
(0038215)
Brad King (manager)
2015-03-15 10:31

Yes, this makes sense to me. Please proceed.
(0038217)
Zach Mullen (developer)
2015-03-15 13:15

http://www.cmake.org/gitweb?p=cmake.git;a=commitdiff;h=64e22138a7dfb5d23940ffb52b8b83f4b10e2b67 [^]
(0038224)
Brad King (manager)
2015-03-16 09:09

Re 0015446:0038217: Thanks for working on it. The test currently fails on all multi-config generators. The add_test call needs to pass '-C $<CONFIGURATION>' to ctest, at least. Some of the other tests do this and can be used as examples.
(0038225)
Zach Mullen (developer)
2015-03-16 09:45

Just pushed an update to the topic: http://www.cmake.org/gitweb?p=cmake.git;a=commitdiff;h=373eb5496726103d42f447c5a6cd47b8ac5ac138 [^]
(0038229)
Brad King (manager)
2015-03-17 10:12

Thanks. I fixed one more typo and squashed the changes into one commit:

 CTest: Output test-specific env vars in verbose mode
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=874fdd91 [^]
(0039733)
Robert Maynard (manager)
2015-11-02 09:13

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2015-03-13 17:29 Zach Mullen New Issue
2015-03-13 17:54 Zach Mullen Note Added: 0038209
2015-03-15 10:31 Brad King Note Added: 0038215
2015-03-15 13:15 Zach Mullen Note Added: 0038217
2015-03-16 09:09 Brad King Note Added: 0038224
2015-03-16 09:45 Zach Mullen Note Added: 0038225
2015-03-17 10:12 Brad King Note Added: 0038229
2015-03-17 10:13 Brad King Assigned To => Zach Mullen
2015-03-17 10:13 Brad King Status new => resolved
2015-03-17 10:13 Brad King Resolution open => fixed
2015-03-17 10:13 Brad King Fixed in Version => CMake 3.3
2015-03-17 10:13 Brad King Target Version => CMake 3.3
2015-11-02 09:13 Robert Maynard Note Added: 0039733
2015-11-02 09:13 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team