summaryrefslogtreecommitdiff
path: root/cpp/test/IceGrid/deployer/Client.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2005-04-28 15:19:19 +0000
committerBenoit Foucher <benoit@zeroc.com>2005-04-28 15:19:19 +0000
commita7966697bd3441ab4f5b31a3b469dd8ebe1aab23 (patch)
tree8dd4a5e8140c2c2e23239492cf46088415597191 /cpp/test/IceGrid/deployer/Client.cpp
parentFixed fault-tolerance test work with both single-and dual-CPU machines on (diff)
downloadice-a7966697bd3441ab4f5b31a3b469dd8ebe1aab23.tar.bz2
ice-a7966697bd3441ab4f5b31a3b469dd8ebe1aab23.tar.xz
ice-a7966697bd3441ab4f5b31a3b469dd8ebe1aab23.zip
Added tests for templates.
Diffstat (limited to 'cpp/test/IceGrid/deployer/Client.cpp')
-rw-r--r--cpp/test/IceGrid/deployer/Client.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/cpp/test/IceGrid/deployer/Client.cpp b/cpp/test/IceGrid/deployer/Client.cpp
index ccd7533ff93..785c8e43120 100644
--- a/cpp/test/IceGrid/deployer/Client.cpp
+++ b/cpp/test/IceGrid/deployer/Client.cpp
@@ -17,6 +17,7 @@ int
run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
{
bool withTarget = false;
+ bool withTemplates = false;
if(argc > 1)
{
int i = 1;
@@ -27,14 +28,19 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
withTarget = true;
break;
}
+ else if(strcmp(argv[i], "-e") == 0)
+ {
+ withTemplates = true;
+ break;
+ }
i++;
}
}
if(!withTarget)
{
- void allTests(const Ice::CommunicatorPtr&);
- allTests(communicator);
+ void allTests(const Ice::CommunicatorPtr&, bool);
+ allTests(communicator, withTemplates);
}
else
{