diff options
Diffstat (limited to 'library/cpp/testing/benchmark/main/main.cpp')
-rw-r--r-- | library/cpp/testing/benchmark/main/main.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/library/cpp/testing/benchmark/main/main.cpp b/library/cpp/testing/benchmark/main/main.cpp new file mode 100644 index 0000000000..aabcb89c43 --- /dev/null +++ b/library/cpp/testing/benchmark/main/main.cpp @@ -0,0 +1,16 @@ +#include <library/cpp/testing/benchmark/bench.h> + +#include <util/generic/yexception.h> +#include <util/stream/output.h> + +#include <cstdlib> + +int main(int argc, char** argv) { + try { + return NBench::Main(argc, argv); + } catch (...) { + Cerr << CurrentExceptionMessage() << Endl; + } + + return EXIT_FAILURE; +} |