Merge pull request #1692 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop

* commit '8a4f679fda20577c4528977d0ee9a7e4c5bee055':
  Combine "collective group and dataset write" and "independent group and dataset read" tests into one test.  The second test is dependent on the file created by the first test, and will not pass when run by itself.
This commit is contained in:
Scot Breitenfeld 2019-05-03 17:09:11 -05:00
commit e0ff0e8dd5
4 changed files with 13 additions and 6 deletions

View File

@ -33,8 +33,7 @@ set (SKIP_tests
ecdsetw
eidsetw2
selnone
cngrpw
ingrpr
cngrpw-ingrpr
cschunkw
ccchunkw
tldsc

View File

@ -838,6 +838,13 @@ void dataset_fillvalue(void)
HDfree(wdata);
}
/* combined cngrpw and ingrpr tests because ingrpr reads file created by cngrpw. */
void collective_group_write_independent_group_read(void)
{
collective_group_write();
independent_group_read();
}
/* Write multiple groups with a chunked dataset in each group collectively.
* These groups and datasets are for testing independent read later.
*

View File

@ -409,10 +409,10 @@ int main(int argc, char **argv)
collngroups_params.name = PARATESTFILE;
collngroups_params.count = ngroups;
AddTest("cngrpw", collective_group_write, NULL,
"collective group and dataset write", &collngroups_params);
AddTest("ingrpr", independent_group_read, NULL,
"independent group and dataset read", &collngroups_params);
/* combined cngrpw and ingrpr tests because ingrpr reads file created by cngrpw. */
AddTest("cngrpw-ingrpr", collective_group_write_independent_group_read, NULL,
"collective grp/dset write - independent grp/dset read",
&collngroups_params);
#ifndef H5_HAVE_WIN32_API
AddTest("bigdset", big_dataset, NULL,
"big dataset test", PARATESTFILE);

View File

@ -240,6 +240,7 @@ void test_file_properties(void);
void multiple_dset_write(void);
void multiple_group_write(void);
void multiple_group_read(void);
void collective_group_write_independent_group_read(void);
void collective_group_write(void);
void independent_group_read(void);
void test_fapl_mpio_dup(void);