diff options
| author | Antonin Kral <a.kral@bobek.cz> | 2012-08-29 20:54:51 +0200 |
|---|---|---|
| committer | Antonin Kral <a.kral@bobek.cz> | 2012-08-29 20:54:51 +0200 |
| commit | 83957b73f9177f6e38bd5375bd93ca1f6a47188c (patch) | |
| tree | f20b7d6ac9a9c64ff5bb6b5910a24abbb356b1d5 /src/mongo/util/lame_stacktrace_test.cpp | |
| parent | 5071d203970edd4c995493d810abe20987e76fe9 (diff) | |
Imported Upstream version 2.2.0upstream/2.2.0
Diffstat (limited to 'src/mongo/util/lame_stacktrace_test.cpp')
| -rw-r--r-- | src/mongo/util/lame_stacktrace_test.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mongo/util/lame_stacktrace_test.cpp b/src/mongo/util/lame_stacktrace_test.cpp new file mode 100644 index 00000000000..f2bdb95f680 --- /dev/null +++ b/src/mongo/util/lame_stacktrace_test.cpp @@ -0,0 +1,12 @@ +// Copyright 2012. 10gen, Inc. + +/** + * This is a minimal utility program that you can use to smoke the printStackTrace + * function, until such time as it is properly unit tested. + */ + +#include "mongo/util/stacktrace.h" + +int main(int argc, char **argv) { + mongo::printStackTrace(); +} |
