Hi,

Working directory normally is just taken from the respective target (Projects 
view, Run Configuration) for this (sub) project.
This should default to the path of the executable - so if you haven't set the 
working directory yourself to your HOME this sounds like a bug.

Feel free to submit a bugreport at https://bugreports.qt.io - preferably with a 
way to reproduce it.

Kind regards,
Christian

________________________________________
From: Qt-creator <[email protected]> on 
behalf of Igor Mironchik <[email protected]>
Sent: Friday, August 5, 2016 11:45:42 AM
To: [email protected]
Subject: [Qt-creator] Auto Tests

Hi,

I found that not all tests run with correct working directory with
AutoTests plugin. Some tests run in theirs directory, so working
directory is the same where test places. But some tests run in my HOME
directory. And for this reason tests fail. Some of my tests use
different config files for testing. This files copy to the build
directory during build process and in test I load this files with
assumption that working directory is that where executable places.

Is it known issue?

Thank you.
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to