mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
[svn-r16511] bug fix: TESTING2 macro introduced recently for the test suite (it adds an extra space at the beginning of output, for indentation) was already available for HL and caused compilation problems on AIX. Replaced the name with TESTING_2
tested: h5committest
This commit is contained in:
parent
3485ecf8f4
commit
d77d4b1742
@ -99,7 +99,7 @@ extern MPI_Info h5_io_info_g; /* MPI INFO object for IO */
|
||||
* the H5_FAILED() macro is invoked automatically when an API function fails.
|
||||
*/
|
||||
#define TESTING(WHAT) {printf("Testing %-62s",WHAT); fflush(stdout);}
|
||||
#define TESTING2(WHAT) {printf(" Testing %-62s",WHAT); fflush(stdout);}
|
||||
#define TESTING_2(WHAT) {printf(" Testing %-62s",WHAT); fflush(stdout);}
|
||||
#define PASSED() {puts(" PASSED");fflush(stdout);}
|
||||
#define H5_FAILED() {puts("*FAILED*");fflush(stdout);}
|
||||
#define H5_WARNING() {puts("*WARNING*");fflush(stdout);}
|
||||
|
@ -153,7 +153,7 @@ static int do_ranks( hid_t fapl )
|
||||
hbool_t set_istore_k = 0;
|
||||
|
||||
|
||||
TESTING2("with fill value, no compression");
|
||||
TESTING_2("with fill value, no compression");
|
||||
|
||||
do_fillvalue = 1;
|
||||
|
||||
@ -187,7 +187,7 @@ static int do_ranks( hid_t fapl )
|
||||
PASSED();
|
||||
|
||||
|
||||
TESTING2("no fill value, no compression");
|
||||
TESTING_2("no fill value, no compression");
|
||||
|
||||
do_fillvalue = 0;
|
||||
|
||||
@ -208,7 +208,7 @@ static int do_ranks( hid_t fapl )
|
||||
|
||||
PASSED();
|
||||
|
||||
TESTING2("with fill value, with compression");
|
||||
TESTING_2("with fill value, with compression");
|
||||
|
||||
#ifdef H5_HAVE_FILTER_DEFLATE
|
||||
|
||||
@ -246,7 +246,7 @@ static int do_ranks( hid_t fapl )
|
||||
SKIPPED();
|
||||
#endif
|
||||
|
||||
TESTING2("no fill value, with compression");
|
||||
TESTING_2("no fill value, with compression");
|
||||
|
||||
#ifdef H5_HAVE_FILTER_DEFLATE
|
||||
|
||||
@ -270,7 +270,7 @@ static int do_ranks( hid_t fapl )
|
||||
SKIPPED();
|
||||
#endif
|
||||
|
||||
TESTING2("with non-default indexed storage B-tree");
|
||||
TESTING_2("with non-default indexed storage B-tree");
|
||||
|
||||
do_fillvalue = 1;
|
||||
set_istore_k = 1;
|
||||
@ -299,7 +299,7 @@ error:
|
||||
static int do_layouts( hid_t fapl )
|
||||
{
|
||||
|
||||
TESTING2("storage layout use");
|
||||
TESTING_2("storage layout use");
|
||||
|
||||
if (test_layouts( H5D_COMPACT, fapl ) < 0)
|
||||
{
|
||||
@ -2080,7 +2080,7 @@ static int test_external( hid_t fapl )
|
||||
}
|
||||
}
|
||||
|
||||
TESTING2("external file use");
|
||||
TESTING_2("external file use");
|
||||
|
||||
/* create a new file */
|
||||
h5_fixname(FILENAME[3], fapl, filename, sizeof filename);
|
||||
|
Loading…
Reference in New Issue
Block a user