forked from qt-creator/qt-creator
		
	AutoTest: Improve process error handling
If the test executable cannot be started or it seems not to be the correct one or wrong arguments have been passed to it the user now gets a respective message inside the results pane. Task-number: QTCREATORBUG-18955 Change-Id: Ica68cdbb9e401c8d48a9ce8b23b65d5410d2075a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
This commit is contained in:
		@@ -257,6 +257,11 @@ static void performTestRun(QFutureInterface<TestResultPtr> &futureInterface,
 | 
			
		||||
                TestRunner::tr("Test for project \"%1\" crashed.")
 | 
			
		||||
                    .arg(testConfiguration->displayName()) + processInformation(testProcess)
 | 
			
		||||
                                                           + rcInfo(testConfiguration))));
 | 
			
		||||
        } else if (!outputReader->hadValidOutput()) {
 | 
			
		||||
            futureInterface.reportResult(TestResultPtr(new FaultyTestResult(Result::MessageFatal,
 | 
			
		||||
                TestRunner::tr("Test for project \"%1\" did not produce any expected output.")
 | 
			
		||||
                    .arg(testConfiguration->displayName()) + processInformation(testProcess)
 | 
			
		||||
                                                           + rcInfo(testConfiguration))));
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (canceledByTimeout) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user