MantisBT - CMake |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0006391 | CMake | CTest | public | 2008-02-20 09:53 | 2010-12-14 18:45 |
|
| Reporter | Jörg Becker | |
| Assigned To | David Cole | |
| Priority | normal | Severity | feature | Reproducibility | N/A |
| Status | closed | Resolution | duplicate | |
| Platform | | OS | | OS Version | |
| Product Version | | |
| Target Version | | Fixed in Version | | |
|
| Summary | 0006391: CTest: set environment variables for test session |
| Description | It would be great, if there would be a possibility to set environment variables (via CMakeLists.txt) for a test session. ICU_DATA, LD_LIBRARY_PATH, PATH are such variables I have in mind. |
| Steps To Reproduce | |
| Additional Information | Having this feature, I could run my tests simply by 'make test'. Currently I have to call 'make depend;export a=foo;export b=bar;ctest'.
I tried both 'set(ENV{ICU_DATA} "foo")' and 'set(CTEST_ENVIRONMENT "ICU_DATA=bar")', but without any success.
|
| Tags | No tags attached. |
| Relationships | | duplicate of | 0007885 | closed | David Cole | Set environment before running a test |
|
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2008-02-20 09:53 | Jörg Becker | New Issue | |
| 2008-02-21 12:07 | Alex Neundorf | Category | CCMake => CTest |
| 2008-03-27 22:07 | Bill Hoffman | Status | new => assigned |
| 2008-03-27 22:07 | Bill Hoffman | Assigned To | => Ken Martin |
| 2009-04-03 11:40 | David Cole | Assigned To | Ken Martin => David Cole |
| 2009-04-03 11:42 | David Cole | Relationship added | duplicate of 0007885 |
| 2009-04-03 11:42 | David Cole | Duplicate ID | 0 => 7885 |
| 2009-04-03 11:42 | David Cole | Status | assigned => resolved |
| 2009-04-03 11:42 | David Cole | Resolution | open => duplicate |
| 2010-12-14 18:45 | David Cole | Note Added: 0024003 | |
| 2010-12-14 18:45 | David Cole | Status | resolved => closed |