Skip to content

Commit

Permalink
Disable complex dtypes in API tests for now
Browse files Browse the repository at this point in the history
The REST VOL CI is failing because the REST VOL/HSDS
don't currently support complex datatypes. Since none of the
other VOLs in CI do anything particular with complex datatypes,
it should be fine to disable this until the REST VOL/HSDS
are updated.
  • Loading branch information
mattjala committed Nov 15, 2024
1 parent 1a9c405 commit 724b9d2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions test/API/H5_api_test_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ static hid_t generate_random_datatype_compound(H5T_class_t parent_class, bool is
static hid_t generate_random_datatype_reference(H5T_class_t parent_class, bool is_compact);
static hid_t generate_random_datatype_enum(H5T_class_t parent_class, bool is_compact);
static hid_t generate_random_datatype_array(H5T_class_t parent_class, bool is_compact);
static hid_t generate_random_datatype_complex(H5T_class_t parent_class, bool is_compact);
// static hid_t generate_random_datatype_complex(H5T_class_t parent_class, bool is_compact);

/*
* Helper function to generate a random HDF5 datatype in order to thoroughly
Expand Down Expand Up @@ -172,8 +172,12 @@ generate_random_datatype(H5T_class_t parent_class, bool is_compact)
gen_func = generate_random_datatype_array;
break;
case H5T_COMPLEX:
gen_func = generate_random_datatype_complex;
// gen_func = generate_random_datatype_complex;

/* Temporarily disable generation of complex datatypes */
goto roll_datatype;
break;

default:
printf(" invalid datatype class\n");
goto done;
Expand Down Expand Up @@ -608,6 +612,7 @@ generate_random_datatype_array(H5T_class_t H5_ATTR_UNUSED parent_class, bool is_
return ret_value;
}

/*
static hid_t
generate_random_datatype_complex(H5T_class_t H5_ATTR_UNUSED parent_class, bool H5_ATTR_UNUSED is_compact)
{
Expand Down Expand Up @@ -654,6 +659,7 @@ generate_random_datatype_complex(H5T_class_t H5_ATTR_UNUSED parent_class, bool H
return ret_value;
}
*/

/*
* Helper function to generate a random HDF5 dataspace in order to thoroughly
Expand Down

0 comments on commit 724b9d2

Please sign in to comment.