diff options
author | Matthew Newhook <matthew@zeroc.com> | 2008-02-14 17:58:48 +0800 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2008-02-14 17:58:48 +0800 |
commit | bea45989ce3dbca633e653da69747cdec12935f1 (patch) | |
tree | 1cffa6ea5027f07590a30def0629080bb816ba10 /cpp | |
parent | bug 2680 - change base class to System.Exception in SL (diff) | |
download | ice-bea45989ce3dbca633e653da69747cdec12935f1.tar.bz2 ice-bea45989ce3dbca633e653da69747cdec12935f1.tar.xz ice-bea45989ce3dbca633e653da69747cdec12935f1.zip |
bug 2615
Diffstat (limited to 'cpp')
60 files changed, 68 insertions, 3 deletions
diff --git a/cpp/allTests.py b/cpp/allTests.py index fb8a2723ce7..c8afb08143d 100755 --- a/cpp/allTests.py +++ b/cpp/allTests.py @@ -20,7 +20,6 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil - # # List of all basic tests. # diff --git a/cpp/test/Freeze/complex/run.py b/cpp/test/Freeze/complex/run.py index 8fa474a2a7a..19395e6cc75 100755 --- a/cpp/test/Freeze/complex/run.py +++ b/cpp/test/Freeze/complex/run.py @@ -18,7 +18,8 @@ else: raise "can't find toplevel directory!" sys.path.append(os.path.join(toplevel, "config")) -import TestUtil +import TestUtil +TestUtil.processCmdLine() testdir = os.path.dirname(os.path.abspath(__file__)) diff --git a/cpp/test/Freeze/dbmap/run.py b/cpp/test/Freeze/dbmap/run.py index 87f2961e254..294171da26c 100755 --- a/cpp/test/Freeze/dbmap/run.py +++ b/cpp/test/Freeze/dbmap/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() testdir = os.path.dirname(os.path.abspath(__file__)) diff --git a/cpp/test/Freeze/evictor/run.py b/cpp/test/Freeze/evictor/run.py index f47ebccee03..9f1f6bf50f4 100755 --- a/cpp/test/Freeze/evictor/run.py +++ b/cpp/test/Freeze/evictor/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("Freeze", "evictor") testdir = os.path.dirname(os.path.abspath(__file__)) diff --git a/cpp/test/Freeze/oldevictor/run.py b/cpp/test/Freeze/oldevictor/run.py index 1b26f8ccc1e..64ef39f758a 100755 --- a/cpp/test/Freeze/oldevictor/run.py +++ b/cpp/test/Freeze/oldevictor/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("Freeze", "oldevictor") testdir = os.path.dirname(os.path.abspath(__file__)) diff --git a/cpp/test/FreezeScript/dbmap/run.py b/cpp/test/FreezeScript/dbmap/run.py index daa7da82709..bba63dcc45e 100755 --- a/cpp/test/FreezeScript/dbmap/run.py +++ b/cpp/test/FreezeScript/dbmap/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() directory = os.path.dirname(os.path.abspath(__file__)) transformdb = os.path.join(toplevel, "cpp", "bin", "transformdb") diff --git a/cpp/test/FreezeScript/evictor/run.py b/cpp/test/FreezeScript/evictor/run.py index 5d4fe72d273..eac5e2a36e9 100755 --- a/cpp/test/FreezeScript/evictor/run.py +++ b/cpp/test/FreezeScript/evictor/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() directory = os.path.dirname(os.path.abspath(__file__)) transformdb = os.path.join(toplevel, "cpp", "bin", "transformdb") diff --git a/cpp/test/Glacier2/attack/run.py b/cpp/test/Glacier2/attack/run.py index 93aedcc71bc..2f8f5650054 100755 --- a/cpp/test/Glacier2/attack/run.py +++ b/cpp/test/Glacier2/attack/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() router = os.path.join(TestUtil.getBinDir(__file__), "glacier2router") diff --git a/cpp/test/Glacier2/dynamicFiltering/run.py b/cpp/test/Glacier2/dynamicFiltering/run.py index 3121484d7f5..0ab8401a702 100755 --- a/cpp/test/Glacier2/dynamicFiltering/run.py +++ b/cpp/test/Glacier2/dynamicFiltering/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() testdir = os.path.dirname(os.path.abspath(__file__)) diff --git a/cpp/test/Glacier2/router/run.py b/cpp/test/Glacier2/router/run.py index 3069d0b6cbf..bcddfc5a9c8 100755 --- a/cpp/test/Glacier2/router/run.py +++ b/cpp/test/Glacier2/router/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() router = os.path.join(TestUtil.getBinDir(__file__), "glacier2router") diff --git a/cpp/test/Glacier2/sessionControl/run.py b/cpp/test/Glacier2/sessionControl/run.py index c8aaf3670bd..048eba6a562 100755 --- a/cpp/test/Glacier2/sessionControl/run.py +++ b/cpp/test/Glacier2/sessionControl/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("Glacier2", "sessionControl") testdir = os.path.dirname(os.path.abspath(__file__)) diff --git a/cpp/test/Glacier2/ssl/run.py b/cpp/test/Glacier2/ssl/run.py index 2333b7445b0..f0febbd9ec3 100755 --- a/cpp/test/Glacier2/ssl/run.py +++ b/cpp/test/Glacier2/ssl/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("Glacier2", "ssl") diff --git a/cpp/test/Glacier2/staticFiltering/run.py b/cpp/test/Glacier2/staticFiltering/run.py index c91c2906c45..36f4772a1bf 100755 --- a/cpp/test/Glacier2/staticFiltering/run.py +++ b/cpp/test/Glacier2/staticFiltering/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() hostname = socket.gethostname() fqdn = socket.getfqdn() diff --git a/cpp/test/Ice/adapterDeactivation/run.py b/cpp/test/Ice/adapterDeactivation/run.py index 6a844bd1e05..789ff1b7f41 100755 --- a/cpp/test/Ice/adapterDeactivation/run.py +++ b/cpp/test/Ice/adapterDeactivation/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("Ice", "adapterDeactivation") diff --git a/cpp/test/Ice/background/run.py b/cpp/test/Ice/background/run.py index 1f1d365cadc..ffa6acdbc2b 100755 --- a/cpp/test/Ice/background/run.py +++ b/cpp/test/Ice/background/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("Ice", "background") testdir = os.path.dirname(os.path.abspath(__file__)) diff --git a/cpp/test/Ice/binding/run.py b/cpp/test/Ice/binding/run.py index 4740b351018..02f04424efa 100755 --- a/cpp/test/Ice/binding/run.py +++ b/cpp/test/Ice/binding/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("Ice", "binding") diff --git a/cpp/test/Ice/checksum/run.py b/cpp/test/Ice/checksum/run.py index 1cca9d69d43..97845fd0f6d 100755 --- a/cpp/test/Ice/checksum/run.py +++ b/cpp/test/Ice/checksum/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("Ice", "checksum") diff --git a/cpp/test/Ice/custom/run.py b/cpp/test/Ice/custom/run.py index ecc72eecef7..e3615b0dd26 100755 --- a/cpp/test/Ice/custom/run.py +++ b/cpp/test/Ice/custom/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("Ice", "custom") diff --git a/cpp/test/Ice/exceptions/run.py b/cpp/test/Ice/exceptions/run.py index ce9ce8c6580..1fe8ff8f01d 100755 --- a/cpp/test/Ice/exceptions/run.py +++ b/cpp/test/Ice/exceptions/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("Ice", "exceptions") diff --git a/cpp/test/Ice/facets/run.py b/cpp/test/Ice/facets/run.py index 6819bee9a27..b3afa6aeb5f 100755 --- a/cpp/test/Ice/facets/run.py +++ b/cpp/test/Ice/facets/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("Ice", "facets") diff --git a/cpp/test/Ice/faultTolerance/run.py b/cpp/test/Ice/faultTolerance/run.py index 4609ee06f1b..0e091b083ec 100755 --- a/cpp/test/Ice/faultTolerance/run.py +++ b/cpp/test/Ice/faultTolerance/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("Ice", "faultTolerance") diff --git a/cpp/test/Ice/gc/run.py b/cpp/test/Ice/gc/run.py index e67d0c7ae99..011684a5e3b 100755 --- a/cpp/test/Ice/gc/run.py +++ b/cpp/test/Ice/gc/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("Ice", "gc") testdir = os.path.dirname(os.path.abspath(__file__)) diff --git a/cpp/test/Ice/hold/run.py b/cpp/test/Ice/hold/run.py index 6fe4eba0621..e67fb9482ac 100755 --- a/cpp/test/Ice/hold/run.py +++ b/cpp/test/Ice/hold/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("Ice", "hold") diff --git a/cpp/test/Ice/inheritance/run.py b/cpp/test/Ice/inheritance/run.py index 4891102c8f9..7ecff0e5ae5 100755 --- a/cpp/test/Ice/inheritance/run.py +++ b/cpp/test/Ice/inheritance/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("Ice", "inheritance") diff --git a/cpp/test/Ice/interceptor/run.py b/cpp/test/Ice/interceptor/run.py index 6014850b376..579120a0d0c 100755 --- a/cpp/test/Ice/interceptor/run.py +++ b/cpp/test/Ice/interceptor/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() testdir = os.path.dirname(os.path.abspath(__file__)) diff --git a/cpp/test/Ice/location/run.py b/cpp/test/Ice/location/run.py index be23e30ec16..177ebe2fb41 100755 --- a/cpp/test/Ice/location/run.py +++ b/cpp/test/Ice/location/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("Ice", "location") diff --git a/cpp/test/Ice/objects/run.py b/cpp/test/Ice/objects/run.py index 6540f10fb9f..81b178ba4f4 100755 --- a/cpp/test/Ice/objects/run.py +++ b/cpp/test/Ice/objects/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("Ice", "objects") diff --git a/cpp/test/Ice/operations/run.py b/cpp/test/Ice/operations/run.py index 79e05add351..04d358c2981 100755 --- a/cpp/test/Ice/operations/run.py +++ b/cpp/test/Ice/operations/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("Ice", "operations") diff --git a/cpp/test/Ice/proxy/run.py b/cpp/test/Ice/proxy/run.py index 2fb4c95a37d..f991276d917 100755 --- a/cpp/test/Ice/proxy/run.py +++ b/cpp/test/Ice/proxy/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("Ice", "proxy") diff --git a/cpp/test/Ice/retry/run.py b/cpp/test/Ice/retry/run.py index 1872e2f2a0e..f0bc8d57120 100755 --- a/cpp/test/Ice/retry/run.py +++ b/cpp/test/Ice/retry/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("Ice", "retry") diff --git a/cpp/test/Ice/servantLocator/run.py b/cpp/test/Ice/servantLocator/run.py index 0998bc7e6fd..527b3b391e9 100755 --- a/cpp/test/Ice/servantLocator/run.py +++ b/cpp/test/Ice/servantLocator/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("Ice", "servantLocator") diff --git a/cpp/test/Ice/slicing/exceptions/run.py b/cpp/test/Ice/slicing/exceptions/run.py index 2bf539d286b..e5effa1c47e 100755 --- a/cpp/test/Ice/slicing/exceptions/run.py +++ b/cpp/test/Ice/slicing/exceptions/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("Ice", "slicing", "exceptions") diff --git a/cpp/test/Ice/slicing/objects/run.py b/cpp/test/Ice/slicing/objects/run.py index 376ba0dacaf..11ef0384e8f 100755 --- a/cpp/test/Ice/slicing/objects/run.py +++ b/cpp/test/Ice/slicing/objects/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("Ice", "slicing", "objects") diff --git a/cpp/test/Ice/stream/run.py b/cpp/test/Ice/stream/run.py index 94144947408..a8d95e0d012 100755 --- a/cpp/test/Ice/stream/run.py +++ b/cpp/test/Ice/stream/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() client = os.path.join(os.path.dirname(os.path.abspath(__file__)), "client") diff --git a/cpp/test/Ice/stringConverter/run.py b/cpp/test/Ice/stringConverter/run.py index 1bb518aa9fc..1e05abd1220 100755 --- a/cpp/test/Ice/stringConverter/run.py +++ b/cpp/test/Ice/stringConverter/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() testdir = os.path.dirname(os.path.abspath(__file__)) diff --git a/cpp/test/Ice/threads/run.py b/cpp/test/Ice/threads/run.py index b86ec511481..bbd15920d76 100755 --- a/cpp/test/Ice/threads/run.py +++ b/cpp/test/Ice/threads/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("Ice", "threads") diff --git a/cpp/test/Ice/timeout/run.py b/cpp/test/Ice/timeout/run.py index dde06549964..f04e73b903a 100755 --- a/cpp/test/Ice/timeout/run.py +++ b/cpp/test/Ice/timeout/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("Ice", "timeout") diff --git a/cpp/test/IceBox/configuration/run.py b/cpp/test/IceBox/configuration/run.py index 5cccb599ce0..2b8faa2881a 100755 --- a/cpp/test/IceBox/configuration/run.py +++ b/cpp/test/IceBox/configuration/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() import IceGridAdmin name = os.path.join("IceBox", "configuration") diff --git a/cpp/test/IceGrid/activation/run.py b/cpp/test/IceGrid/activation/run.py index 49518d05260..5f665f74b93 100755 --- a/cpp/test/IceGrid/activation/run.py +++ b/cpp/test/IceGrid/activation/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() import IceGridAdmin name = os.path.join("IceGrid", "activation") diff --git a/cpp/test/IceGrid/allocation/run.py b/cpp/test/IceGrid/allocation/run.py index c236cc70599..36e87f4808f 100755 --- a/cpp/test/IceGrid/allocation/run.py +++ b/cpp/test/IceGrid/allocation/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() import IceGridAdmin name = os.path.join("IceGrid", "allocation") diff --git a/cpp/test/IceGrid/deployer/run.py b/cpp/test/IceGrid/deployer/run.py index c153fc069fd..62d8f8d6523 100755 --- a/cpp/test/IceGrid/deployer/run.py +++ b/cpp/test/IceGrid/deployer/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() import IceGridAdmin name = os.path.join("IceGrid", "deployer") diff --git a/cpp/test/IceGrid/distribution/run.py b/cpp/test/IceGrid/distribution/run.py index 43863bb90ed..0fd825d771a 100755 --- a/cpp/test/IceGrid/distribution/run.py +++ b/cpp/test/IceGrid/distribution/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() import IceGridAdmin def icepatch2Calc(datadir, dirname): diff --git a/cpp/test/IceGrid/replicaGroup/run.py b/cpp/test/IceGrid/replicaGroup/run.py index 8de2443fb14..d5fa8c36514 100755 --- a/cpp/test/IceGrid/replicaGroup/run.py +++ b/cpp/test/IceGrid/replicaGroup/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() import IceGridAdmin name = os.path.join("IceGrid", "replicaGroup") diff --git a/cpp/test/IceGrid/replication/run.py b/cpp/test/IceGrid/replication/run.py index 3c93ef42806..33ccce57501 100755 --- a/cpp/test/IceGrid/replication/run.py +++ b/cpp/test/IceGrid/replication/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() import IceGridAdmin name = os.path.join("IceGrid", "replication") diff --git a/cpp/test/IceGrid/session/run.py b/cpp/test/IceGrid/session/run.py index d9b34547674..2641badd573 100755 --- a/cpp/test/IceGrid/session/run.py +++ b/cpp/test/IceGrid/session/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() import IceGridAdmin if not TestUtil.isWin32() and os.getuid() == 0: diff --git a/cpp/test/IceGrid/simple/run.py b/cpp/test/IceGrid/simple/run.py index d90c5932723..b42a2ce003a 100755 --- a/cpp/test/IceGrid/simple/run.py +++ b/cpp/test/IceGrid/simple/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() import IceGridAdmin name = os.path.join("IceGrid", "simple") diff --git a/cpp/test/IceGrid/update/run.py b/cpp/test/IceGrid/update/run.py index c8cec14318d..07133c53ad6 100755 --- a/cpp/test/IceGrid/update/run.py +++ b/cpp/test/IceGrid/update/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() import IceGridAdmin name = os.path.join("IceGrid", "update") diff --git a/cpp/test/IceSSL/configuration/run.py b/cpp/test/IceSSL/configuration/run.py index bc1c833c146..9831ce15e62 100755 --- a/cpp/test/IceSSL/configuration/run.py +++ b/cpp/test/IceSSL/configuration/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("IceSSL", "configuration") diff --git a/cpp/test/IceStorm/federation/run.py b/cpp/test/IceStorm/federation/run.py index 598f4abbb67..3f36ce46a4c 100755 --- a/cpp/test/IceStorm/federation/run.py +++ b/cpp/test/IceStorm/federation/run.py @@ -20,6 +20,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("IceStorm", "federation") testdir = os.path.dirname(os.path.abspath(__file__)) diff --git a/cpp/test/IceStorm/federation2/run.py b/cpp/test/IceStorm/federation2/run.py index 4c4a187ee50..411533e1ff0 100755 --- a/cpp/test/IceStorm/federation2/run.py +++ b/cpp/test/IceStorm/federation2/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("IceStorm", "federation2") testdir = os.path.dirname(os.path.abspath(__file__)) diff --git a/cpp/test/IceStorm/single/run.py b/cpp/test/IceStorm/single/run.py index ce1f7758ea8..01f378c25cf 100755 --- a/cpp/test/IceStorm/single/run.py +++ b/cpp/test/IceStorm/single/run.py @@ -20,6 +20,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("IceStorm", "single") testdir = os.path.dirname(os.path.abspath(__file__)) diff --git a/cpp/test/IceStorm/stress/run.py b/cpp/test/IceStorm/stress/run.py index 89235907598..dacf98b7a2b 100755 --- a/cpp/test/IceStorm/stress/run.py +++ b/cpp/test/IceStorm/stress/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("IceStorm", "stress") testdir = os.path.dirname(os.path.abspath(__file__)) diff --git a/cpp/test/IceUtil/condvar/run.py b/cpp/test/IceUtil/condvar/run.py index 3060d194831..ad44a80d148 100755 --- a/cpp/test/IceUtil/condvar/run.py +++ b/cpp/test/IceUtil/condvar/run.py @@ -19,12 +19,15 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() testdir = os.path.dirname(os.path.abspath(__file__)) workqueue = os.path.join(testdir, "workqueue") print "starting workqueue...", +if TestUtil.debug: + print "(" + workqueue + ")", workqueuePipe = os.popen(workqueue + " 2>&1") print "ok" diff --git a/cpp/test/IceUtil/inputUtil/run.py b/cpp/test/IceUtil/inputUtil/run.py index 1f0816bd4af..2fb0e96c3e5 100755 --- a/cpp/test/IceUtil/inputUtil/run.py +++ b/cpp/test/IceUtil/inputUtil/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() testdir = os.path.dirname(os.path.abspath(__file__)) diff --git a/cpp/test/IceUtil/thread/run.py b/cpp/test/IceUtil/thread/run.py index 394aa162dfc..6d4273abdea 100755 --- a/cpp/test/IceUtil/thread/run.py +++ b/cpp/test/IceUtil/thread/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() testdir = os.path.dirname(os.path.abspath(__file__)) @@ -26,7 +27,10 @@ client = os.path.join(testdir, "client") clientOptions = ' ' + testdir print "starting client...", -clientPipe = os.popen(client + clientOptions + " 2>&1") +command = client + clientOptions +if TestUtil.debug: + print "(" + command + ")", +clientPipe = os.popen(command + " 2>&1") print "ok" TestUtil.printOutputFromPipe(clientPipe) diff --git a/cpp/test/IceUtil/timer/run.py b/cpp/test/IceUtil/timer/run.py index 1bb518aa9fc..1e05abd1220 100755 --- a/cpp/test/IceUtil/timer/run.py +++ b/cpp/test/IceUtil/timer/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() testdir = os.path.dirname(os.path.abspath(__file__)) diff --git a/cpp/test/IceUtil/unicode/run.py b/cpp/test/IceUtil/unicode/run.py index e5f00245ce9..e004f5eb142 100755 --- a/cpp/test/IceUtil/unicode/run.py +++ b/cpp/test/IceUtil/unicode/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() testdir = os.path.dirname(os.path.abspath(__file__)) diff --git a/cpp/test/IceUtil/uuid/run.py b/cpp/test/IceUtil/uuid/run.py index 1bb518aa9fc..0c8912bde72 100755 --- a/cpp/test/IceUtil/uuid/run.py +++ b/cpp/test/IceUtil/uuid/run.py @@ -19,12 +19,15 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() testdir = os.path.dirname(os.path.abspath(__file__)) client = os.path.join(testdir, "client") print "starting client...", +if TestUtil.debug: + print "(" + client + ")", clientPipe = os.popen(client + " 2>&1") print "ok" diff --git a/cpp/test/Slice/errorDetection/run.py b/cpp/test/Slice/errorDetection/run.py index 6fedf753866..81554dfc998 100755 --- a/cpp/test/Slice/errorDetection/run.py +++ b/cpp/test/Slice/errorDetection/run.py @@ -22,6 +22,7 @@ else: # sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() directory = os.path.dirname(os.path.abspath(__file__)) slice2cpp = os.path.join(TestUtil.getBinDir(__file__), "slice2cpp") diff --git a/cpp/test/Slice/keyword/run.py b/cpp/test/Slice/keyword/run.py index cad915b57ec..4863f077175 100755 --- a/cpp/test/Slice/keyword/run.py +++ b/cpp/test/Slice/keyword/run.py @@ -19,6 +19,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +TestUtil.processCmdLine() name = os.path.join("Slice", "keyword") testdir = os.path.dirname(os.path.abspath(__file__)) |