From 3ff29a66b153c1a76d476ff91a26db931df5de89 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Tue, 17 Feb 2015 11:14:10 +0100 Subject: fuzzy tester: Allow to run for a given time span. This is helpful e.g. for letting the tool run overnight. Change-Id: I03fc9942dff35b6f9c4f966ab6795fede49f0ee6 Reviewed-by: Joerg Bornemann --- tests/fuzzy-test/commandlineparser.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/fuzzy-test/commandlineparser.h') diff --git a/tests/fuzzy-test/commandlineparser.h b/tests/fuzzy-test/commandlineparser.h index 32f0d9cc6..31ea474e0 100644 --- a/tests/fuzzy-test/commandlineparser.h +++ b/tests/fuzzy-test/commandlineparser.h @@ -55,16 +55,19 @@ public: QString profile() const { return m_profile; } QString startCommit() const { return m_startCommit; } + int maxDurationInMinutes() const { return m_maxDuration; } QString usageString() const; private: void assignOptionArgument(const QString &option, QString &argument); + void parseDuration(); QStringList m_commandLine; QString m_command; QString m_profile; QString m_startCommit; + int m_maxDuration; }; #endif // Include guard. -- cgit v1.2.3