Jeff Squyres
2d802bafab
Convert over the rest of the unit tests to dynamically open components
...
(oops -- didn't realize there were so many that needed it)
This commit was SVN r5223.
2005-04-08 11:21:43 +00:00
Ralph Castain
c52a21e1b3
Fix a couple of minor bugs that were preventing the session directory system from completely cleaning up. Unit test now shows that it will cleanup all session directory levels IF no files are present.
...
This commit was SVN r5210.
2005-04-07 19:19:48 +00:00
Jeff Squyres
2bd8347a7e
Fix compiler warnings
...
This commit was SVN r5189.
2005-04-06 01:46:39 +00:00
Jeff Squyres
5946d303d8
Make this test compile again
...
This commit was SVN r5186.
2005-04-05 20:40:22 +00:00
Jeff Squyres
c36eab4749
32/64 fixes (ensure that our classes really at 64 bit clean -- and
...
they are! Mostly the tests needed to be adjusted to run on 32 and 64
systems)
This commit was SVN r5185.
2005-04-05 20:34:56 +00:00
Jeff Squyres
c19182a0d7
Remove compiler warning
...
This commit was SVN r5184.
2005-04-05 19:54:56 +00:00
Jeff Squyres
066dd5cbac
Fix some minor issues:
...
- (void*) <--> function pointer casting
- missing <string.h>
This commit was SVN r5183.
2005-04-05 19:53:56 +00:00
Jeff Squyres
b5459e9da6
Convert the rest of the GPR tests to use loading DSO's and function
...
pointers instead of direct function invocations.
This commit was SVN r5180.
2005-04-05 18:18:27 +00:00
Jeff Squyres
394be4e6cb
Ensure that the output is printed
...
This commit was SVN r5173.
2005-04-05 02:32:57 +00:00
Jeff Squyres
205ed1d9d9
@#@#$ Accidentally reverse-backed out the patch in this file, causing
...
replicated code. Doh!
This commit was SVN r5171.
2005-04-05 02:12:44 +00:00
Jeff Squyres
1701010301
Back out this patch; it appears to break in at least 64 bit
...
environments. Working on the fix, but don't break everyone's unit
tests while I'm working on it -- will re-commit once ompi_setenv() and
ompi_unsetenv() are fixed.
This commit was SVN r5166.
2005-04-04 22:55:26 +00:00
Jeff Squyres
38b814b0cc
Convert to use portable ompi_setenv() and ompi_unsetenv()
...
This commit was SVN r5164.
2005-04-04 22:17:48 +00:00
Jeff Squyres
69f5aa1117
Add missing <netdb.h>
...
This commit was SVN r5162.
2005-04-04 22:03:18 +00:00
Jeff Squyres
2753522f70
Change the test to properly check uint64_t in ompi_value_array -- it's
...
a better test to check that instead of int's
This commit was SVN r5157.
2005-04-04 17:53:58 +00:00
Brian Barrett
a00db1a1e4
* return the number of tests failed so that make check aborts properly
...
This commit was SVN r5150.
2005-04-04 13:29:03 +00:00
Jeff Squyres
709a3e498e
Convert gpr_internal_fns to use the new support functions and
...
internally call function pointers instead of direct calls
This commit was SVN r5140.
2005-04-01 22:18:24 +00:00
Jeff Squyres
842a4e904e
Add some new support functions to the unit test library -- for
...
opening, examining, and closing components.
This commit was SVN r5139.
2005-04-01 22:13:05 +00:00
Ralph Castain
9cbb698ada
Begin to add unit tests for the API layer on ras and rmaps.
...
Fix a compiler warning on dump.
This commit was SVN r5138.
2005-04-01 20:17:49 +00:00
Ralph Castain
d900d8f137
Plug one memory leak - still have one big one left here.
...
This commit was SVN r5137.
2005-04-01 19:51:47 +00:00
Jeff Squyres
b583c40102
Fix some compile errors, and make the test be skipped if there's no
...
thread support.
This commit was SVN r5136.
2005-04-01 19:50:17 +00:00
Ralph Castain
96508b3cb3
Continue expanding the range of unit tests. Fix a few memory leaks - orterun continues to leak like a sieve, but progress is being made.
...
This commit was SVN r5135.
2005-04-01 18:02:01 +00:00
Jeff Squyres
765250cb50
Fix compiler warnings and type comparisons
...
This commit was SVN r5131.
2005-04-01 13:35:57 +00:00
Ralph Castain
df7ef31b61
Plug a memory leak that crept into the registry.
...
Modify the locking scheme to try and resolve a problem with dump_triggers that only occurs with multiple processes. Didn't resolve the problem, but should be more robust anyway. Still tracking this one down.
This commit was SVN r5114.
2005-03-31 21:32:12 +00:00
Ralph Castain
8686c60223
Fix the subscription system so it correctly deals with triggers at a level (as opposed to comparing two counters). Combined with Brian's latest checkin, this corrects the tendency for orterun to "hang" when one or more processes abnormally terminate.
...
This commit was SVN r5109.
2005-03-31 14:24:36 +00:00
Ralph Castain
e3471e1342
Update the unit test matrix
...
This commit was SVN r5101.
2005-03-30 14:16:02 +00:00
Ralph Castain
35b4fc02e2
Cleanup up some of the util unit tests. Fix a detected problem in orte_os_path for relative path names.
...
This commit was SVN r5096.
2005-03-29 19:58:32 +00:00
Ralph Castain
dfe49d0fd2
Fix a subtle bug in the registry callback system that was manifesting itself in the singleton case and (randomly) in the multiprocess case.
...
Update the unit-test-status matrix to include priority.
Add several new registry diagnostics that helped track down the above bug.
M test/mca/gpr/gpr_triggers.c
M test/Unit-Test-Status.xls
M test/Unit-Test-Status.pdf
M src/mpi/runtime/ompi_mpi_init.c
M src/mca/oob/base/oob_base_xcast.c
M src/mca/ns/base/ns_base_nds_env.c
M src/mca/gpr/replica/api_layer/gpr_replica_dump_api.c
M src/mca/gpr/replica/api_layer/gpr_replica_api.h
M src/mca/gpr/replica/communications/gpr_replica_comm.h
M src/mca/gpr/replica/communications/gpr_replica_remote_msg.c
M src/mca/gpr/replica/communications/gpr_replica_cmd_processor.c
M src/mca/gpr/replica/communications/gpr_replica_dump_cm.c
M src/mca/gpr/replica/gpr_replica_component.c
M src/mca/gpr/replica/gpr_replica.h
M src/mca/gpr/replica/functional_layer/gpr_replica_dump_fn.c
M src/mca/gpr/replica/functional_layer/gpr_replica_fn.h
M src/mca/gpr/replica/functional_layer/gpr_replica_trig_ops_fn.c
M src/mca/gpr/replica/functional_layer/gpr_replica_messaging_fn.c
M src/mca/gpr/replica/functional_layer/gpr_replica_segment_fn.c
M src/mca/gpr/proxy/gpr_proxy_dump.c
M src/mca/gpr/proxy/gpr_proxy.h
M src/mca/gpr/proxy/gpr_proxy_component.c
M src/mca/gpr/gpr_types.h
M src/mca/gpr/base/base.h
M src/mca/gpr/base/unpack_api_response/gpr_base_dump_notify.c
M src/mca/gpr/base/pack_api_cmd/gpr_base_pack_dump.c
M src/mca/gpr/gpr.h
This commit was SVN r5080.
2005-03-28 22:37:54 +00:00
Jeff Squyres
226542f98f
Remove the dummy output file when the test is done
...
This commit was SVN r5053.
2005-03-27 12:47:32 +00:00
Jeff Squyres
450cfb0a8c
Print out warnings about warnings before warnings appear
...
This commit was SVN r5052.
2005-03-27 12:05:41 +00:00
Jeff Squyres
da23029c96
Add non-portable fixes to temporarily allow the gpr test(s) to be
...
built. The issue is that these tests are trying to test specific
components, and is calling the functions directly -- and therefore
needs to have the component linked in. This is fine when the
component is statically linked as part of libmpi, but presents a
problem when the component is a DSO.
GNU compilers/linkers allow us to link in the DSO as part of the test
executable (and everything "just works"), but this is not portable. A
better solution is going to involve:
- a better unit test support library that can load a DSO on demand
- using function pointers in the unit tests (rather than direct
function invocation)
This commit was SVN r5051.
2005-03-27 12:01:51 +00:00
Jeff Squyres
a0fd932487
Add missing <unistd.h>
...
This commit was SVN r5050.
2005-03-27 11:59:23 +00:00
Jeff Squyres
85f211ed4a
Update both to match -- skip the tests if OMPI was compiled without
...
thread support.
This commit was SVN r5049.
2005-03-27 11:55:03 +00:00
Jeff Squyres
fe9601cb51
Skip this test if OMPI was compiled without thread support
...
This commit was SVN r5048.
2005-03-27 11:52:09 +00:00
Jeff Squyres
948d3709c1
Return the result of the test, not 0.
...
This commit was SVN r5047.
2005-03-27 11:36:48 +00:00
Jeff Squyres
c227d77c33
try to ensure that the warning about the warning is printed before the
...
warning
This commit was SVN r5045.
2005-03-27 11:30:53 +00:00
Jeff Squyres
65017ac13c
Add some printf's just so that one can see what is going on with the
...
test. :-)
This commit was SVN r5039.
2005-03-26 13:09:21 +00:00
Jeff Squyres
b24edd6054
Don't finalize before we're finished
...
This commit was SVN r5013.
2005-03-24 20:17:06 +00:00
Jeff Squyres
3f5541349a
Add UC copyright
...
This commit was SVN r5009.
2005-03-24 12:43:37 +00:00
Ralph Castain
d5ca02ae6e
Add columns for responsible person and for stress test.
...
This commit was SVN r5006.
2005-03-23 23:10:39 +00:00
Jeff Squyres
ee6b23f2fb
- removed unused variables
...
- fixed incorrect allocation of slot information (can't take the size
of the fifo until after it has been created!)
This commit was SVN r5001.
2005-03-23 18:46:29 +00:00
Ralph Castain
e2597395e8
Enable the compound command capability to reduce message loads during startup.
...
Add two files (one .xls and one .pdf) that track the status of unit test development. Comments/revisions welcomed.
This commit was SVN r4999.
2005-03-23 17:50:12 +00:00
Jeff Squyres
b27ea0c413
- fix some signed/unsigned comparisons
...
- print out that the test is *supposed* to generate a warning
This commit was SVN r4996.
2005-03-23 13:37:46 +00:00
Ralph Castain
bb33402058
Complete the name service unit tests.
...
This commit was SVN r4994.
2005-03-22 20:48:55 +00:00
Ralph Castain
875da82a6f
Begin cleanup of the name service unit tests. Fix an error in create_cellid.
...
This commit was SVN r4993.
2005-03-22 19:56:45 +00:00
Ralph Castain
7935e05309
Complete checkout/debug of registry unit tests. All checks out okay now, including memory leakage.
...
This commit was SVN r4992.
2005-03-22 18:58:36 +00:00
Ralph Castain
f6bb79ceef
Fix test to properly clear all memory.
...
This commit was SVN r4991.
2005-03-22 18:46:07 +00:00
Ralph Castain
a97d3228b1
Cleanup memory leak in delete_itag. Update unit test to find it.
...
This commit was SVN r4990.
2005-03-22 18:40:12 +00:00
Ralph Castain
abd1048646
Cleanup some of the test areas.
...
Add a memset to if.c so that purify and valgrind stop complaining about uninitialized memory.
This commit was SVN r4988.
2005-03-22 15:37:58 +00:00
Brian Barrett
9b2b3ec078
* Make the sigchld test work again
...
This commit was SVN r4987.
2005-03-22 15:24:45 +00:00
Brian Barrett
897983ea30
* Fix regression in ompi_argv_delete exposed with the unit tests
...
* Update a bunch of the unit tests to either be disabled (someone who
isn't me and knows that code needs to fix them) or to work properly
This commit was SVN r4986.
2005-03-22 14:41:45 +00:00