summaryrefslogtreecommitdiff
path: root/cpp/test/ios/controller/Bundle/ControllerI.mm
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2018-09-04 13:10:44 +0200
committerJose <jose@zeroc.com>2018-09-04 13:10:44 +0200
commitfd3569546f0f835952163e8c6f45ebc283d53227 (patch)
tree222627360efbb0199f8c585a96f1fe0b284f0720 /cpp/test/ios/controller/Bundle/ControllerI.mm
parentcall SymRefreshModuleList Close #55 (diff)
downloadice-fd3569546f0f835952163e8c6f45ebc283d53227.tar.bz2
ice-fd3569546f0f835952163e8c6f45ebc283d53227.tar.xz
ice-fd3569546f0f835952163e8c6f45ebc283d53227.zip
Fix program name in test controllers
Close #183
Diffstat (limited to 'cpp/test/ios/controller/Bundle/ControllerI.mm')
-rw-r--r--cpp/test/ios/controller/Bundle/ControllerI.mm4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/test/ios/controller/Bundle/ControllerI.mm b/cpp/test/ios/controller/Bundle/ControllerI.mm
index 01ce5e193de..803d1cede18 100644
--- a/cpp/test/ios/controller/Bundle/ControllerI.mm
+++ b/cpp/test/ios/controller/Bundle/ControllerI.mm
@@ -356,10 +356,12 @@ ProcessPrx
ProcessControllerI::start(const string& testSuite, const string& exe, const StringSeq& args, const Ice::Current& c)
#endif
{
+ StringSeq newArgs = args;
std::string prefix = std::string("test/") + testSuite;
replace(prefix.begin(), prefix.end(), '/', '_');
+ newArgs.insert(newArgs.begin(), testSuite + ' ' + exe);
[_controller println:[NSString stringWithFormat:@"starting %s %s... ", testSuite.c_str(), exe.c_str()]];
- IceUtil::Handle<ControllerHelperI> helper(new ControllerHelperI(_controller, prefix + '/' + exe + ".bundle", args));
+ IceUtil::Handle<ControllerHelperI> helper(new ControllerHelperI(_controller, prefix + '/' + exe + ".bundle", newArgs));
//
// Use a 768KB thread stack size for the objects test. This is necessary when running the