summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Help/release/dev/create_test_sourcelist-full-filepath.rst5
-rw-r--r--Source/cmCreateTestSourceList.cxx2
2 files changed, 6 insertions, 1 deletions
diff --git a/Help/release/dev/create_test_sourcelist-full-filepath.rst b/Help/release/dev/create_test_sourcelist-full-filepath.rst
new file mode 100644
index 0000000..1afa82c
--- /dev/null
+++ b/Help/release/dev/create_test_sourcelist-full-filepath.rst
@@ -0,0 +1,5 @@
+create_test_sourcelist-full-filepath
+------------------------------------
+
+* The :command:`create_test_sourcelist` command now provides a full path to
+ the generated driver source file.
diff --git a/Source/cmCreateTestSourceList.cxx b/Source/cmCreateTestSourceList.cxx
index af3c768..9edbafe 100644
--- a/Source/cmCreateTestSourceList.cxx
+++ b/Source/cmCreateTestSourceList.cxx
@@ -135,7 +135,7 @@ bool cmCreateTestSourceList(std::vector<std::string> const& args,
{
cmSourceFile* sf = mf.GetOrCreateSource(driver);
sf->SetProperty("ABSTRACT", "0");
- sourceListValue = args[1];
+ sourceListValue = driver;
}
for (i = testsBegin; i != tests.end(); ++i) {
cmSourceFile* sf = mf.GetOrCreateSource(*i);