mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-02-11 16:40:36 +08:00
This commit is contained in:
parent
c271c81ac4
commit
1a72ec6adb
@ -1780,9 +1780,7 @@ ncio_px_close(ncio *nciop, int doUnlink)
|
||||
if(nciop == NULL)
|
||||
return EINVAL;
|
||||
status = nciop->sync(nciop);
|
||||
if(nciop->fd > 0) {
|
||||
(void) close(nciop->fd);
|
||||
}
|
||||
(void) close(nciop->fd);
|
||||
if(doUnlink)
|
||||
(void) unlink(nciop->path);
|
||||
ncio_px_free(nciop);
|
||||
|
@ -97,19 +97,21 @@ IF(ENABLE_TESTS)
|
||||
add_bin_test(ncdump tst_comp2)
|
||||
add_bin_test(ncdump tst_nans)
|
||||
add_bin_test(ncdump tst_special_atts)
|
||||
#add_sh_test(tst_netcdf4)
|
||||
#add_bin_test(tst_h_rdc0)
|
||||
IF(NOT WIN32)
|
||||
add_sh_test(ncdump tst_netcdf4)
|
||||
add_bin_test(ncdump tst_h_rdc0)
|
||||
ENDIF()
|
||||
add_bin_test(ncdump tst_unicode)
|
||||
if(NOT WIN32)
|
||||
add_bin_test(tst_fillbug)
|
||||
add_sh_test(tst_fillbug)
|
||||
add_bin_test(ncdump tst_fillbug)
|
||||
add_sh_test(ncdump tst_fillbug)
|
||||
ENDIF()
|
||||
IF(NOT WIN32)
|
||||
add_sh_test(ncdump tst_netcdf4_4)
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
add_bin_test(ncdump tst_compress)
|
||||
IF(NOT WIN32)
|
||||
add_sh_test(tst_nccopy4)
|
||||
add_sh_test(ncdump tst_nccopy4)
|
||||
ENDIF()
|
||||
add_sh_test(ncdump tst_grp_spec)
|
||||
ENDIF()
|
||||
|
Loading…
Reference in New Issue
Block a user