diff options
author | Brad King <brad.king@kitware.com> | 2017-02-15 18:58:40 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-02-16 18:19:26 (GMT) |
commit | ef399f9bc6b8e2ff917a5f2809346fb81fd954ae (patch) | |
tree | 329a270ad32f04ebba493ea9abe5486fd74898a1 /Source/CTest/cmCTestVC.h | |
parent | bb4730dc5add8c5ac54b41efa5375189636429f3 (diff) | |
download | CMake-ef399f9bc6b8e2ff917a5f2809346fb81fd954ae.zip CMake-ef399f9bc6b8e2ff917a5f2809346fb81fd954ae.tar.gz CMake-ef399f9bc6b8e2ff917a5f2809346fb81fd954ae.tar.bz2 |
ctest_update: Refactor internal APIs to support more failure cases
Thread failure of VC tool commands through more APIs so that we can
detect when they fail. Defer updating of the individual VC tool usage
the future and just return true from them for now.
Diffstat (limited to 'Source/CTest/cmCTestVC.h')
-rw-r--r-- | Source/CTest/cmCTestVC.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestVC.h b/Source/CTest/cmCTestVC.h index 2681ba0..a1c1673 100644 --- a/Source/CTest/cmCTestVC.h +++ b/Source/CTest/cmCTestVC.h @@ -67,9 +67,9 @@ public: protected: // Internal API to be implemented by subclasses. virtual void CleanupImpl(); - virtual void NoteOldRevision(); + virtual bool NoteOldRevision(); virtual bool UpdateImpl(); - virtual void NoteNewRevision(); + virtual bool NoteNewRevision(); virtual bool WriteXMLUpdates(cmXMLWriter& xml); #if defined(__SUNPRO_CC) && __SUNPRO_CC <= 0x510 |