mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
[svn-r3770] Purpose:
Update Description: Changed includes of the form: #include <hdf5_file.h> to #include "hdf5_file.h" so that gcc can pick them up easier without including the system header files since we don't care about them. Platforms tested: Linux
This commit is contained in:
parent
d57e19825b
commit
bfd983e7f4
@ -5,7 +5,7 @@
|
||||
* Programmer: Robb Matzke <matzke@llnl.gov>
|
||||
* Wednesday, April 8, 1998
|
||||
*/
|
||||
#include <h5test.h>
|
||||
#include "h5test.h"
|
||||
|
||||
const char *FILENAME[] = {
|
||||
"big",
|
||||
|
@ -7,10 +7,10 @@
|
||||
*
|
||||
* Purpose: Tests functions in H5Tbit.c
|
||||
*/
|
||||
#include <h5test.h>
|
||||
#include "h5test.h"
|
||||
|
||||
#define H5T_PACKAGE
|
||||
#include <H5Tpkg.h>
|
||||
#include "H5Tpkg.h"
|
||||
|
||||
#define NTESTS 100000
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
/* See H5private.h for how to include headers */
|
||||
#undef NDEBUG
|
||||
#include <hdf5.h>
|
||||
#include "hdf5.h"
|
||||
|
||||
#ifdef H5_STDC_HEADERS
|
||||
# include <assert.h>
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
/* See H5private.h for how to include headers */
|
||||
#undef NDEBUG
|
||||
#include <h5test.h>
|
||||
#include "h5test.h"
|
||||
|
||||
const char *FILENAME[] = {
|
||||
"cmpd_dset",
|
||||
|
@ -15,7 +15,7 @@
|
||||
3. Read the dataset into the memory buffer.
|
||||
4. Get some information about the dataset from the file.
|
||||
*/
|
||||
#include <h5test.h>
|
||||
#include "h5test.h"
|
||||
#include <strings.h>
|
||||
|
||||
#ifndef H5_HAVE_GRIDSTORAGE
|
||||
|
@ -15,7 +15,7 @@
|
||||
3. Create a local memory buffer to hold the data.
|
||||
4. Write the local data to the remote dataset.
|
||||
*/
|
||||
#include <h5test.h>
|
||||
#include "h5test.h"
|
||||
|
||||
#ifndef H5_HAVE_GRIDSTORAGE
|
||||
int main(void)
|
||||
|
@ -8,7 +8,7 @@
|
||||
* Purpose: Tests the dataset interface (H5D)
|
||||
*/
|
||||
|
||||
#include <h5test.h>
|
||||
#include "h5test.h"
|
||||
|
||||
const char *FILENAME[] = {
|
||||
"dataset",
|
||||
|
@ -8,7 +8,7 @@
|
||||
* Purpose: Tests the data type interface (H5T)
|
||||
*/
|
||||
|
||||
#include <h5test.h>
|
||||
#include "h5test.h"
|
||||
|
||||
/* Number of times to run each test */
|
||||
#define NTESTS 1
|
||||
@ -35,7 +35,7 @@
|
||||
/* Alignment test stuff */
|
||||
#ifdef TEST_ALIGNMENT
|
||||
#define H5T_PACKAGE
|
||||
#include <H5Tpkg.h>
|
||||
#include "H5Tpkg.h"
|
||||
#endif
|
||||
#define SET_ALIGNMENT(TYPE,VAL) \
|
||||
H5T_NATIVE_##TYPE##_ALIGN_g=MAX(H5T_NATIVE_##TYPE##_ALIGN_g, VAL)
|
||||
|
@ -5,7 +5,7 @@
|
||||
* Programmer: Robb Matzke <matzke@llnl.gov>
|
||||
* Tuesday, December 22, 1998
|
||||
*/
|
||||
#include <h5test.h>
|
||||
#include "h5test.h"
|
||||
#define CPTR(VAR,CONST) ((VAR)=(CONST),&(VAR))
|
||||
|
||||
const char *FILENAME[] = {
|
||||
|
@ -8,7 +8,7 @@
|
||||
* Purpose: Tests extendible datasets.
|
||||
*/
|
||||
|
||||
#include <h5test.h>
|
||||
#include "h5test.h"
|
||||
|
||||
const char *FILENAME[] = {
|
||||
"extend",
|
||||
|
@ -7,7 +7,7 @@
|
||||
*
|
||||
* Purpose: Tests datasets stored in external raw files.
|
||||
*/
|
||||
#include <h5test.h>
|
||||
#include "h5test.h"
|
||||
|
||||
const char *FILENAME[] = {
|
||||
"extern_1",
|
||||
|
@ -7,7 +7,7 @@
|
||||
*
|
||||
* Purpose: Tests dataset fill values.
|
||||
*/
|
||||
#include <h5test.h>
|
||||
#include "h5test.h"
|
||||
|
||||
/*
|
||||
* Define NO_FILLING if you want to compare how this test works when there is
|
||||
|
@ -11,7 +11,7 @@
|
||||
* calling _exit(0) since this doesn't flush HDF5 caches but
|
||||
* still exits with success.
|
||||
*/
|
||||
#include <h5test.h>
|
||||
#include "h5test.h"
|
||||
|
||||
const char *FILENAME[] = {
|
||||
"flush",
|
||||
|
@ -10,7 +10,7 @@
|
||||
* as the file was flushed first. This half tries to read the
|
||||
* file created by the first half.
|
||||
*/
|
||||
#include <h5test.h>
|
||||
#include "h5test.h"
|
||||
|
||||
const char *FILENAME[] = {
|
||||
"flush",
|
||||
|
@ -15,7 +15,7 @@
|
||||
3. Create a local memory buffer to hold the data.
|
||||
4. Write the local data to the remote dataset.
|
||||
*/
|
||||
#include <h5test.h>
|
||||
#include "h5test.h"
|
||||
|
||||
#ifndef H5_HAVE_GASS
|
||||
int main(void)
|
||||
|
@ -15,7 +15,7 @@
|
||||
3. Read the dataset into the memory buffer.
|
||||
4. Get some information about the dataset from the file.
|
||||
*/
|
||||
#include <h5test.h>
|
||||
#include "h5test.h"
|
||||
#include <strings.h>
|
||||
|
||||
#ifndef H5_HAVE_GASS
|
||||
|
@ -15,7 +15,7 @@
|
||||
3. Create a local memory buffer to hold the data.
|
||||
4. Write the local data to the remote dataset.
|
||||
*/
|
||||
#include <h5test.h>
|
||||
#include "h5test.h"
|
||||
|
||||
#ifndef H5_HAVE_GASS
|
||||
int main(void)
|
||||
|
@ -16,7 +16,7 @@
|
||||
* The test file should be generated on a little-endian machine with
|
||||
* 16-bit shorts, 32-bit floats, 32-bit ints and 64-bit doubles.
|
||||
*/
|
||||
#include <hdf5.h>
|
||||
#include "hdf5.h"
|
||||
|
||||
#define TESTFILE "tarrnew.h5"
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
* The test file should be generated on a little-endian machine with
|
||||
* 16-bit shorts, 32-bit floats, 32-bit ints and 64-bit doubles.
|
||||
*/
|
||||
#include <hdf5.h>
|
||||
#include "hdf5.h"
|
||||
|
||||
#define TESTFILE "tarrold.h5"
|
||||
|
||||
|
16
test/gheap.c
16
test/gheap.c
@ -9,14 +9,14 @@
|
||||
* collections but the collections are not related to one
|
||||
* another by anything that appears in the file format.
|
||||
*/
|
||||
#include <h5test.h>
|
||||
#include <H5private.h>
|
||||
#include <H5Eprivate.h>
|
||||
#include <H5Fprivate.h>
|
||||
#include <H5Gprivate.h>
|
||||
#include <H5HGprivate.h>
|
||||
#include <H5Iprivate.h>
|
||||
#include <H5Pprivate.h>
|
||||
#include "h5test.h"
|
||||
#include "H5private.h"
|
||||
#include "H5Eprivate.h"
|
||||
#include "H5Fprivate.h"
|
||||
#include "H5Gprivate.h"
|
||||
#include "H5HGprivate.h"
|
||||
#include "H5Iprivate.h"
|
||||
#include "H5Pprivate.h"
|
||||
|
||||
const char *FILENAME[] = {
|
||||
"gheap1",
|
||||
|
@ -10,7 +10,8 @@
|
||||
*/
|
||||
|
||||
#undef NDEBUG /*override -DNDEBUG */
|
||||
#include <h5test.h>
|
||||
#include "h5test.h"
|
||||
|
||||
#ifdef WIN32
|
||||
#include <process.h>
|
||||
#endif
|
||||
|
@ -11,16 +11,15 @@
|
||||
#define _H5TEST_H
|
||||
|
||||
#undef NDEBUG
|
||||
#include <hdf5.h>
|
||||
#include "hdf5.h"
|
||||
#include "H5private.h"
|
||||
|
||||
#include <H5private.h>
|
||||
#ifdef STDC_HEADERS
|
||||
# include <signal.h>
|
||||
#endif
|
||||
|
||||
#define H5T_PACKAGE
|
||||
#include <H5Tpkg.h> /*to turn off hardware conversions*/
|
||||
|
||||
#include "H5Tpkg.h" /*to turn off hardware conversions*/
|
||||
|
||||
/*
|
||||
* This contains the filename prefix specificied as command line option for
|
||||
|
@ -11,9 +11,9 @@
|
||||
* because testing general dimensionalities would require us to
|
||||
* rewrite much of the hyperslab stuff.
|
||||
*/
|
||||
#include <H5private.h>
|
||||
#include <H5MMprivate.h>
|
||||
#include <H5Vprivate.h>
|
||||
#include "H5private.h"
|
||||
#include "H5MMprivate.h"
|
||||
#include "H5Vprivate.h"
|
||||
|
||||
#ifndef H5_HAVE_FUNCTION
|
||||
#undef __FUNCTION__
|
||||
|
@ -8,8 +8,8 @@
|
||||
|
||||
/* See H5private.h for how to include headers */
|
||||
#undef NDEBUG
|
||||
#include <hdf5.h>
|
||||
#include <H5private.h>
|
||||
#include "hdf5.h"
|
||||
#include "H5private.h"
|
||||
|
||||
#ifdef H5_STDC_HEADERS
|
||||
# include <assert.h>
|
||||
|
@ -9,16 +9,16 @@
|
||||
*/
|
||||
#define H5F_PACKAGE /*suppress error about including H5Fpkg */
|
||||
|
||||
#include <h5test.h>
|
||||
#include <H5private.h>
|
||||
#include <H5Dprivate.h>
|
||||
#include <H5Iprivate.h>
|
||||
#include <H5Pprivate.h>
|
||||
#include <H5Fpkg.h>
|
||||
#include <H5Gprivate.h>
|
||||
#include <H5MMprivate.h>
|
||||
#include <H5Oprivate.h>
|
||||
#include <H5Vprivate.h>
|
||||
#include "h5test.h"
|
||||
#include "H5private.h"
|
||||
#include "H5Dprivate.h"
|
||||
#include "H5Iprivate.h"
|
||||
#include "H5Pprivate.h"
|
||||
#include "H5Fpkg.h"
|
||||
#include "H5Gprivate.h"
|
||||
#include "H5MMprivate.h"
|
||||
#include "H5Oprivate.h"
|
||||
#include "H5Vprivate.h"
|
||||
|
||||
const char *FILENAME[] = {
|
||||
"istore",
|
||||
|
@ -7,9 +7,9 @@
|
||||
*
|
||||
* Purpose: Test local heaps used by symbol tables (groups).
|
||||
*/
|
||||
#include <h5test.h>
|
||||
#include <H5HLprivate.h>
|
||||
#include <H5Iprivate.h>
|
||||
#include "h5test.h"
|
||||
#include "H5HLprivate.h"
|
||||
#include "H5Iprivate.h"
|
||||
|
||||
const char *FILENAME[] = {
|
||||
"lheap",
|
||||
|
@ -7,7 +7,7 @@
|
||||
*
|
||||
* Purpose: Tests hard and soft (symbolic) links.
|
||||
*/
|
||||
#include <h5test.h>
|
||||
#include "h5test.h"
|
||||
|
||||
const char *FILENAME[] = {
|
||||
"links",
|
||||
|
@ -7,7 +7,7 @@
|
||||
*
|
||||
* Purpose: Tests file mounting.
|
||||
*/
|
||||
#include <h5test.h>
|
||||
#include "h5test.h"
|
||||
|
||||
const char *FILENAME[] = {
|
||||
"mount_1",
|
||||
|
@ -10,7 +10,7 @@
|
||||
* very OS-dependent and this test tries to figure out if it's
|
||||
* working properly.
|
||||
*/
|
||||
#include <h5test.h>
|
||||
#include "h5test.h"
|
||||
|
||||
const char *FILENAME[] = {
|
||||
"mtime",
|
||||
|
@ -5,15 +5,15 @@
|
||||
* Programmer: Robb Matzke <matzke@llnl.gov>
|
||||
* Tuesday, November 24, 1998
|
||||
*/
|
||||
#include <h5test.h>
|
||||
#include <H5Iprivate.h>
|
||||
#include <H5Oprivate.h>
|
||||
#include "h5test.h"
|
||||
#include "H5Iprivate.h"
|
||||
#include "H5Oprivate.h"
|
||||
|
||||
/*
|
||||
* This file needs to access private datatypes from the H5G package.
|
||||
*/
|
||||
#define H5G_PACKAGE
|
||||
#include <H5Gpkg.h>
|
||||
#include "H5Gpkg.h"
|
||||
|
||||
const char *FILENAME[] = {
|
||||
"ohdr",
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
/* See H5private.h for how to include headers */
|
||||
#undef NDEBUG
|
||||
#include <hdf5.h>
|
||||
#include "hdf5.h"
|
||||
|
||||
#ifdef H5_STDC_HEADERS
|
||||
# include <ctype.h>
|
||||
@ -21,7 +21,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef H5_HAVE_IO_H
|
||||
# include <io.h>
|
||||
# include <io.h>
|
||||
#endif
|
||||
|
||||
#ifdef H5_HAVE_UNISTD_H
|
||||
|
@ -14,7 +14,7 @@
|
||||
* Don't forget to change H5S_MAX_RANK back to its original
|
||||
* value and recompile once the test file is created.
|
||||
*/
|
||||
#include <hdf5.h>
|
||||
#include "hdf5.h"
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
|
@ -49,7 +49,7 @@
|
||||
* absolute path. It you use SDSC server(ghidorah.sdsc.edu), your
|
||||
* home directory is possibly in /projects/mdas/srb/SRBVault/.
|
||||
*/
|
||||
#include <h5test.h>
|
||||
#include "h5test.h"
|
||||
|
||||
#ifndef H5_HAVE_SRB
|
||||
int main(void)
|
||||
|
@ -48,7 +48,7 @@
|
||||
* absolute path. It you use SDSC server(ghidorah.sdsc.edu), your
|
||||
* home directory is possibly in /projects/mdas/srb/SRBVault/.
|
||||
*/
|
||||
#include <h5test.h>
|
||||
#include "h5test.h"
|
||||
|
||||
#ifndef H5_HAVE_SRB
|
||||
int main(void)
|
||||
|
@ -49,7 +49,7 @@
|
||||
* home directory is possibly in /projects/mdas/srb/SRBVault/.
|
||||
*/
|
||||
|
||||
#include <h5test.h>
|
||||
#include "h5test.h"
|
||||
|
||||
#ifndef H5_HAVE_SRB
|
||||
int main(void)
|
||||
|
@ -5,13 +5,13 @@
|
||||
* Programmer: Robb Matzke <matzke@llnl.gov>
|
||||
* Tuesday, November 24, 1998
|
||||
*/
|
||||
#include <h5test.h>
|
||||
#include "h5test.h"
|
||||
|
||||
/*
|
||||
* This file needs to access private datatypes from the H5G package.
|
||||
*/
|
||||
#define H5G_PACKAGE
|
||||
#include <H5Gpkg.h>
|
||||
#include "H5Gpkg.h"
|
||||
|
||||
const char *FILENAME[] = {
|
||||
"stab1",
|
||||
|
@ -33,7 +33,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <hdf5.h>
|
||||
#include "hdf5.h"
|
||||
|
||||
#ifndef H5_HAVE_STREAM
|
||||
|
||||
|
@ -20,9 +20,8 @@
|
||||
*
|
||||
*************************************************************/
|
||||
|
||||
#include <testhdf5.h>
|
||||
|
||||
#include <hdf5.h>
|
||||
#include "testhdf5.h"
|
||||
#include "hdf5.h"
|
||||
|
||||
#define FILENAME "tarray1.h5"
|
||||
#define TESTFILE "tarrold.h5"
|
||||
|
@ -20,9 +20,8 @@
|
||||
*
|
||||
*************************************************************/
|
||||
|
||||
#include <testhdf5.h>
|
||||
|
||||
#include <hdf5.h>
|
||||
#include "testhdf5.h"
|
||||
#include "hdf5.h"
|
||||
|
||||
#define FILENAME "tattr.h5"
|
||||
#define ATTR_NAME_LEN 16
|
||||
|
@ -52,7 +52,7 @@ int num_errs = 0;
|
||||
int Verbosity;
|
||||
|
||||
/* ANY new test needs to have a prototype in tproto.h */
|
||||
#include <testhdf5.h>
|
||||
#include "testhdf5.h"
|
||||
|
||||
struct TestStruct {
|
||||
int NumErrors;
|
||||
|
@ -23,8 +23,8 @@
|
||||
* Include required headers. This file tests internal library functions,
|
||||
* so we include the private headers here.
|
||||
*/
|
||||
#include <H5private.h>
|
||||
#include <H5Eprivate.h>
|
||||
#include "H5private.h"
|
||||
#include "H5Eprivate.h"
|
||||
|
||||
#ifndef HDF5_TEST_MASTER
|
||||
extern int num_errs;
|
||||
|
@ -20,11 +20,11 @@
|
||||
*
|
||||
*************************************************************/
|
||||
|
||||
#include <testhdf5.h>
|
||||
#include "testhdf5.h"
|
||||
|
||||
#include <H5private.h>
|
||||
#include <H5Bprivate.h>
|
||||
#include <H5Pprivate.h>
|
||||
#include "H5private.h"
|
||||
#include "H5Bprivate.h"
|
||||
#include "H5Pprivate.h"
|
||||
|
||||
#define F1_USERBLOCK_SIZE (hsize_t)0
|
||||
#define F1_OFFSET_SIZE sizeof(haddr_t)
|
||||
|
@ -20,9 +20,8 @@
|
||||
*
|
||||
*************************************************************/
|
||||
|
||||
#include <testhdf5.h>
|
||||
|
||||
#include <hdf5.h>
|
||||
#include "testhdf5.h"
|
||||
#include "hdf5.h"
|
||||
|
||||
#define FILENAME "tgenprop.h5"
|
||||
|
||||
|
10
test/th5s.c
10
test/th5s.c
@ -20,12 +20,12 @@
|
||||
*
|
||||
*************************************************************/
|
||||
|
||||
#include <testhdf5.h>
|
||||
#include "testhdf5.h"
|
||||
|
||||
#include <H5private.h>
|
||||
#include <H5Bprivate.h>
|
||||
#include <H5Sprivate.h>
|
||||
#include <H5Pprivate.h>
|
||||
#include "H5private.h"
|
||||
#include "H5Bprivate.h"
|
||||
#include "H5Sprivate.h"
|
||||
#include "H5Pprivate.h"
|
||||
|
||||
#define TESTFILE "th5s.h5"
|
||||
#define DATAFILE "th5s1.h5"
|
||||
|
@ -20,9 +20,9 @@
|
||||
*
|
||||
*************************************************************/
|
||||
|
||||
#include <testhdf5.h>
|
||||
#include "testhdf5.h"
|
||||
|
||||
#include <hdf5.h>
|
||||
#include "hdf5.h"
|
||||
|
||||
#define DATAFILE "titerate.h5"
|
||||
|
||||
|
@ -20,10 +20,10 @@
|
||||
*
|
||||
*************************************************************/
|
||||
|
||||
#include <testhdf5.h>
|
||||
#include "testhdf5.h"
|
||||
|
||||
#include <H5private.h>
|
||||
#include <H5Fprivate.h>
|
||||
#include "H5private.h"
|
||||
#include "H5Fprivate.h"
|
||||
|
||||
#define TEST_INT16_VALUE -7641
|
||||
#define TEST_UINT16_VALUE 45002
|
||||
|
@ -20,9 +20,9 @@
|
||||
*
|
||||
*************************************************************/
|
||||
|
||||
#include <testhdf5.h>
|
||||
#include "testhdf5.h"
|
||||
|
||||
#include <hdf5.h>
|
||||
#include "hdf5.h"
|
||||
|
||||
#define FILE1 "trefer1.h5"
|
||||
#define FILE2 "trefer2.h5"
|
||||
|
@ -20,9 +20,9 @@
|
||||
*
|
||||
*************************************************************/
|
||||
|
||||
#include <testhdf5.h>
|
||||
#include "testhdf5.h"
|
||||
|
||||
#include <hdf5.h>
|
||||
#include "hdf5.h"
|
||||
|
||||
#define FILENAME "tselect.h5"
|
||||
|
||||
|
@ -33,6 +33,7 @@
|
||||
*/
|
||||
|
||||
#include <time.h>
|
||||
|
||||
#include "testhdf5.h"
|
||||
#include "H5TBprivate.h"
|
||||
|
||||
|
@ -20,9 +20,9 @@
|
||||
*
|
||||
*************************************************************/
|
||||
|
||||
#include <testhdf5.h>
|
||||
#include "testhdf5.h"
|
||||
|
||||
#include <hdf5.h>
|
||||
#include "hdf5.h"
|
||||
|
||||
#define DATAFILE "ttime.h5"
|
||||
|
||||
|
@ -39,7 +39,8 @@
|
||||
#endif
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <ttsafe.h>
|
||||
|
||||
#include "ttsafe.h"
|
||||
|
||||
#ifndef H5_HAVE_THREADSAFE
|
||||
int main(void)
|
||||
|
@ -19,15 +19,15 @@
|
||||
#ifndef HDF5TEST_H
|
||||
#define HDF5TEST_H
|
||||
|
||||
#include <hdf5.h>
|
||||
#include <string.h>
|
||||
|
||||
/*
|
||||
* Include required headers. This file tests internal library functions,
|
||||
* so we include the private headers here.
|
||||
*/
|
||||
#include <H5private.h>
|
||||
#include <H5Eprivate.h>
|
||||
#include "hdf5.h"
|
||||
#include "H5private.h"
|
||||
#include "H5Eprivate.h"
|
||||
|
||||
#ifdef H5_HAVE_THREADSAFE
|
||||
/* Include pthread library for threadsafe tests */
|
||||
|
@ -24,9 +24,9 @@
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
#include <testhdf5.h>
|
||||
#include "testhdf5.h"
|
||||
|
||||
#include <hdf5.h>
|
||||
#include "hdf5.h"
|
||||
|
||||
#define DATAFILE "tvlstr.h5"
|
||||
|
||||
|
@ -20,9 +20,9 @@
|
||||
*
|
||||
*************************************************************/
|
||||
|
||||
#include <testhdf5.h>
|
||||
#include "testhdf5.h"
|
||||
|
||||
#include <hdf5.h>
|
||||
#include "hdf5.h"
|
||||
|
||||
#define FILENAME "tvltypes.h5"
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
*
|
||||
* Purpose: Test H5Gunlink().
|
||||
*/
|
||||
#include <h5test.h>
|
||||
#include "h5test.h"
|
||||
|
||||
const char *FILENAME[] = {
|
||||
"unlink",
|
||||
|
Loading…
Reference in New Issue
Block a user