diff options
Diffstat (limited to 'src/tools/testrunner/amtest.cpp')
-rw-r--r-- | src/tools/testrunner/amtest.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tools/testrunner/amtest.cpp b/src/tools/testrunner/amtest.cpp index 2cbd4aa3..c0c5ca8b 100644 --- a/src/tools/testrunner/amtest.cpp +++ b/src/tools/testrunner/amtest.cpp @@ -29,6 +29,7 @@ ****************************************************************************/ #include <QPointer> +#include <QDir> #include <QRegularExpression> #include <QAbstractEventDispatcher> #if defined(Q_OS_LINUX) @@ -101,6 +102,11 @@ void AmTest::aboutToBlock() emit QAbstractEventDispatcher::instance()->aboutToBlock(); } +bool AmTest::dirExists(const QString &dir) +{ + return QDir(dir).exists(); +} + #if defined(Q_OS_LINUX) QString AmTest::ps(int pid) { |