fix CMake error

This commit is contained in:
Dennis Heimbigner 2021-04-16 18:54:35 -06:00
parent fd261280dc
commit c984b3a428
2 changed files with 3 additions and 2 deletions

View File

@ -20,7 +20,7 @@ SET(NC4_TESTS tst_dims tst_dims2 tst_dims3 tst_files tst_files4
tst_files6 tst_sync tst_h_strbug tst_h_refs tst_h_scalar tst_rename
tst_rename2 tst_rename3 tst_h5_endians tst_atts_string_rewrite tst_put_vars_two_unlim_dim
tst_hdf5_file_compat tst_fill_attr_vanish tst_rehash tst_types tst_bug324
tst_atts3 tst_put_vars tst_elatefill tst_udf tst_bug1442 tst_charvlenbug.c)
tst_atts3 tst_put_vars tst_elatefill tst_udf tst_bug1442)
# Note, renamegroup needs to be compiled before run_grp_rename
@ -28,6 +28,7 @@ IF(BUILD_UTILITIES)
SET(NC4_TESTS ${NC4_TESTS} tst_xplatform)
build_bin_test(renamegroup)
add_sh_test(nc_test4 run_grp_rename)
build_bin_test(tst_charvlenbug)
ADD_SH_TEST(nc_test4 tst_misc)
build_bin_test(tst_fillonly)
ADD_SH_TEST(nc_test4 test_fillonly)

View File

@ -17,7 +17,7 @@ ECODE=1
fi
echo "*** Testing char(*) type printout error in ncdump"
rm -f tst_charvlenbug.nc ./tmp
rm -f ./tst_charvlenbug.nc ./tmp
${execdir}/tst_charvlenbug
if $NCDUMP ./tst_charvlenbug.nc 2>1 >./tmp ; then
echo "*** Pass: char(*) ncdump printout"