Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
4.6.0
-
None
Description
In function:
int QTest::qExec ( QObject * testObject, const QStringList & arguments );
second parameter is badly interpreted. The first element of the arguments variable have to be a dummy element.
For example if I want to run an autotest:
tst_qwebview -o filename.txt
I had to create arguments like that:
arguments << " " << "-o" << "filename.txt";
if I skip the first element, the last argument (filename.txt) will be interpreted as a test case.
(copy of QT-2521)