Thyra Package Browser (Single Doxygen Collection)
Version of the Day
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
adapters
epetraext
test
LinearOpTransformer
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
24
#include "
Teuchos_UnitTestRepository.hpp
"
25
#include "
Teuchos_GlobalMPISession.hpp
"
26
#include "
Teuchos_StandardCatchMacros.hpp
"
27
28
29
int
main
(
int
argc,
char
* argv[] )
30
{
31
Teuchos::GlobalMPISession
mpiSession(&argc, &argv);
32
bool
success =
false
;
33
try
{
34
int
ierr =
Teuchos::UnitTestRepository::runUnitTestsFromMain
(argc, argv);
35
success = (ierr == 0);
36
}
37
TEUCHOS_STANDARD_CATCH_STATEMENTS
(
true
,std::cerr,success);
38
39
return
success ? EXIT_SUCCESS : EXIT_FAILURE;
40
}
Teuchos::GlobalMPISession
Teuchos_UnitTestRepository.hpp
Teuchos::UnitTestRepository::runUnitTestsFromMain
static int runUnitTestsFromMain(int argc, char *argv[])
TEUCHOS_STANDARD_CATCH_STATEMENTS
#define TEUCHOS_STANDARD_CATCH_STATEMENTS(VERBOSE, ERR_STREAM, SUCCESS_FLAG)
main
int main(int argc, char *argv[])
Definition:
sillyCgSolve_epetra.cpp:23
Teuchos_StandardCatchMacros.hpp
Teuchos_GlobalMPISession.hpp
Generated on Wed Dec 25 2024 09:21:43 for Thyra Package Browser (Single Doxygen Collection) by
1.8.5