Commit Graph

73 Commits

Author SHA1 Message Date
James Laird
7236935a9d [svn-r11095] Purpose:
Configuration feature

Description:
Serial test output is now stored in log files and printed when all tests
in a directory complete, or when a test fails.  This should make test output
more readable and useful.
Also made changes to clean up ii_files directories that are created by some
C++ compilers/linkers.
Also fixed a few minor Makefile bugs.

Solution:
When serial tests run, their output is saved in *.log or *.logsh.  While
running, tests only print when they begin and when they complete; their
more specific output (from the log file) is printed if the test fails or
when all tests have completed.
Comments welcome.

Platforms tested:
mir, modi4 (parallel and serial), copper, shanti
2005-07-21 14:28:11 -05:00
Pedro Vicente Nunes
d4bf186a18 [svn-r11091] Purpose:
improve documentation by comments
changed the return value of H5DSget_num_scales for a case when there are no scales attached from FAIL (-1) to 0

Description:

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-07-20 14:40:51 -05:00
Quincey Koziol
9b597516c0 [svn-r11042] Purpose:
Bug fix

Description:
    The ".chksh" file for a test script was being created in the "source"
location rather than the build location.  This can cause problems when
multiple builds are running because "slower" machines will see the ".cshsh"
file from faster machines and will not run the test script as they should.

Solution:
    Use 'basename' command to strip off the path of the script and create
the ".chksh" file in the build location.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    h5committest
2005-07-07 15:46:49 -05:00
Albert Cheng
f68a2e6db7 [svn-r11034] Purpose:
bug fix.

Description:
-nt is not a universal option for the test command in all platforms.
The use of it in conclude.am cause some platforms to bark at the
Makefile generated.

Solution:
Created a command script bin/newer which tests if file1 is newer
than file2.  Replace the "test file1 -nt file2" by
"newer file1 file2".

Platforms tested:
Tested in sol.
2005-07-06 23:52:45 -05:00
James Laird
4cf99e9f28 [svn-r11013] Purpose:
Bug fix

Description:
Fixed bugs that caused tests to be unable to find testhdf5.sh during
daily tests, and another that broke sol and shanti.

Solution:
When tests are run, their path is ./$testname .
When scripts are run, their path has no leading "./".  Fixed.
Sol and shanti don't recognize the -e option for test, but they do know
-f.  Fixed.
Also modified release notes.

Platforms tested:
mir, shanti, heping
2005-07-01 16:22:05 -05:00
James Laird
43f091f462 [svn-r11008] Purpose:
Feature: tests now use parallel make and only run once

Description:
When make is invoked in parallel (using the -j option), several tests will
now be run simultaneously.  This should speed up testing on a number of
systems.
When a test passes, it creates a foo.chkexe or foo.chksh file, which prevents
the test from running again unless the test or library changes.

Solution:
Most of the changes live in config/conclude.am.  Added *.chkexe and *.chksh
files to the list of files to be cleaned at "make mostlyclean" time.
Parallel tests still run one at a time, but use the same make instructions
as serial tests.

Platforms tested:
mir, eirene, sleipnir, pommier, copper, modi4 (some errors occurred, probably
due to the test being run before updating hdf5.  Will re-run tests after
checkin.)
2005-06-30 18:35:32 -05:00
Albert Cheng
65107926e1 [svn-r10858] Purpose:
bug fix.

Description:
The check-s and check-p targets are not recursively passes down.
Make them so.

Platforms tested:
heping (serial and pp).
2005-06-04 00:01:12 -05:00
Albert Cheng
a2217d58c8 [svn-r10849] Purpose:
bug fix

Description:
check-s and check-p were set as pre-requistics of test.  They
would get executed in parallel if parallel make is used.  This
could cause problems since serial tests are used to be executed
before parallel tests. It is not known if it is always okay to
run serial and parallel tests in simultantously.

Solution:
Change check-s and check-p as actions of the target test so
that they get executed sequnentially.

Platforms tested:
heping PP.
2005-06-02 18:42:48 -05:00
James Laird
2423bd6cab [svn-r10840] Purpose:
Added check-s and check-p targets.

Description:
Added check-s and check-p targets to 1.7 branch to match changes to 1.6
branch.  Now parallel and serial tests can be run separately.

Platforms tested:
mir, modi4, copper
2005-06-01 20:51:52 -05:00
James Laird
3eff1a1dfb [svn-r10801] Purpose:
Typo correction

Description:
Caught a very minor typo in test output.  Fixed it.

