summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 5057ef4..ef9a726 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -3314,9 +3314,8 @@ cmTest* cmMakefile::CreateTest(const char* testName)
{
return test;
}
- test = new cmTest;
+ test = new cmTest(this);
test->SetName(testName);
- test->SetMakefile(this);
this->Tests[testName] = test;
return test;
}