[Libreoffice-commits] online.git: test/countloolkits.hpp

Ashod Nakashian ashod.nakashian at collabora.co.uk
Mon Apr 10 04:08:40 UTC 2017


 test/countloolkits.hpp |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 51aa4a33441b516a67cdb97b6e6e319480ee56c2
Author: Ashod Nakashian <ashod.nakashian at 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 <ashnakash at gmail.com>
    Tested-by: Ashod Nakashian <ashnakash at gmail.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);
 


More information about the Libreoffice-commits mailing list