diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-03-13 15:10:39 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-03-13 15:10:39 +0000 |
commit | 05a17d4a1542f4abf1d71916d453fde1d28729de (patch) | |
tree | e70427973948740514767eb107dd50904a60fc6a /tests | |
parent | a92d59bb42b55a17e5296115c76a1b63eb6b665d (diff) | |
download | ATCD-05a17d4a1542f4abf1d71916d453fde1d28729de.tar.gz |
(main): don't run test_performance on Chorus, because it loses its
lunch on the floating point arithmetic. It can't even printf using a
%f, %e, or %g format specifier. It just prints "f", "e", or "g",
respectively. Maybe something has to be done to configure it for
floating point?
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Handle_Set_Test.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/Handle_Set_Test.cpp b/tests/Handle_Set_Test.cpp index bf92b5c9b3c..f700fa0d2d2 100644 --- a/tests/Handle_Set_Test.cpp +++ b/tests/Handle_Set_Test.cpp @@ -116,6 +116,7 @@ test_boundaries (void) ACE_ASSERT (count == handle_set.num_set ()); } +#if !defined (CHORUS) static void test_performance (size_t max_handles, size_t max_iterations) @@ -159,6 +160,7 @@ test_performance (size_t max_handles, count, (et.real_time / double (count)) * 1000000)); } +#endif /* ! CHORUS */ int main (int argc, char *argv[]) @@ -171,7 +173,14 @@ main (int argc, char *argv[]) test_duplicates (count); test_boundaries (); +#if !defined (CHORUS) + // Chorus loses its lunch on the floating point arithmetic. It + // can't even printf using a %f, %e, or %g format specifier. It + // just prints "f", "e", or "g", respectively. Maybe something has + // to be done to configure it for floating point? Until we figure + // it out, don't bother with the performance test. test_performance (max_handles, max_iterations); +#endif /* ! CHORUS */ ACE_END_TEST; return 0; |