45informative error reporting that will not abort a test program after a single
46error the way that an assert command does. */
47
48/* The macro takes two arguments. The first is the error code to be examined. The second is an int that can be viewed either as an error count, or as a bool that simply indicates if any errors have occurred as of the time that the macro was run (zero -> no prior errors, non-zero -> prior errors). */
49
50#ifndef _EPETRA_TEST_ERR_H_
51#define _EPETRA_TEST_ERR_H_
52
53#if defined(EpetraExt_SHOW_DEPRECATED_WARNINGS)
54#ifdef __GNUC__
55#warning "The EpetraExt package is deprecated"
56#endif
57#endif
58#include <iostream>
59using namespace std;
60// This function is to be used when first identifying an error.
61#define EPETRA_TEST_ERR(a,b) { { int epetra_testing_err = a; \