diff ui/tests/nsstest.cpp @ 534:c262ee333c56

Only benchmark nss once
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 29 Apr 2014 16:26:59 +0000
parents dcb014e7d32f
children 344d15e23f6c
line wrap: on
line diff
--- a/ui/tests/nsstest.cpp	Tue Apr 29 15:59:59 2014 +0000
+++ b/ui/tests/nsstest.cpp	Tue Apr 29 16:26:59 2014 +0000
@@ -256,7 +256,7 @@
     QVERIFY((size_t) instList.size() == strv_length(to_install));
     QVERIFY(strv_length(to_install) != 0);
 
-    QBENCHMARK {
+    QBENCHMARK_ONCE {
         write_stores_nss(to_install, to_remove);
     }
 }

http://wald.intevation.org/projects/trustbridge/