aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorMiroslav Safr <Miroslav.Safr@tieto.com>2010-02-17 09:31:18 +0200
committerMiroslav Safr <Miroslav.Safr@tieto.com>2010-02-17 09:31:18 +0200
commit10d28f018f032103e0d5ee10db127c0d72b69893 (patch)
tree16fe5723a07f1d4e6ac4ed2854f1b120c91c30fc /benchmarks
parent9ba1a335d6326c400c1de5ca6b30c1052ff82246 (diff)
Changes: Benchmark tests - Disabled stucking cmdline parameter -remote-theme
RevBy: TrustMe Details: 2 execution tests got stucked by waiting for remote theme pt_minimalduiapplication pt_widgetsgallery
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/pt_minimalduiapplication/pt_minimalduiapplication.cpp8
-rw-r--r--benchmarks/pt_widgetsgallery/pt_widgetsgallery.cpp4
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 &param)
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");