Platforms tested:
None; cosmetic change.
2005-05-25 17:12:09 -05:00
Pedro Vicente Nunes
5b6c08e68e [svn-r10747] Purpose:
bug fix

Description:
the fortran type integer*1 has become not portable.
define the image fortran datatype as "integer" and make special save, read, and palette functions
that use native integer for a memory type and UCHAR as disk type for the image data
added some more tests with new palette definitions

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-05-16 14:08:41 -05:00
Quincey Koziol
bbe03d7361 [svn-r10736] Purpose:
Code cleanup

Description:
    Clean up some compiler warnings

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    h5committest
2005-05-07 14:37:48 -05:00
Elena Pourmal
5279827823 [svn-r10570] Purpose: Maintenance
Description: Removed support for SRB driver

Solution: Removed or modified appropriate files; ran reconfigure
          to regenerate Makefile.in and configure files.

Platforms tested: heping and shanti

Misc. update: ran bin/chkmanifest on heping
2005-04-07 14:41:25 -05:00
Pedro Vicente Nunes
b0f1b2f21c [svn-r10551] Purpose:
fixed some typos and formatting

Description:

Solution:

Platforms tested:
linux

Misc. update:
2005-04-05 15:26:26 -05:00
Quincey Koziol
1104db03b6 [svn-r10542] Purpose:
Code cleanup

Description:
    Clean up more test files

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-04-05 14:10:53 -05:00
James Laird
b296a419c4 [svn-r10534] Purpose:
Configuration feature

Description:
Different Fortran compilers mangle function names in different ways
(upper case, lower case, adding underscores).  To link between
Fortran and C functions, we need to know what a given function's
name is under a given compiler.

Solution:
Use autoconf's FC_WRAPPERS check to determine the Fortran
naming scheme and define the FC_FUNC_ macro to name our
functions (in H5f90proto.h).  Removed references to
our old FNAME macro, as well as flags that indicated whether
function names were upper or lower case.

Platforms tested:
mir, pommier, modi4, copper, more
2005-04-04 16:17:51 -05:00
James Laird
59ec5b3d66 [svn-r10517] Purpose:
Bug fix

Description:
On some machines, $RUNSERIAL variable needs to be used to run
tests.  Set $RUNTESTS (which is used for non-parallel tests) to
be $RUNSERIAL in configure.am.

Also, since I was updating all Makefiles.in anyway, I updated
commence.am to point to autotools installs in AFS instead of
those on heping.

Platforms tested:
mir, sleipnir, modi4, copper
2005-03-31 13:26:17 -05:00
James Laird
14e06e81cb [svn-r10511]
Purpose:
"Bug fix"

Description:
Hardcoded Makefiles to use /bin/sh instead of letting configure
detect shell automatically.  This is what v1.6 does, and avoids
problems on janus.

Platforms tested:
sleipnir, copper, modi4, mir
2005-03-30 16:14:48 -05:00
Pedro Vicente Nunes
7f98ee5db8 [svn-r10507] Purpose:
add a new feature for the test image API, read a palette from an ASCII file and attach several
palettes to an image

Description:

Solution:

Platforms tested:
linux
solaris
AIX
IRIX

Misc. update:
2005-03-29 16:47:53 -05:00
Pedro Vicente Nunes
e39079f058 [svn-r10498] Purpose:
add 1 test that reads realistic dimension scales data from an ASCII file and generates an hdf5 file with DSs

Description:

Solution:

Platforms tested:
linux
solaris
IRIX

Misc. update:
2005-03-29 14:57:23 -05:00
James Laird
7acf3f1b12 [svn-r10475] Purpose:
Feature - conditional compilation

Description:
SRB file driver and tests are now compiled only when SRB is enabled
(using --with-srb during configure).

Solution:
Added an automake conditional in configure.in, altered Makefiles.am in
src and test directories to depend on that conditional.
This should make a nice example for posterity to add conditionally
compiled sources.

Platforms tested:
heping (only configure change)
2005-03-29 12:38:17 -05:00
Pedro Vicente Nunes
0c9906803b [svn-r10468] Purpose:
new tests

Description:
added tests for flot and string datatype scales

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2005-03-28 16:41:12 -05:00
James Laird
9452992c09 [svn-r10459]
Purpose:
Added C++ wrapper for Packet Table API.

Description:
Added macro for high-level C++ library (LIBH5CPP_HL), which changes every
Makefile.in.
Added directories for high-level C++ library (though currently only Packet
Table API is supported).
Added both C++ source and tests.

Platforms tested:
sleipnir, mir, modi4

