diff options
author | Brad King <brad.king@kitware.com> | 2015-07-27 15:15:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-07-27 15:15:50 (GMT) |
commit | 59f4d9e85cfae752ccf99a8e9600aca301529f3c (patch) | |
tree | d4a7f00e85dd67c69a845b5370b240b9cd0304bb | |
parent | 3a0db0223b8c10cfaa6984253d794ab97425adf9 (diff) | |
parent | 64821e8a40cf1add0cf3fd99b0860378754c64cf (diff) | |
download | CMake-59f4d9e85cfae752ccf99a8e9600aca301529f3c.zip CMake-59f4d9e85cfae752ccf99a8e9600aca301529f3c.tar.gz CMake-59f4d9e85cfae752ccf99a8e9600aca301529f3c.tar.bz2 |
Merge branch 'ctest-add_subdirectory-crash' into release
-rw-r--r-- | Source/CTest/cmCTestTestHandler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx index 70b7f5c..2af09cb 100644 --- a/Source/CTest/cmCTestTestHandler.cxx +++ b/Source/CTest/cmCTestTestHandler.cxx @@ -176,7 +176,7 @@ bool cmCTestAddSubdirectoryCommand cmSystemTools::ChangeDirectory(cwd); std::string fname = cwd; fname += "/"; - fname += args[1]; + fname += args[0]; if ( !cmSystemTools::FileExists(fname.c_str()) ) { |