diff options
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/pt_minimalduiapplication/pt_minimalduiapplication.cpp | 8 | ||||
-rw-r--r-- | benchmarks/pt_widgetsgallery/pt_widgetsgallery.cpp | 4 |
2 files changed, 8 insertions, 4 deletions
diff --git a/benchmarks/pt_minimalduiapplication/pt_minimalduiapplication.cpp b/benchmarks/pt_minimalduiapplication/pt_minimalduiapplication.cpp index e4072730..fe188e38 100644 --- a/benchmarks/pt_minimalduiapplication/pt_minimalduiapplication.cpp +++ b/benchmarks/pt_minimalduiapplication/pt_minimalduiapplication.cpp @@ -125,13 +125,15 @@ void Pt_minimalduiapplication::executeSelf(const QString ¶m) int main(int argc, char **argv) { // fake arc and argv to use the remote theme daemon - int fakeArgc = 2; + int fakeArgc(1);//2; char *fakeArgv[fakeArgc]; - char remoteTheme[] = "-remote-theme"; - fakeArgv[1] = remoteTheme; char appName[] = "./pt_minimalduiapplication"; fakeArgv[0] = appName; + //#MS - waiting for remote daemon get stucked the unit test.. + //char remoteTheme[] = "-remote-theme"; + //fakeArgv[1] = remoteTheme; + if (argc >= 3 && strcmp("--exit-immediately", argv[1]) == 0 && (strcmp("appear", argv[2]) == 0 || strcmp("appearNow", argv[2]) == 0)) { // a DuiApplication can just run once. create the second one with a different name diff --git a/benchmarks/pt_widgetsgallery/pt_widgetsgallery.cpp b/benchmarks/pt_widgetsgallery/pt_widgetsgallery.cpp index 0278c116..2887404e 100644 --- a/benchmarks/pt_widgetsgallery/pt_widgetsgallery.cpp +++ b/benchmarks/pt_widgetsgallery/pt_widgetsgallery.cpp @@ -28,7 +28,9 @@ void Pt_WidgetsGallery::startupTime() { QProcess proc; QString program = "widgetsgallery"; - const QStringList arguments = QStringList() << "-quitimmediately" << "-remote-theme"; + const QStringList arguments = QStringList() << "-quitimmediately"; + //#MS - waiting for remote daemon get stucked the unit test.. + //<< "-remote-theme"; //execute local binary file QString sLocalProgram("../../demos/widgetsgallery/widgetsgallery"); |