From 59b545565f19390e00fab74aa81164f37abb7b75 Mon Sep 17 00:00:00 2001 From: Steve Marple Date: Wed, 6 Jun 2018 07:26:50 +0100 Subject: [PATCH] Add comment showing how to run with electric fence --- extras/test/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extras/test/Makefile b/extras/test/Makefile index a5328cc..a10fe92 100644 --- a/extras/test/Makefile +++ b/extras/test/Makefile @@ -26,7 +26,8 @@ test_MicroNMEA : test_MicroNMEA.o MicroNMEA.o .PHONY : run run : test_MicroNMEA ./test_MicroNMEA < nmea_sentences.txt - +# Or run with electric fence to catch segmentation faults +# LD_PRELOAD=libefence.so ./test_MicroNMEA < nmea_sentences.txt # Regression testing. Run as "make regressiontest", should display # "TEST PASSED" if everything ok.