test/countloolkits.hpp | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 51aa4a33441b516a67cdb97b6e6e319480ee56c2
Author: Ashod Nakashian <[email protected]>
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 <[email protected]>
Tested-by: Ashod Nakashian <[email protected]>
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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits