test/countloolkits.hpp | 2 ++ 1 file changed, 2 insertions(+) New commits: commit 3405593bef2b704752bcb8384f5e5b6bccad2200 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Sun Apr 9 18:25:31 2017 -0400
wsd: reset the test start timer before the first assertions So failing that first assert doesn't give bogus test duration. Change-Id: Iaad2e5654e1264bd126193205b5218fd0f6637ef Reviewed-on: https://gerrit.libreoffice.org/36324 Reviewed-by: Ashod Nakashian <ashnak...@gmail.com> Tested-by: Ashod Nakashian <ashnak...@gmail.com> (cherry picked from commit 51aa4a33441b516a67cdb97b6e6e319480ee56c2) Reviewed-on: https://gerrit.libreoffice.org/36335 Reviewed-by: Jan Holesovsky <ke...@collabora.com> Tested-by: Jan Holesovsky <ke...@collabora.com> diff --git a/test/countloolkits.hpp b/test/countloolkits.hpp index d38ac829..a080ddf5 100644 --- a/test/countloolkits.hpp +++ b/test/countloolkits.hpp @@ -129,6 +129,8 @@ static std::chrono::steady_clock::time_point TestStartTime; static void testCountHowManyLoolkits() { + TestStartTime = std::chrono::steady_clock::now(); + InitialLoolKitCount = countLoolKitProcesses(InitialLoolKitCount); CPPUNIT_ASSERT(InitialLoolKitCount > 0); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits