Skip to content

Commit

Permalink
Committing clang-format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 23, 2024
1 parent a902fa5 commit d366b84
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 47 deletions.
8 changes: 4 additions & 4 deletions test/API/H5_api_dataset_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -1275,10 +1275,10 @@ test_create_dataset_predefined_types(void)
hid_t fspace_id = H5I_INVALID_HID;
hid_t dset_id = H5I_INVALID_HID;
hid_t predefined_type_test_table[] = {H5T_STD_U8LE, H5T_STD_U8BE, H5T_STD_I8LE, H5T_STD_I8BE,
H5T_STD_U16LE, H5T_STD_U16BE, H5T_STD_I16LE, H5T_STD_I16BE,
H5T_STD_U32LE, H5T_STD_U32BE, H5T_STD_I32LE, H5T_STD_I32BE,
H5T_STD_U64LE, H5T_STD_U64BE, H5T_STD_I64LE, H5T_STD_I64BE,
H5T_IEEE_F32LE, H5T_IEEE_F32BE, H5T_IEEE_F64LE, H5T_IEEE_F64BE};
H5T_STD_U16LE, H5T_STD_U16BE, H5T_STD_I16LE, H5T_STD_I16BE,
H5T_STD_U32LE, H5T_STD_U32BE, H5T_STD_I32LE, H5T_STD_I32BE,
H5T_STD_U64LE, H5T_STD_U64BE, H5T_STD_I64LE, H5T_STD_I64BE,
H5T_IEEE_F32LE, H5T_IEEE_F32BE, H5T_IEEE_F64LE, H5T_IEEE_F64BE};

TESTING("dataset creation with predefined datatypes");

Expand Down
111 changes: 68 additions & 43 deletions test/API/H5_api_link_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -19683,7 +19683,7 @@ test_link_iterate_hard_links(void)
!(vol_cap_flags_g & H5VL_CAP_FLAG_UD_LINKS)) {
SKIPPED();
printf(" API functions for external or user-defined link aren't supported with this "
"connector\n");
"connector\n");
PART_EMPTY(H5Literate_link_name_increasing);
}

Expand Down Expand Up @@ -20409,9 +20409,11 @@ test_link_iterate_external_links(void)
{
TESTING_2("H5Literate2 by link name in increasing order");

if (!(vol_cap_flags_g & H5VL_CAP_FLAG_CREATION_ORDER) || !(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS)) {
if (!(vol_cap_flags_g & H5VL_CAP_FLAG_CREATION_ORDER) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS)) {
SKIPPED();
printf(" creation order tracking or the external link API aren't supported with this VOL connector\n");
printf(" creation order tracking or the external link API aren't supported with this VOL "
"connector\n");
PART_EMPTY(H5Literate_link_name_increasing);
}

Expand Down Expand Up @@ -20439,9 +20441,11 @@ test_link_iterate_external_links(void)
{
TESTING_2("H5Literate2 by link name in decreasing order");

if (!(vol_cap_flags_g & H5VL_CAP_FLAG_CREATION_ORDER) || !(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS)) {
if (!(vol_cap_flags_g & H5VL_CAP_FLAG_CREATION_ORDER) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS)) {
SKIPPED();
printf(" creation order tracking or the external link API aren't supported with this VOL connector\n");
printf(" creation order tracking or the external link API aren't supported with this VOL "
"connector\n");
PART_EMPTY(H5Literate_link_name_decreasing);
}

Expand Down Expand Up @@ -20469,9 +20473,11 @@ test_link_iterate_external_links(void)
{
TESTING_2("H5Literate2 by creation order in increasing order");

if (!(vol_cap_flags_g & H5VL_CAP_FLAG_CREATION_ORDER) || !(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS)) {
if (!(vol_cap_flags_g & H5VL_CAP_FLAG_CREATION_ORDER) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS)) {
SKIPPED();
printf(" creation order tracking or the external link API aren't supported with this VOL connector\n");
printf(" creation order tracking or the external link API aren't supported with this VOL "
"connector\n");
PART_EMPTY(H5Literate_link_creation_increasing);
}

Expand Down Expand Up @@ -20499,9 +20505,11 @@ test_link_iterate_external_links(void)
{
TESTING_2("H5Literate2 by creation order in decreasing order");

if (!(vol_cap_flags_g & H5VL_CAP_FLAG_CREATION_ORDER) || !(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS)) {
if (!(vol_cap_flags_g & H5VL_CAP_FLAG_CREATION_ORDER) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS)) {
SKIPPED();
printf(" creation order tracking or the external link API aren't supported with this VOL connector\n");
printf(" creation order tracking or the external link API aren't supported with this VOL "
"connector\n");
PART_EMPTY(H5Literate_link_creation_decreasing);
}

Expand Down Expand Up @@ -20529,9 +20537,11 @@ test_link_iterate_external_links(void)
{
TESTING_2("H5Literate_by_name2 by link name in increasing order");

if (!(vol_cap_flags_g & H5VL_CAP_FLAG_CREATION_ORDER) || !(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS)) {
if (!(vol_cap_flags_g & H5VL_CAP_FLAG_CREATION_ORDER) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS)) {
SKIPPED();
printf(" creation order tracking or the external link API aren't supported with this VOL connector\n");
printf(" creation order tracking or the external link API aren't supported with this VOL "
"connector\n");
PART_EMPTY(H5Literate_by_name_link_name_increasing);
}

Expand Down Expand Up @@ -20562,7 +20572,8 @@ test_link_iterate_external_links(void)

if (!(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS)) {
SKIPPED();
printf(" creation order tracking or the external link API aren't supported with this VOL connector\n");
printf(" creation order tracking or the external link API aren't supported with this VOL "
"connector\n");
PART_EMPTY(H5Literate_by_name_creation_decreasing);
}

Expand Down Expand Up @@ -20591,9 +20602,11 @@ test_link_iterate_external_links(void)
{
TESTING_2("H5Literate_by_name2 by creation order in increasing order");

if (!(vol_cap_flags_g & H5VL_CAP_FLAG_CREATION_ORDER) || !(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS)) {
if (!(vol_cap_flags_g & H5VL_CAP_FLAG_CREATION_ORDER) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS)) {
SKIPPED();
printf(" creation order tracking or the external link API aren't supported with this VOL connector\n");
printf(" creation order tracking or the external link API aren't supported with this VOL "
"connector\n");
PART_EMPTY(H5Literate_by_name_creation_increasing);
}

Expand Down Expand Up @@ -20623,9 +20636,11 @@ test_link_iterate_external_links(void)
{
TESTING_2("H5Literate_by_name2 by creation order in decreasing order");

if (!(vol_cap_flags_g & H5VL_CAP_FLAG_CREATION_ORDER) || !(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS)) {
if (!(vol_cap_flags_g & H5VL_CAP_FLAG_CREATION_ORDER) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS)) {
SKIPPED();
printf(" creation order tracking or the external link API are not supported with this VOL connector\n");
printf(" creation order tracking or the external link API are not supported with this VOL "
"connector\n");
PART_EMPTY(H5Literate_by_name_creation_decreasing);
}

Expand Down Expand Up @@ -20870,10 +20885,11 @@ test_link_iterate_mixed_links(void)
{
TESTING_2("H5Literate2 by link name in increasing order");

if (!(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_UD_LINKS) ) {
if (!(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_UD_LINKS)) {
SKIPPED();
printf(" creation order tracking, external links, or user-defined links aren't supported with this VOL connector\n");
printf(" creation order tracking, external links, or user-defined links aren't supported "
"with this VOL connector\n");
PART_EMPTY(H5Literate_link_name_increasing);
}

Expand All @@ -20900,10 +20916,11 @@ test_link_iterate_mixed_links(void)
{
TESTING_2("H5Literate2 by link name in decreasing order");

if (!(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_UD_LINKS) ) {
if (!(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_UD_LINKS)) {
SKIPPED();
printf(" creation order tracking, external links, or user-defined links aren't supported with this VOL connector\n");
printf(" creation order tracking, external links, or user-defined links aren't supported "
"with this VOL connector\n");
PART_EMPTY(H5Literate_link_name_decreasing);
}

Expand All @@ -20930,11 +20947,12 @@ test_link_iterate_mixed_links(void)
{
TESTING_2("H5Literate2 by creation order in increasing order");

if (!(vol_cap_flags_g & H5VL_CAP_FLAG_CREATION_ORDER) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS) ||
if (!(vol_cap_flags_g & H5VL_CAP_FLAG_CREATION_ORDER) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_UD_LINKS)) {
SKIPPED();
printf(" creation order tracking, external links, or user-defined links aren't supported with this VOL connector\n");
printf(" creation order tracking, external links, or user-defined links aren't supported "
"with this VOL connector\n");
PART_EMPTY(H5Literate_link_creation_increasing);
}

Expand Down Expand Up @@ -20962,11 +20980,12 @@ test_link_iterate_mixed_links(void)
{
TESTING_2("H5Literate2 by creation order in decreasing order");

if (!(vol_cap_flags_g & H5VL_CAP_FLAG_CREATION_ORDER) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS) ||
if (!(vol_cap_flags_g & H5VL_CAP_FLAG_CREATION_ORDER) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_UD_LINKS)) {
SKIPPED();
printf(" creation order tracking, external links, or user-defined links aren't supported with this VOL connector\n");
printf(" creation order tracking, external links, or user-defined links aren't supported "
"with this VOL connector\n");
PART_EMPTY(H5Literate_link_creation_decreasing);
}

Expand Down Expand Up @@ -20995,10 +21014,11 @@ test_link_iterate_mixed_links(void)
TESTING_2("H5Literate_by_name2 by link name in increasing order");

if (!(vol_cap_flags_g & H5VL_CAP_FLAG_CREATION_ORDER) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_UD_LINKS) ) {
!(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_UD_LINKS)) {
SKIPPED();
printf(" creation order tracking, external links, or user-defined links aren't supported with this VOL connector\n");
printf(" creation order tracking, external links, or user-defined links aren't supported "
"with this VOL connector\n");
PART_EMPTY(H5Literate_by_name_link_name_increasing);
}

Expand Down Expand Up @@ -21027,10 +21047,11 @@ test_link_iterate_mixed_links(void)
TESTING_2("H5Literate_by_name2 by link name in decreasing order");

if (!(vol_cap_flags_g & H5VL_CAP_FLAG_CREATION_ORDER) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_UD_LINKS) ) {
!(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_UD_LINKS)) {
SKIPPED();
printf(" creation order tracking, external links, or user-defined links aren't supported with this VOL connector\n");
printf(" creation order tracking, external links, or user-defined links aren't supported "
"with this VOL connector\n");
PART_EMPTY(H5Literate_by_name_link_name_decreasing);
}

Expand Down Expand Up @@ -21060,10 +21081,11 @@ test_link_iterate_mixed_links(void)
TESTING_2("H5Literate_by_name2 by creation order in increasing order");

if (!(vol_cap_flags_g & H5VL_CAP_FLAG_CREATION_ORDER) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_UD_LINKS) ) {
!(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_UD_LINKS)) {
SKIPPED();
printf(" creation order tracking, external links, or user-defined links aren't supported with this VOL connector\n");
printf(" creation order tracking, external links, or user-defined links aren't supported "
"with this VOL connector\n");
PART_EMPTY(H5Literate_by_name_creation_increasing);
}

Expand Down Expand Up @@ -21092,11 +21114,12 @@ test_link_iterate_mixed_links(void)
{
TESTING_2("H5Literate_by_name2 by creation order in decreasing order");

if (!(vol_cap_flags_g & H5VL_CAP_FLAG_CREATION_ORDER) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS) ||
if (!(vol_cap_flags_g & H5VL_CAP_FLAG_CREATION_ORDER) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_UD_LINKS)) {
SKIPPED();
printf(" creation order tracking, external links, or user-defined links aren't supported with this VOL connector\n");
printf(" creation order tracking, external links, or user-defined links aren't supported "
"with this VOL connector\n");
PART_EMPTY(H5Literate_by_name_creation_decreasing);
}

Expand Down Expand Up @@ -21129,7 +21152,8 @@ test_link_iterate_mixed_links(void)
!(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_UD_LINKS)) {
SKIPPED();
printf(" creation order tracking, external links, or user-defined links aren't supported with this VOL connector\n");
printf(" creation order tracking, external links, or user-defined links aren't supported "
"with this VOL connector\n");
PART_EMPTY(H5Literate_index_saving_increasing);
}

Expand Down Expand Up @@ -21166,10 +21190,11 @@ test_link_iterate_mixed_links(void)
TESTING_2("H5Literate2 index-saving capabilities in decreasing order");

if (!(vol_cap_flags_g & H5VL_CAP_FLAG_CREATION_ORDER) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_EXTERNAL_LINKS) ||
!(vol_cap_flags_g & H5VL_CAP_FLAG_UD_LINKS)) {
SKIPPED();
printf(" creation order tracking, external links, or user-defined links aren't supported with this VOL connector\n");
printf(" creation order tracking, external links, or user-defined links aren't supported "
"with this VOL connector\n");
PART_EMPTY(H5Literate_index_saving_decreasing);
}

Expand Down

0 comments on commit d366b84

Please sign in to comment.