00001 /* * 00002 * This file is part of the ESO IRPLIB package * 00003 * Copyright (C) 2004,2005 European Southern Observatory * 00004 * * 00005 * This library is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 * * 00010 * This program is distributed in the hope that it will be useful, * 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00013 * GNU General Public License for more details. * 00014 * * 00015 * You should have received a copy of the GNU General Public License * 00016 * along with this program; if not, write to the Free Software * 00017 * Foundation, 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA * 00018 * */ 00019 00020 #ifndef IRPLIB_TEST_H 00021 #define IRPLIB_TEST_H 00022 00023 #ifdef HAVE_CONFIG_H 00024 # include <config.h> 00025 #endif 00026 00027 00028 /*----------------------------------------------------------------------------- 00029 Includes 00030 -----------------------------------------------------------------------------*/ 00031 00032 #include <cpl.h> 00033 00034 /*----------------------------------------------------------------------------- 00035 Defines 00036 -----------------------------------------------------------------------------*/ 00037 00038 #ifdef __GNUC__ 00039 #warning "irplib_test.h is deprecated, use cpl_test.h instead" 00040 #endif 00041 00042 #define IRPLIB_TEST_INIT \ 00043 cpl_test_init_macro(__FILE__, PACKAGE_BUGREPORT, CPL_MSG_WARNING) 00044 00045 #define IRPLIB_TEST_END return cpl_test_end(0) 00046 00047 #define irplib_test_error cpl_test_error 00048 #define irplib_test cpl_test 00049 #define irplib_test_eq cpl_test_eq 00050 #define irplib_test_eq_string cpl_test_eq_string 00051 #define irplib_test_abs cpl_test_abs 00052 #define irplib_test_rel cpl_test_rel 00053 00054 #endif
1.5.1