diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-11-02 17:04:24 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-11-02 17:04:24 +0000 |
commit | a9ca6b1a015edf31653b2ec7b4da9d6be7cb91fc (patch) | |
tree | 5cd3e265a27a473dfa01d359cb8d5e789efda34f | |
parent | 447446e79ff756b68fa1bfc40359a578982743da (diff) | |
download | ATCD-a9ca6b1a015edf31653b2ec7b4da9d6be7cb91fc.tar.gz |
.
-rw-r--r-- | TAO/performance-tests/Cubit/TAO/IDL_Cubit/collocation_test.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/collocation_test.cpp b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/collocation_test.cpp index 037e6e07405..53a60535f0b 100644 --- a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/collocation_test.cpp +++ b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/collocation_test.cpp @@ -50,8 +50,14 @@ main (int argc, char **argv) { int test_collocation = 0; - if (ACE_OS::strcasecmp (argv[0], "collocation_test") == 0) - test_collocation = 1; + if (ACE_OS::strstr (argv[0], "noncollocation_test") == 0) + // Check if we are running the test with collocation optimization enabled. + { + test_collocation = 1; + ACE_DEBUG ((LM_DEBUG, "Using collocation optimization\n")); + } + else + ACE_DEBUG ((LM_DEBUG, "Not using collocation optimization\n")); Cubit_Client cubit_client (test_collocation); // We want to test collocation, so create |