diff options
-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()) ) { |