From a8e053a655a63f83c0abe158ae0904ded158cfbc Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Thu, 16 Oct 2014 20:55:39 -0700 Subject: [PATCH] Readme update --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1b6ec91..116b7f1 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,12 @@ This repo contains a demo of: - A c++ program that will simulate a crash - The `gdb` incantation to make the crash backtrace visible in the travis logs -See the `.travis.yml` for detailed instructions and the resulting logs at . One of the travis runs should crash with a nice backtrace showing your the file and line number of the bug: +See `.travis.yml` for detailed instructions you can copy into your own `.travis.yml`. See sample logs at . This repo is configured so that with two runs in the travis matix: + + - One run tests a program that does not crash and therefore the build should cleanly pass + - The other run tests a program that does crash, reports the backtrace, then exits the run with the same errorcode as generated by the crash. + +The backtrace should reveal to you the file and line number of the bug: ``` Core was generated by `./test'.