| 1 |
// Copyright(C) 1999-2020, 2023 National Technology & Engineering Solutions |
| 2 |
// of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with |
| 3 |
// NTESS, the U.S. Government retains certain rights in this software. |
| 4 |
// |
| 5 |
// See packages/seacas/LICENSE for details |
| 6 |
|
| 7 |
#include "Ioss_CodeTypes.h" |
| 8 |
#include <gtest/gtest.h> |
| 9 |
|
| 10 |
#ifdef SEACAS_HAVE_MPI |
| 11 |
#include <mpi.h> |
| 12 |
#endif |
| 13 |
|
| 14 |
int main(int argc, char **argv) |
| 15 |
{ |
| 16 |
#ifdef SEACAS_HAVE_MPI |
| 17 |
MPI_Init(&argc, &argv); |
| 18 |
#endif |
| 19 |
|
| 20 |
testing::InitGoogleTest(&argc, argv); |
| 21 |
int errorCode = RUN_ALL_TESTS(); |
| 22 |
|
| 23 |
#ifdef SEACAS_HAVE_MPI |
| 24 |
MPI_Finalize(); |
| 25 |
#endif |
| 26 |
|
| 27 |
return errorCode; |
| 28 |
} |