Misc. update:
2005-03-28 11:32:20 -05:00
Pedro Vicente Nunes
af6d77bfc4 [svn-r10458] Purpose:
added new tests for the image API

Description:

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2005-03-28 10:24:10 -05:00
Pedro Vicente Nunes
20f6e6203a [svn-r10446] Purpose:
new test

Description:
added a test for a scalar scale

Solution:

Platforms tested:
linux
solaris
AIX
IRIX

Misc. update:
2005-03-25 13:31:37 -05:00
Quincey Koziol
b8b574f58e [svn-r10441] Purpose:
Code cleanup

Description:
    Add a few test files to the 'distclean' target.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-03-25 11:27:34 -05:00
Pedro Vicente Nunes
fed2ef094f [svn-r10416] Purpose:
bug fix

Description:
when exiting due to a error condition on the goto out instruction there was an attempt to call
H5Dvlen_reclaim without checking if buf was null

Solution:
checket it

Platforms tested:
linux
solaris
IRIX64
AIX

Misc. update:
2005-03-25 10:07:06 -05:00
Pedro Vicente Nunes
346e37b57b [svn-r10403] Purpose:
new tests
bug fix

Description:
added new tests for iterartors (on many scales, on group, on deleted scales)
fixed a bug on H5DSiterate, an ID of the referenced scale was not being closed on the cycle

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-03-24 11:31:29 -05:00
Pedro Vicente Nunes
b89828d5b9 [svn-r10386] Purpose:
new tests for is scale, detach scales and iterate scales

Description:

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-03-23 12:55:27 -05:00
Pedro Vicente Nunes
98b02fbdcb [svn-r10248] Purpose:
new tests for DS

Description:
add a test that ckecks if a scale being attached itself has scales attached (error)
add a test for the dataset being attached to is a reserved High Level class (image, palette, table)

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-03-21 16:28:13 -05:00
James Laird
349ca8daa9 [svn-r10234] Purpose:
Added Packet Table to high-level APIs

Description:
The Packet Table is an API that allows the user to append records
("packets") to a table, and read the back again.  It supports
fixed-length records with a defined datatype and variable-length
records.  It also supports a "current record" index to track the
user's position in the table.

Solution:
The Packet Table code lives in hl/src, and its tests in hl/test.
Some code is shared between the H5TB table and the H5PT Packet Table
in the form of functions in H5HL_private.c.
Some documentation exists for a previous version of the API.  Updated
documentation and C++ wrapper API coming soon.

Platforms tested:
sleipnir, eirene, copper, modi4
2005-03-18 12:19:36 -05:00
James Laird
25df1908bc [svn-r10158] Purpose:
Automake version upgrade

Description:
Upgraded automake version from 1.6.2 to 1.9.5.
Changed bin/reconfigure script to use automake 1.9.5.
Changed configure.in and Makefiles to use new FCFLAGS and FC variables
instead of FFLAGS and F9X.
Automake and configure should now do the lion's share of the work
supporting Fortran 9X; macros in acsite.m4 are now mostly unused (will
be cleaned later).
Altered how configure handles pmake; now root-level Makefile.in is
processed by bin/reconfigure to have a .MAKEFLAGS target, since
automake no longer allows us to define unused variables.
Configure now always checks for C++ compiler even if it is not
used, since automake thinks this is the Right Thing To Do and
will break otherwise.

Platforms tested:
Sol, copper, heping, mir, sleipnir, eirene, pommier, kelgia, modi4.
2005-03-07 12:57:27 -05:00
Quincey Koziol
afdf7fcfa6 [svn-r10144] Purpose:
Bug fix

Description:
    The GASS VFL driver header file was bringing in the <string.h> header file,
which several other source code modules needed also, but weren't including
explicitly themselves.

Solution:
    Add includes for <string.h> to files which actually need them.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/C++ as CC
    Configuration not tested by h5committest...
2005-03-04 12:01:02 -05:00
Quincey Koziol
6e74389773 [svn-r10143] Purpose:
Bug fix

Description:
    Add missing test file to clean target

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-03-04 11:58:40 -05:00
Albert Cheng
0d514907a9 [svn-r10123] Purpose:
Removed GASS configuration and software packages associated with
it.  The following software are no longer configurable.

