Teuchos 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
comm
test
UnitTesting
Teuchos_StandardParallelUnitTestMain.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
27
28
int
main
(
int
argc,
char
* argv[] )
29
{
30
Teuchos::GlobalMPISession
mpiSession(&argc, &argv);
31
Teuchos::UnitTestRepository::setGloballyReduceTestResult
(
true
);
32
return
Teuchos::UnitTestRepository::runUnitTestsFromMain
(argc, argv);
33
}
Teuchos::GlobalMPISession
Initialize, finalize, and query the global MPI session.
Definition:
Teuchos_GlobalMPISession.hpp:81
Teuchos_UnitTestRepository.hpp
Unit testing support.
Teuchos::UnitTestRepository::runUnitTestsFromMain
static int runUnitTestsFromMain(int argc, char *argv[])
Run the unit tests from main() passing in (argc, argv).
Definition:
Teuchos_UnitTestRepository.cpp:376
Teuchos::UnitTestRepository::setGloballyReduceTestResult
static void setGloballyReduceTestResult(const bool globallyReduceUnitTestResult)
Set if the unit tests should reduce pass/fail across processes.
Definition:
Teuchos_UnitTestRepository.cpp:182
main
int main(int argc, char *argv[])
Definition:
core/example/CommandLineProcessor/cxx_main.cpp:21
Teuchos_GlobalMPISession.hpp
A MPI utilities class, providing methods for initializing, finalizing, and querying the global MPI se...
Generated on Fri Jul 4 2025 09:20:22 for Teuchos Package Browser (Single Doxygen Collection) by
1.8.5