Thyra Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LocalUnitTestMain.cpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // Teuchos: Common Tools Package
4 //
5 // Copyright 2004 NTESS and the Teuchos contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
27 
28 
29 int main( int argc, char* argv[] )
30 {
31  Teuchos::GlobalMPISession mpiSession(&argc, &argv);
32  bool success = false;
33  try {
35  success = (ierr == 0);
36  }
37  TEUCHOS_STANDARD_CATCH_STATEMENTS(true,std::cerr,success);
38 
39  return success ? EXIT_SUCCESS : EXIT_FAILURE;
40 }
static int runUnitTestsFromMain(int argc, char *argv[])
#define TEUCHOS_STANDARD_CATCH_STATEMENTS(VERBOSE, ERR_STREAM, SUCCESS_FLAG)
int main(int argc, char *argv[])