summaryrefslogtreecommitdiffstats
path: root/testpar
Commit message (Collapse)AuthorAgeFilesLines
...
* Basic alignment with async branch (#115)Quincey Koziol2020-11-236-28/+18
| | | | | | | * Basic alignment with async branch - trivial changes to reduce clutter in overall diff. * Update minor error code to reflect change within library * Update the error output to match library
* Fix non-collective metadata read in t_mdset with collective metadata reads ↵Jordan Henderson2020-11-111-8/+4
| | | | enabled
* Clang-format of source filesAllen Byrne2020-09-3028-17124/+15066
|
* Merge pull request #2650 in HDFFV/hdf5 from ↵David Young2020-09-286-79/+99
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ~DYOUNG/werror:rebased-fprintf-experiment to develop * commit 'c0fbc5c086566d5d3c1d1ef26baa81a53d59fc08': (24 commits) Use the right format string, "%zu", for size_t. Repair more format strings. Fix a bunch of format string errors reported by Larry. Fix some HDfprintf compilation errors: use the right format strings ("zu", PRIuHSIZE), avoid casting some printf arguments, pass the right number of arguments. Test the format string "ll" before "l", "L", and "q", like the ./configure script does. This ought to fix the compilation failure in test/dt_arith.c that Allen told me about: Cast a non-void pointer to void pointer for "%p". Use PRIu32 and "zu" formats. Delete some casts from `size_t`. I'm taking a guess that this code intended to point the 2-digit wide hexadecimal octet values, not 2 character-wide pointers to the bytes. The %02p format, which is a GNU-ism, disagreed with GCC 8.3.0 and the option flags we use. %08p is not portable, it's a GNU-ism. Use %8p, instead. Squashes a GCC error. Add format string macros PRI[doxX]HID for hid_t and use PRIdHID. Use HDva_copy() and introduce a bunch of compatbility format-string constants for uppercase hexadecimal strings, `PRIX...`. Should fix the VS2010 errors that Allen mentioned: Always #define HDfprintf as fprintf in this header. I believe this will fix the Windows build error that Allen reported. Provide an HDvasprintf implementation only if it isn't #defined. This should fix the mingw compilation issue that Allen reported. Fix va_list usage in the vasprintf(3) implementation. Promote format-string warnings to errors. Use the portable `-eq` operator instead of the bash-ism `==`. Fixes the tests on NetBSD, where /bin/sh != bash. Restore a literal percent sign ("%%") that I accidentally deleted. Fix code that made GCC complain about a NULL or `unsigned char *` arguments for "%s". Take pains to provide UINT64_MAX in all conditions. Correct a couple of format strings. ...
| * Merge remote-tracking branch 'hdffv/develop' into rebased-fprintf-experimentDavid Young2020-09-272-4/+19
| |\
| * | Repair more format strings.David Young2020-09-262-28/+28
| | |
| * | Fix a bunch of format string errors reported by Larry.David Young2020-09-252-32/+38
| | |
| * | Fix some HDfprintf compilation errors: use the right format stringsDavid Young2020-09-243-20/+34
| | | | | | | | | | | | | | | ("zu", PRIuHSIZE), avoid casting some printf arguments, pass the right number of arguments.
* | | OESS-98 merge with clang-format changesAllen Byrne2020-09-251-2/+2
| |/ |/|
* | File changes to affect formattingAllen Byrne2020-09-041-2/+3
| |
* | CMake and script changes for clang-formatAllen Byrne2020-09-041-2/+16
|/
* Trim trailing whitespaceQuincey Koziol2020-04-2013-72/+72
|
* Fix memory leak in t_span_tree.c testJordan Henderson2020-04-091-0/+6
|
* TRILAB-192 add c++ and fortran warnings build systems one fileAllen Byrne2020-04-051-0/+2
|
* Merge pull request #2424 in HDFFV/hdf5 from ~DYOUNG/hdf5:passed-do-while to ↵David Young2020-03-054-5/+5
|\ | | | | | | | | | | | | | | develop * commit 'b53eb6fb29e556c482ce20fa7a21485c99beea74': Add semicolons to more PASSED() invocations. So that I can use PASSED(); anywhere a statement can go, #define PASSED() with a do-while wrapper.
| * Add semicolons to more PASSED() invocations.David Young2020-02-284-5/+5
| |
* | revert type castkmu2020-02-281-2/+2
|/
* TRILAB-142 Change minimum CMake version to 3.12Allen Byrne2020-02-211-1/+1
|
* testpar/t_2Gio.c: Fix a typo that I think was introduced by aDavid Young2020-01-293-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | previous warnings PR. An array element was assigned to itself---shape[2]Â =Â shape[2];---instead of being assigned to chunk[2]. fortran/src/H5Pf.c: move conditional compilation controlled by H5_NO_DEPRECATED_SYMBOLS outside of a function for readability. fortran/src/H5match_types.c: put a variable's declaration under the same conditional compilation (H5_FORTRAN_HAVE_C_LONG_DOUBLE) as its use. For now, skip compilation of some unused debug dump routines in the JNI. While I'm in the JNI, delete a set-but-unused variable. src/H5Z.c: condition a variable declaration on H5_NO_DEPRECATED_SYMBOLS so that it's not declared but unused or vice versa. test/cache_common.h: add an #include in to get some symbols we need to avoid implicit declaration warnings. test/dsets.c: use a more conventional conditional-compilation syntax. test/dt_arith.c, test/fillval.c: initialize a bunch of uninitialized variables before use. test/vfd.c: pass the expected type of `void **` to posix_memalign(3) instead of `int **`. testpar/t_bigio.c: explicitly compare with 0 instead of using ! when "equal to 0?" is the question not "is false?" Repair some indentation while I'm here. testpar/testpar.h: repair misaligned line-continuation backslashes in a macro that probably should be a function so that we don't have to fiddle with the line continuation to begin with. tools/src/h5repack/h5repack_main.c: fix some compiler fussing about enums. tools/test/perform/pio_engine.c: the compiler fusses if you cast a function call returning double directly to off_t. It's ok if you cast a variable that's a double to off_t, however. Write and use a new function, sqrto(), to avoid the cast warnings.
* Merge pull request #2311 in HDFFV/hdf5 from ~KMU/hdf5:misc to developKimmy Mu2020-01-288-300/+317
|\ | | | | | | | | | | | | | | | | * commit '406330addf45529ecdd088f4d22e9aab9a03661d': rename macro change condition pick up from Dave's fix leave Wswitch-default for later fix fix Wredundant-decls, Wswitch-default, Wdeclaration-after-statement, Wsign-compare, Wmisleading-indentation, Wshadow
| * rename macrokmu2020-01-281-2/+2
| |
| * pick up from Dave's fixkmu2020-01-272-241/+244
| |
| * leave Wswitch-default for later fixkmu2020-01-272-37/+13
| |
| * fix Wredundant-decls, Wswitch-default, Wdeclaration-after-statement, ↵kmu2020-01-278-68/+106
| | | | | | | | Wsign-compare, Wmisleading-indentation, Wshadow
* | fix issues from test failkmu2020-01-281-12/+15
| |
* | Restore fix of test assert fail eror undone by later commit.Larry Knox2020-01-271-1/+1
| |
* | fix assert failkmu2020-01-241-1/+1
| |
* | Merge pull request #2296 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop_minor ↵Dana Robinson2020-01-231-2/+2
|\ \ | |/ |/| | | | | | | | | | | | | to develop * commit '6486e06545bf637d46e18a787395542f4fca143a': Revert "Moved -Wunsuffixed-float-constants to the developer warnings." Moved -Wunsuffixed-float-constants to the developer warnings. Fixed a bug in testpar/t_cache.c concerning checking expected vs. actual cache entry reads and writes.
| * Merge branch 'develop' into develop_minorDana Robinson2020-01-2310-49/+34
| |\
| * | Fixed a bug in testpar/t_cache.c concerning checking expectedDana Robinson2020-01-221-2/+2
| | | | | | | | | | | | vs. actual cache entry reads and writes.
* | | squash cast warning fixkmu2020-01-2315-365/+368
| |/ |/|
* | merge and fix conflictkmu2020-01-2312-53/+40
|\ \
| * \ Merge pull request #2295 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/float to developKimmy Mu2020-01-231-4/+5
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | * commit '9afaf94bef740f89958a1a8aae369d5f607845f4': not use hdf5 private header fix float type cmp warning fix float type cmp warning
| | * | fix float type cmp warningkmu2020-01-221-4/+5
| | |/
| * | Merge pull request #2292 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/prototype to ↵Kimmy Mu2020-01-231-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | develop * commit '9f80ffa1f1908975b3100814b2529bf779521e13': fix missing prototype warning
| | * | fix missing prototype warningkmu2020-01-211-1/+1
| | | |
| * | | merge and fix conflictkmu2020-01-193-5/+5
| |\ \ \ | | | |/ | | |/|
| | * | HDFFV-11001 Add fine control over testingAllen Byrne2020-01-151-1/+3
| | | |
| * | | merge and fix conflictskmu2020-01-145-7/+4988
| |\ \ \ | | |/ /
| | * | Merge pull request #2244 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/intel_warnings ↵Kimmy Mu2020-01-091-2/+2
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to develop * commit '6b1b4b3c0bdd803835efe8c531965bb9900a5363': fix test assert fail error
| | | * | fix test assert fail errorkmu2020-01-091-2/+2
| | | | |
| | * | | Merge pull request #2071 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/intel_warnings ↵Kimmy Mu2020-01-062-6/+6
| | |\ \ \ | | | |/ / | | | | / | | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to develop * commit '0a2bb11b248df6841daabca3970df5d8504adfc7': address problems from comments fix and address comments change according to previous comments add missing piece remove unnecessary check macro fix intel compile warnings Revert "fix warnings from Intel compiler" Revert "fix warnings and some text alignment" Revert "let hdf5 pick up the right compiler in Intel environment" Revert "fix issues from previous PR comments" Revert "using a different MACRO" using a different MACRO fix issues from previous PR comments let hdf5 pick up the right compiler in Intel environment fix warnings and some text alignment fix warnings from Intel compiler
| | | * fix intel compile warningskmu2019-12-042-6/+6
| | | |
| * | | change it backkmu2020-01-131-2/+1
| | | |
| * | | fix unused related warningskmu2020-01-134-15/+15
| | | |
| * | | more fix and address commentskmu2019-12-092-16/+4
| | | |
| * | | remove unsed var,function,macro, etckmu2019-12-067-10/+9
| | |/ | |/|
| * | Revert "fix warnings from Intel compiler"kmu2019-11-262-6/+6
| | | | | | | | | | | | This reverts commit 8b9338ab57eec0cc8fa5a36c44d7b28e52e9a466.
| * | Revert "fix issues from previous PR comments"kmu2019-11-261-5/+5
| | | | | | | | | | | | This reverts commit d242a900f420b040e364f6c0976c01593e955db3.
| * | Revert "using a different MACRO"kmu2019-11-261-5/+5
| | | | | | | | | | | | This reverts commit fc61b7a9f3a38331809ebcb6247482943947cdb8.