diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-04-29 06:20:50 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-04-29 06:20:50 (GMT) |
commit | cc5b2ff93bc5b81993c104e64f3669a4d8f0c0a5 (patch) | |
tree | 67198d5997628d5a6640a7862ec5c96794e97244 /hl/test/h5hltest.h | |
parent | 27496ae0c7b8b1be7165d3720711b15c3a2d1288 (diff) | |
download | hdf5-cc5b2ff93bc5b81993c104e64f3669a4d8f0c0a5.zip hdf5-cc5b2ff93bc5b81993c104e64f3669a4d8f0c0a5.tar.gz hdf5-cc5b2ff93bc5b81993c104e64f3669a4d8f0c0a5.tar.bz2 |
[svn-r12314] Purpose:
Code cleanup
Description:
Big clean up on high-level library code, including:
- Removing include of HDF5 private header file(!)
- Reduce number of compiler warnings
- Untangle header files, etc.
Platforms tested:
FreeBSD 4.11 (sleipnir) w/C++
Linux 2.4/64 (mir) w/C++ & FORTRAN
Diffstat (limited to 'hl/test/h5hltest.h')
-rw-r--r-- | hl/test/h5hltest.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/hl/test/h5hltest.h b/hl/test/h5hltest.h new file mode 100644 index 0000000..2776204 --- /dev/null +++ b/hl/test/h5hltest.h @@ -0,0 +1,41 @@ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * 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 files COPYING and Copyright.html. COPYING can be found at the root * + * of the source code distribution tree; Copyright.html can be found at the * + * root level of an installed copy of the electronic HDF5 document set and * + * is linked from the top-level documents page. It can also be found at * + * http://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html. If you do not have * + * access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu. * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + +/* + * Programmer: Quincey Koziol <koziol@ncsa.uiuc.edu> + * Friday, April 28, 2006 + * + * Purpose: Test support stuff. + */ + +#ifndef _H5HLTEST_H +#define _H5HLTEST_H + +/* Get the HDF5 public header */ +#include "hdf5.h" + +/* Include the High-Level private header */ +#include "H5HLprivate2.h" + +/* These are copied from the test/h5test.h header */ +#define TESTING(WHAT) {printf("%-70s", "Testing " WHAT); fflush(stdout);} +#define TESTING2(WHAT) {printf("%-70s", "Testing " WHAT); fflush(stdout);} +#define TESTING3(WHAT) {printf("%-70s", "" WHAT); fflush(stdout);} +#define PASSED() {puts(" PASSED");fflush(stdout);} +#define H5_FAILED() {puts("*FAILED*");fflush(stdout);} +#define SKIPPED() {puts(" -SKIP-");fflush(stdout);} +#define EXAMPLE(WHAT) {printf("%-70s", "Example " WHAT); fflush(stdout);} + +#endif /* _H5HLTEST_H */ + |