checking for main in -lcrypto... yes
checking for SSL_get_version in -lssl... yes
checking globus_common.h usability... yes
checking globus_common.h presence... yes
checking for globus_common.h... yes
checking for globus_module_activate in -lglobus_common... yes
checking for main in -lglobus_gass_cache... yes
checking for main in -lglobus_gaa... yes
checking for main in -lglobus_gss... yes
checking for main in -lglobus_gss_assist... yes
checking for main in -lglobus_io... yes
checking for main in -lglobus_gass_transfer_assist... yes
checking for main in -lglobus_gass_transfer... yes
checking for globus_gass_open in -lglobus_gass_file... yes

Platforms tested:
h5committested (but copper was down.) tested in modi4 too.
2005-03-02 15:02:55 -05:00
Robert E. McGrath
a5b452c417 [svn-r10090] Purpose:
change

Description:
Minor changes to Dimension Scale API, to bring into alignment
with specification.

Solution:

Platforms tested:
verbena,shanti, copper64

Misc. update:
2005-02-25 16:43:03 -05:00
Robert E. McGrath
cffc51b94c [svn-r10086] Purpose:
bug

Description:
bug in test

Solution:
fix bug

Platforms tested:
arabica,shanti

Misc. update:
2005-02-25 13:48:17 -05:00
Pedro Vicente Nunes
7fb30f4faa [svn-r10068] Purpose:
news tests (test several ranks for the datasets and scales )

Description:

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-02-23 15:28:44 -05:00
James Laird
0b83fea125 [svn-r10066] Purpose:
Libtool upgrade

Description:
HDF5 was using libtool 1.4.2.  Upgraded to libtool 1.5.14.

Platforms tested:
verbena, heping, pommier, copper, modi4, arabica
2005-02-23 11:47:00 -05:00
Pedro Vicente Nunes
3a3d518431 [svn-r10065] Purpose:
new definition for H5DSget_label (returns the label size)
more tests

Description:

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-02-22 17:04:46 -05:00
Pedro Vicente Nunes
7ff30cd695 [svn-r10063] Purpose:
changed the function H5DSget_scale_name to return the size of the name buffer
added a test

Description:

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-02-22 12:14:13 -05:00
James Laird
643e9a38bd [svn-r10062] Purpose:
Bug fix

Description:
Discovered two small bugs.
When MAKE is defined as the empty string, a test in configure incorrectly
identifies it as pmake.  Skipped this test if $MAKE is the empty string.
Two .h5 files produced by a test in the hl directory were not cleaned.
Updated the Makefile.am.


Platforms tested:
heping, modi4 (very minor changes)
2005-02-21 16:30:49 -05:00
Pedro Vicente Nunes
f20a793969 [svn-r10059] Purpose:
new features

Description:
added a new function H5DS_is_attached, more tests

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-02-21 14:08:59 -05:00
Pedro Vicente Nunes
5352cb3f53 [svn-r10043] Purpose:
new features/tests

Description:
add a couple more tests for the attach/detach pair of functions together with a verify function for it (used only for test purposes)
avoided addind the same scale twice to a dimension
all seems to be working very well

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-02-18 14:40:12 -05:00
Pedro Vicente Nunes
0d14baf682 [svn-r10037] Purpose:
more error checking tests

Description:

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-02-17 16:21:14 -05:00
Pedro Vicente Nunes
1a2bdd1cf6 [svn-r10032] Purpose:
new tests

Description:
added a new test for detach_scale, some minor changes in the the detach_scale function

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-02-17 12:16:00 -05:00
Xiaowen Wu
065fe7bb71 [svn-r10023] Purpose:
New feature.

Description:
    Add the scaleoffset internal library filter.

Solution:

Platforms tested:
    heping, copper, arabica

Misc. update:
2005-02-16 21:52:21 -05:00
Pedro Vicente Nunes
a68c4c7981 [svn-r10019] Purpose:
new test

Description:
added a test for the iterator function that verifies if the scales meet certain criteria (having the same size as
the dimensions sizes of the dataset and they are not empty datasets)

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-02-16 15:45:38 -05:00
James Laird
8ed95c0011 [svn-r10016]
Purpose:
Bug fix

Description:
modi4 dies during build with strange errors.
The root cause of these is a two-year-old hack in HDF5's libtool
script that only takes effect on IRIX.

Solution:
Edited the libtool hack (by editing ltmain.sh) to correct a bug in
the hack.
Also made sure that compiler-specific DEFAULT_LIBS are used
when linking.

Platforms tested:
sleipnir, copper, modi4, sol
2005-02-16 14:27:27 -05:00
Pedro Vicente Nunes
b625ca2b74 [svn-r10014] Purpose:
new test

Description:
add a test for the get number of scales function

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-02-16 10:34:33 -05:00