summaryrefslogtreecommitdiffstats
path: root/test/tconfig.c
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r18198] Description:Quincey Koziol2010-01-301-1/+1
| | | | | | | | | Trim trailing whitespace from source code files, with following command: find . \( -name "*.[ch]" -or -name "*.cpp" -or -name "*.f90" \) -print |xargs -n 1 sed -i "" 's/[[:blank:]]*$//' Tested on: None - eyeballed only
* [svn-r18026] On Boeing's OpenVMS, the value of EXIT_FAILURE is 268435458.Raymond Lu2009-12-161-1/+8
| | | | | | | | (The test is in test_exit_definitions.) Their document says it's supposed to be 2. I commented it out for further consideration. Tested on jam - simple change.
* [svn-r17633] Bug 1192:Albert Cheng2009-10-131-0/+30
| | | | | | | Added EXIT_SUCEESS and EXIT_FAILURE macro values test. Tested: h5committested.
* [svn-r16490] Fixed bug #1459 by eliminating the macro long_long and ↵Allen Byrne2009-02-181-1/+1
| | | | | | | | | replacing all instances with long long. Tested: h5comittest fedora 10 x64 XP32, VNET
* [svn-r13253] Updated all C and C++ style source code files with the THG ↵Albert Cheng2007-02-071-2/+3
| | | | | | | | | copyright notice. Tested platform: Kagiso only since it is only a comment block change. If it works in one machine, it should work in all, I hope. Still need to check the parallel build on copper.
* [svn-r11245] Purpose:Quincey Koziol2005-08-131-2/+2
| | | | | | | | | | | | | | | | | | | | Code cleanup Description: Trim trailing whitespace, which is making 'diff'ing the two branches difficult. Solution: Ran this script in each directory: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r11193] Purpose:Albert Cheng2005-08-031-1/+1
| | | | | | fixed typo for uint_fast16_t verification. Tested in Red storm.
* [svn-r11144] Purpose:Quincey Koziol2005-07-231-0/+2
| | | | | | | | | | | New port Description: Elena asked me to check in her NEC SX-6 work, so here it is! :-) Platforms tested: FreeBSD 4.11 (sleipnir) NEC SX-6 (by Elena)
* [svn-r9450] Purpose:Albert Cheng2004-10-221-4/+1
| | | | | | | | | | | | | "Improvement"? Description: Long double is a standard C89 type. Promoted it from a conditional tested type to an assumed supported type. Platforms tested: H5committested. Misc. update:
* [svn-r9427] Purpose:Albert Cheng2004-10-141-1/+7
| | | | | | | | | | | | | | Bug fix. Description: AIX defines different sizes of the signed and unsigned int_fast8_t. Changed the code to check each type individually and do not verify they must be the same size. Platforms tested: Tested in copper only since the change is trivial. Misc. update:
* [svn-r9419] Bug fix.Albert Cheng2004-10-141-40/+57
| | | | | | | | | | | | | | tconfig.c: Verified only the unsigned int types and did not detect inconsistencies on signed type such as int_fast16_t. Changed code to verify both signed and unsigned int types wherever applicable. It also depends on signed and unsigned forms of an int type must be of the same sizes. testhdf5.c: Shorten the configure test name to 'config'--easier to type. Tested on LLNL Frost and Snow. Will test in Copper after commit.
* [svn-r8048] Purpose:Quincey Koziol2004-01-101-4/+1
| | | | | | | | | | | | | Code cleanup & reorganization Description: Move further in the testing framework cleanup, eliminating all the global variables (moving them into testframe.c as static variables) from the testing framework code and moving it into the libh5test.a. Platforms tested: FreeBSD 4.9 (sleipnir) w & w/o thread-safety, c++ & parallel h5committested
* [svn-r7829] Purpose:Quincey Koziol2003-11-081-42/+0
| | | | | | | | | | | | | | | | | Bug fix & code cleanup Description: Allowing the library to call malloc with a size of 0 bytes causes problems for some users, so we check for allocations of 0 bytes and disallow them now. Cleaned up some code which could call malloc with 0 size. Changed some code calling HDmalloc directly to call H5MM_malloc(), which allows us to check for 0 sized allocations. Platforms tested: FreeBSD 4.9 (sleipnir) too minor to require h5committest
* [svn-r6939] Purpose:Quincey Koziol2003-05-311-0/+2
| | | | | | | | | | | Code cleanup Description: Free malloc'ed buffer of 0 bytes when H5_MALLOC_WORKS is defined, to make purify happier. Platforms tested: h5committestted (although Fortran tests failed for some reason)
* [svn-r6538] Purpose:Bill Wendling2003-03-311-11/+13
| | | | | | | | | | | | | Update Description: Updated the Copyright statement Platforms tested: Linux (This change is only in the comments, so I just check that the modules still compile) Misc. update:
* [svn-r5278] Purpose:Albert Cheng2002-04-281-42/+42
| | | | | | | | | | | | | | | | | | | | | Migrate from configure macros of XYZ_ABC to H5_XYZ_ABC Description: configure generates many macros definitions on the fly and were stored in src/H5config.h which is included by H5public.h. But other software that uses hdf5 may also run their own configure. There can be a clash in macro name space. We decided awhile ago to prepend all generated macros with "H5_" to avoid conflicts. The process has started and this commit completes it (at least attempt to). Solution: Many macros symbols (e.g. SIZEOF_xxx and HAVE_xxx were changed to H5_SIZEOF_xxx and H5_HAVE_xxx). Then H5private.h no longer includes H5config.h. This cuts H5config.h away from HDF5 source code. Pending issues: The module of fortran and pablo are to be resolved in a different commit. Platforms tested: eirene (parallel), arabica (solaris 7 --enable-fortran, --enable-cxx)
* [svn-r5200] Purpose:Quincey Koziol2002-04-181-1/+0
| | | | | | | | | | Code Cleanup Description: Clean up compiler warnings from the last bunch of checkins Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r5182] Purpose:Albert Cheng2002-04-141-1/+42
| | | | | | | | Feature Description: Added test to verify H5_MALLOC_WORKS (malloc zero byte) macro Platforms tested: Eirene
* [svn-r4614] Purpose:Quincey Koziol2001-11-201-1/+0
| | | | | | | | Code cleanup Description: Corrected header files needed. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4524] MuQun Yang2001-10-051-7/+1
| | | | | | | | | | | | Purpose: refix tconfig.c Description: Follow Robb's reminder, long_long is used to define __int64 in windows and long long for other platforms at H5private.h. Solution: just change vrfy_ctype(long long....) into vrfy(long_long,.....) in the tconfig.c. Delete the previous macro. Platforms tested: windows 2000, linux
* [svn-r4522] MuQun Yang2001-10-051-0/+6
| | | | | | | | | | | | | Purpose: bug fixed Description: Windows doesn't recognize long long. Instead it uses __int64. So add a macro like #ifdef HAVE____int64 for windows-like platforms. Solution: see above Platforms tested: eirene
* [svn-r4474] Purpose:Albert Cheng2001-09-261-0/+183
New feature. Description: Added a test to verify the correctness of information provided by configure in H5config.h. Some information, such as SIZEOF some types can be hardcoded by config/<machine>. This test verified the information is indeed correct. Currenly, only size of C language types are verified. Platforms tested: Eirene, regular, arabica.