if (H5Epush(H5E_DEFAULT, __FILE__, test_FUNC, __LINE__, ERR_CLS, ERR_MAJ_TEST, ERR_MIN_SUBROUTINE, format, long_desc) < 0)
 
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Copyright by The HDF Group.                                               *
 * Copyright by the Board of Trustees of the University of Illinois.         *
 * All rights reserved.                                                      *
 *                                                                           *
 * This file is part of HDF5.  The full HDF5 copyright notice, including     *
 * terms governing use, modification, and redistribution, is contained in    *
 * the COPYING file, which can be found at the root of the source code       *
 * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.  *
 * If you do not have access to either file, you may request a copy from     *
 * help@hdfgroup.org.                                                        *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
 * Programmer:  Raymond Lu
 *              October 14, 2001
 *
 * Purpose: Tests the error API routines.
 */
#include "h5test.h"
#include "H5srcdir.h"
#ifdef H5_USE_16_API
int main(void)
{
    HDfprintf(stderr, "Test skipped because backward compatbility with v1.6 is configured in\n");
    return 0;
}
#else /* H5_USE_16_API */
const char *FILENAME[] = {
    "errors",
    NULL
};
#define DATAFILE "filter_error"
#define DIM0    100
#define DIM1    200
int ipoints2[DIM0][DIM1], icheck2[DIM0][DIM1];
hid_t   ERR_CLS;
hid_t   ERR_CLS2;
hid_t   ERR_STACK;
hid_t   ERR_MAJ_TEST;
hid_t   ERR_MAJ_IO;
hid_t   ERR_MAJ_API;
hid_t   ERR_MIN_SUBROUTINE;