summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/ctest.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx
index 3af2ba7..3be9293 100644
--- a/Source/ctest.cxx
+++ b/Source/ctest.cxx
@@ -178,6 +178,9 @@ int main (int argc, char *argv[])
args.push_back(argv[i]);
}
// run ctest
- return inst.Run(args);
+ int res = inst.Run(args);
+ cmListFileCache::ClearCache();
+
+ return res;
}