From de9b7d712bf5da6593386fd4fbca0d5f8b8431d8 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 1 Jun 2018 07:04:45 +0200 Subject: Add RTEMS_FATAL_SOURCE_INVALID_HEAP_FREE An invalid heap usage such as a double free is usually a fatal error since this indicates a use after free. Replace the use of printk() in free() with a fatal error. Update #3437. --- testsuites/sptests/Makefile.am | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'testsuites/sptests/Makefile.am') diff --git a/testsuites/sptests/Makefile.am b/testsuites/sptests/Makefile.am index 1d8f153d1d..8519702bb1 100644 --- a/testsuites/sptests/Makefile.am +++ b/testsuites/sptests/Makefile.am @@ -1098,6 +1098,16 @@ spfatal31_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal31) \ $(support_includes) endif +if TEST_spfatal32 +sp_tests += spfatal32 +sp_screens += spfatal32/spfatal32.scn +sp_docs += spfatal32/spfatal32.doc +spfatal32_SOURCES = spfatal_support/init.c spfatal_support/system.h \ + spfatal32/testcase.h +spfatal32_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal32) \ + $(support_includes) -I$(top_srcdir)/spfatal32 +endif + if TEST_spfifo01 sp_tests += spfifo01 sp_screens += spfifo01/spfifo01.scn -- cgit v1.2.3