mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 22:59:56 -05:00
874fdd914a
Any environment vars that were configured for a test via the ENVIRONMENT property will now be output when the test is run with verbose logging enabled.
12 lines
244 B
CMake
12 lines
244 B
CMake
cmake_minimum_required (VERSION 2.6)
|
|
project(CTestTestVerboseOutput)
|
|
include(CTest)
|
|
|
|
add_executable(nop nop.c)
|
|
|
|
add_test(NAME TestWithProperties COMMAND nop)
|
|
set_property(TEST TestWithProperties PROPERTY ENVIRONMENT
|
|
"foo=bar"
|
|
"this=that"
|
|
)
|