Commit Graph

4465 Commits

Author SHA1 Message Date
Ward Fisher
e07a966575
Merge pull request #715 from Unidata/par-cmake.wif
parallelize cmake tests similar to work done with autotools tests
2017-12-06 11:17:41 -07:00
Ward Fisher
6da64fedca Merge branch 'master' into par-cmake.wif 2017-12-05 12:18:04 -07:00
Ward Fisher
c42bbd0ea2 Removed old file, updated travis file to allow for tests to run in parallel. 2017-12-05 12:17:40 -07:00
Ward Fisher
adaaf92f95 Merge branch 'master' into gh712 2017-12-04 15:36:21 -06:00
Ward Fisher
543341eb0f Updated for static versions of hdf5 as well. 2017-12-04 13:53:47 -06:00
Ward Fisher
6b828cbae0 Corrected for string reported by FindHDF5.cmake on Windows. 2017-12-04 13:50:43 -06:00
Ward Fisher
1b4ab683b5 Added mmap to tests that run serially 2017-12-01 15:23:26 -07:00
Ward Fisher
6166f86bfc Flagged tst_nccopy4 to not run parallel when using cmake. 2017-12-01 15:19:42 -07:00
Ward Fisher
72052689c6 More reshuffling. 2017-12-01 15:04:13 -07:00
Ward Fisher
d095101a95 Corrected a typo. 2017-12-01 14:39:48 -07:00
Ward Fisher
b029b36aa3 Rearranging deck chairs. 2017-12-01 14:36:57 -07:00
Ward Fisher
07228d0010 Addressing more test dependencies. 2017-12-01 14:27:26 -07:00
Ward Fisher
b047e64d60 Adding more test dependencies for cmake. 2017-12-01 14:16:21 -07:00
Ward Fisher
cc2189293d Merging create_sample_files script into do_comps.sh, as cmake dependencies between scripts is proving a bit problematic. 2017-12-01 14:02:18 -07:00
Ward Fisher
4837b1382f Fixing for cmake parallel tests. 2017-12-01 14:01:07 -07:00
Ward Fisher
7e084c2aa6 Restored blocklist for travis, added another suffix. 2017-12-01 13:42:50 -07:00
Ward Fisher
ec473bcc72 Merge branch 'ejh_gh680_large' 2017-11-29 15:27:04 -07:00
Ward Fisher
f69e031ef7
Merge pull request #680 from NetCDF-World-Domination-Council/ejh_ncfunc_testing
improve parallel builds, fixed SEGFAULT for NULL parameter for nc_inq_format(), added testing, documentation
2017-11-29 15:26:38 -07:00
Ward Fisher
00a5ca9347 Fixed an issue when building binary tests that are invoked indirectly, with visual studio. 2017-11-29 13:17:57 -06:00
Ed Hartnett
3c5404ccf7
Merge branch 'master' into ejh_ncfunc_testing 2017-11-28 00:04:38 +00:00
Ward Fisher
f480dfd03a
Merge pull request #691 from nehaljwani/vc9
Code changes to make libnetcdf compile with vs2008
2017-11-27 16:42:37 -07:00
Ward Fisher
7796ecb196
Merge branch 'master' into vc9 2017-11-27 15:03:02 -07:00
Ward Fisher
9ba4ab6c2d
Merge pull request #683 from Unidata/strlcat1.dmh
Begin changing over to use strlcat instead of strncat
2017-11-27 15:01:02 -07:00
Ward Fisher
2bdc8a7855 Temporarily removed a test for Windows. 2017-11-27 11:58:27 -06:00
Ward Fisher
47f6a5589d
Merge branch 'master' into strlcat1.dmh 2017-11-27 10:32:24 -07:00
Ed Hartnett
ce97137318 removed properties from tst_interops3 which is no longer a test in CMake build 2017-11-26 09:07:34 -07:00
Ed Hartnett
922734b88f removed mention of deleted tst_h_rd_cmp.c from h5_test CMake build 2017-11-26 09:01:54 -07:00
Ed Hartnett
f33897e248 fixed some warnings, added some files to makefile.am to be cleaned 2017-11-26 08:50:16 -07:00
Ed Hartnett
0157c5660c readded some cleanfiles to ncdump makefile 2017-11-26 07:15:17 -07:00
Ed Hartnett
6ebe58998f clean up 2017-11-26 07:13:10 -07:00
Ed Hartnett
bebe7e1e9d merged master 2017-11-26 07:06:02 -07:00
Ed Hartnett
f779345b23 eliminating test dependencies in ncdap_test 2017-11-26 07:00:17 -07:00
Nehal J Wani
1b91bd89d4
Fix build on pre-C99 compilers
- Make sure that the variables are declared at the top of the block.
 - Add fix to enable inline for various compilers
2017-11-26 01:47:54 +05:30
Nehal J Wani
2b72835c55
Add workaround for sscanf('NaN') 2017-11-26 01:47:50 +05:30
Nehal J Wani
f5e650a669
Use refactored variable names introduced by 773fe807 2017-11-26 01:47:46 +05:30
Ward Fisher
5163189f0c Merge branch 'cmake-parallel-testing' 2017-11-25 11:57:01 -07:00
Ed Hartnett
579bfcb766 removed tst_ctest.sh from cmake build 2017-11-25 07:42:11 -07:00
Ed Hartnett
38b53c08ff cleaned up comments 2017-11-25 07:30:17 -07:00
Ed Hartnett
8d9e7b366d removed many dependencies in ncdump testing 2017-11-25 07:28:07 -07:00
Ed Hartnett
6fdbbf480d removed redundant check 2017-11-25 05:23:45 -07:00
Ed Hartnett
c8605e07c6 removing dependencies between tests 2017-11-25 05:19:11 -07:00
Ed Hartnett
fa690cd0d8 eliminated dependencies 2017-11-25 05:18:04 -07:00
Ed Hartnett
e064855a10 removed ncdump test dependencies for tst_netcdf4.sh 2017-11-25 04:31:58 -07:00
Ed Hartnett
a208cc028c changed ncdump C test to build but not run (again) under CMake build 2017-11-25 02:57:13 -07:00
Ed Hartnett
8011fab382 now run tst_large2, also cleaned up some more warnings 2017-11-24 10:50:07 -07:00
Ed Hartnett
8e47b9bbc2 merged ejh_more_warnings 2017-11-24 10:14:57 -07:00
Ed Hartnett
273b1d5bf9 merged ejh_check_test 2017-11-24 10:12:54 -07:00
Ed Hartnett
69f2089723 cleaned up err_macros.h 2017-11-24 10:03:01 -07:00
Ed Hartnett
fa7f17a8c8 got cmake working with HDF4 format test 2017-11-24 06:05:55 -07:00
Dennis Heimbigner
4db4393e69 Begin changing over to use strlcat instead of strncat because
strlcat provides better protection against buffer overflows.

Code is taken from the FreeBSD project source code. Specifically:
https://github.com/freebsd/freebsd/blob/master/lib/libc/string/strlcat.c
License appears to be acceptable, but needs to be checked by e.g. Debian.

Step 1:
1. Add to netcdf-c/include/ncconfigure.h to use our version
   if not already available as determined by HAVE_STRLCAT in config.h.
2. Add the strlcat code to libdispatch/dstring.c
3. Turns out that strlcat was already defined in several places.
   So remove it from:
	ncgen3/genlib.c
	ncdump/dumplib.c
3. Define strlcat extern definition in ncconfigure.h.
4. Modify following directories to use strlcat:
	libdap2 libdap4 ncdap_test dap4_test
   Will do others in subsequent steps.
2017-11-23 10:55:24 -07:00