From a0720c9e5632cbc4018bf6910fa158b74ff0c3e4 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 15 Feb 2018 16:14:08 +1100 Subject: [PATCH] return failure count --- bin/tests/mem/t_mem.c | 4 ++-- util/copyrights | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/tests/mem/t_mem.c b/bin/tests/mem/t_mem.c index e4b2fd90bf..c55d7ea2f9 100644 --- a/bin/tests/mem/t_mem.c +++ b/bin/tests/mem/t_mem.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1999-2001, 2004, 2007, 2009, 2013, 2016 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 1999-2001, 2004, 2007, 2009, 2013, 2016, 2018 Internet Systems Consortium, Inc. ("ISC") * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this @@ -170,7 +170,7 @@ memtest(void) { isc_mem_destroy(&mctx); - return(0); + return(nfails); } static const char *a1 = diff --git a/util/copyrights b/util/copyrights index 7f7044d154..777b73ccf3 100644 --- a/util/copyrights +++ b/util/copyrights @@ -491,7 +491,7 @@ ./bin/tests/master/win32/t_master.vcxproj.user X 2013 ./bin/tests/master_test.c C 1999,2000,2001,2004,2007,2009,2015,2016,2017 ./bin/tests/mem/Makefile.in MAKE 1998,1999,2000,2001,2002,2004,2005,2007,2009,2012,2014,2016,2017 -./bin/tests/mem/t_mem.c C 1999,2000,2001,2004,2007,2009,2013,2016 +./bin/tests/mem/t_mem.c C 1999,2000,2001,2004,2007,2009,2013,2016,2018 ./bin/tests/mem/win32/t_mem.vcxproj.filters.in X 2013,2015 ./bin/tests/mem/win32/t_mem.vcxproj.in X 2013,2015,2016,2017 ./bin/tests/mem/win32/t_mem.vcxproj.user X 2013