You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/01/16 18:23:48 UTC
[GitHub] piiswrong closed pull request #9434: Test backtrace demangling functionality
piiswrong closed pull request #9434: Test backtrace demangling functionality
URL: https://github.com/apache/incubator-mxnet/pull/9434
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/dmlc-core b/dmlc-core
index 2a61609363..6389c10508 160000
--- a/dmlc-core
+++ b/dmlc-core
@@ -1 +1 @@
-Subproject commit 2a61609363b07a82c9f128d5fc73c0fd3a2bad54
+Subproject commit 6389c105080602d014897926a64ecfb8382001cb
diff --git a/tests/cpp/test_main.cc b/tests/cpp/test_main.cc
index a882b0b21f..5556d7bf1c 100644
--- a/tests/cpp/test_main.cc
+++ b/tests/cpp/test_main.cc
@@ -73,6 +73,10 @@ static bool checkForWorkingCuda() {
}
#endif
+void backtrace_test() {
+ CHECK(false) << "backtrace()";
+}
+
int main(int argc, char ** argv) {
#ifdef USE_BREAKPAD
google_breakpad::MinidumpDescriptor descriptor("/tmp");
@@ -97,6 +101,9 @@ int main(int argc, char ** argv) {
mxnet::test::csv = true;
} else if (!strcmp(argv[x], "--quick") || !strcmp(argv[x], "-q")) {
mxnet::test::quick_test = true;
+ } else if (!strcmp(argv[x], "--backtrace")) {
+ backtrace_test();
+ return 0;
}
}
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services