aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-02-16 14:22:53 +0100
committerRiccardo Spagni <ric@spagni.net>2018-02-16 14:22:53 +0100
commit38f61ef8e2f1a9a44df527132a18c2831dbb5cc3 (patch)
tree1b0b16acbf1184e495775c57fcbf74421e34a92f
parentMerge pull request #3214 (diff)
parentFix coverity issues in performance_tests/main.cpp (diff)
downloadmonero-38f61ef8e2f1a9a44df527132a18c2831dbb5cc3.tar.xz
Merge pull request #3216
5c99608d Fix coverity issues in performance_tests/main.cpp (h908714124)
-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);
}