aboutsummaryrefslogtreecommitdiff
path: root/tests/performance_tests/main.cpp
diff options
context:
space:
mode:
authorh908714124 <kraftdurchblumen@gmx.de>2018-01-31 09:06:50 +0100
committerh908714124 <kraftdurchblumen@gmx.de>2018-02-07 19:11:29 +0100
commit5c99608d957e8a682956f6fe5c38cac4b7393315 (patch)
treef74d77afd0283213ef1a622f04232ebccf86e429 /tests/performance_tests/main.cpp
parentMerge pull request #3198 (diff)
downloadmonero-5c99608d957e8a682956f6fe5c38cac4b7393315.tar.xz
Fix coverity issues in performance_tests/main.cpp
Diffstat (limited to '')
-rw-r--r--tests/performance_tests/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/performance_tests/main.cpp b/tests/performance_tests/main.cpp
index d1b79d026..efa405160 100644
--- a/tests/performance_tests/main.cpp
+++ b/tests/performance_tests/main.cpp
@@ -75,6 +75,7 @@ std::string glob_to_regex(const std::string &val)
int main(int argc, char** argv)
{
+ TRY_ENTRY();
tools::on_startup();
set_process_affinity(1);
set_thread_high_priority();
@@ -172,4 +173,5 @@ int main(int argc, char** argv)
std::cout << "Tests finished. Elapsed time: " << timer.elapsed_ms() / 1000 << " sec" << std::endl;
return 0;
+ CATCH_ENTRY_L0("main", 1);
}