summaryrefslogtreecommitdiff
path: root/src/mongo/util/lame_stacktrace_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/lame_stacktrace_test.cpp')
-rw-r--r--src/mongo/util/lame_stacktrace_test.cpp12
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();
+}