ctest.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /*=========================================================================
  2. Program: Insight Segmentation & Registration Toolkit
  3. Module: $RCSfile$
  4. Language: C++
  5. Date: $Date$
  6. Version: $Revision$
  7. Copyright (c) 2002 Insight Consortium. All rights reserved.
  8. See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
  9. This software is distributed WITHOUT ANY WARRANTY; without even
  10. the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  11. PURPOSE. See the above copyright notices for more information.
  12. =========================================================================*/
  13. #include "cmStandardIncludes.h"
  14. class ctest
  15. {
  16. public:
  17. /**
  18. * Run the test for a directory and any subdirectories
  19. */
  20. void ProcessDirectory(std::vector<std::string> &passed,
  21. std::vector<std::string> &failed);
  22. /**
  23. * Find the executable for a test
  24. */
  25. std::string FindExecutable(const char *exe);
  26. /**
  27. * constructor
  28. */
  29. ctest() {
  30. m_UseIncludeRegExp = false;
  31. m_UseExcludeRegExp = false;
  32. m_UseExcludeRegExpFirst = false;
  33. }
  34. bool m_UseIncludeRegExp;
  35. std::string m_IncludeRegExp;
  36. bool m_UseExcludeRegExp;
  37. bool m_UseExcludeRegExpFirst;
  38. std::string m_ExcludeRegExp;
  39. std::string m_ConfigType;
  40. private:
  41. };