diff --git a/hl/test/test_lite.c b/hl/test/test_lite.c index 9612829a0c..6b10919ab9 100644 --- a/hl/test/test_lite.c +++ b/hl/test/test_lite.c @@ -1043,44 +1043,6 @@ static herr_t make_attributes( hid_t loc_id, const char* obj_name ) return 0; } -/*------------------------------------------------------------------------- - * test H5LTtext_to_dtype function - *------------------------------------------------------------------------- - */ -static int test_text_dtype(void) -{ - TESTING("H5LTtext_to_dtype"); - - if(test_integers()<0) - goto out; - - if(test_fps()<0) - goto out; - - if(test_strings()<0) - goto out; - - if(test_opaques()<0) - goto out; - - if(test_enums()<0) - goto out; - - if(test_variables()<0) - goto out; - - if(test_arrays()<0) - goto out; - - if(test_compounds()<0) - goto out; - - return 0; - -out: - return -1; -} - /*------------------------------------------------------------------------- * subroutine for test_text_dtype(): test_integers(). *------------------------------------------------------------------------- @@ -1446,11 +1408,48 @@ out: return -1; } +/*------------------------------------------------------------------------- + * test H5LTtext_to_dtype function + *------------------------------------------------------------------------- + */ +static int test_text_dtype(void) +{ + TESTING("H5LTtext_to_dtype"); + + if(test_integers()<0) + goto out; + + if(test_fps()<0) + goto out; + + if(test_strings()<0) + goto out; + + if(test_opaques()<0) + goto out; + + if(test_enums()<0) + goto out; + + if(test_variables()<0) + goto out; + + if(test_arrays()<0) + goto out; + + if(test_compounds()<0) + goto out; + + return 0; + +out: + return -1; +} + /*------------------------------------------------------------------------- * the main program *------------------------------------------------------------------------- */ - int main( void ) { int nerrors=0;