From 7aa191ca4672a32f19a6fbd1e47a11397cdfa5df Mon Sep 17 00:00:00 2001
From: Virgile Prevosto <virgile.prevosto@m4x.org>
Date: Thu, 29 Jul 2021 16:14:48 +0200
Subject: [PATCH] [Makefile] binary files should not be checked for final
 newline

No need to duplicate filenames in two variables.
---
 Makefile | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/Makefile b/Makefile
index ff3df25fdd3..dddb183595f 100644
--- a/Makefile
+++ b/Makefile
@@ -2184,12 +2184,6 @@ BINARY_DISTRIB_FILES := \
   $(sort $(wildcard ivette/src/dome/doc/template/static/fonts/*)) \
   $(sort $(wildcard share/*.ico share/*.png share/theme/*/*.png))
 
-TESTS_WITHOUT_NEWLINE := \
-  tests/spec/unfinished-oneline-acsl-comment.i \
-  tests/verisec/suite/programs/apps/SpamAssassin/BID-6679/message_write/test \
-  tests/verisec/suite/programs/apps/sendmail/CVE-1999-0047/mime7to8/array_vs_pointer.ods \
-  tests/verisec/suite/programs/apps/sendmail/CVE-1999-0047/mime7to8/data_testing.ods \
-
 BINARY_DISTRIB_TESTS := \
   tests/misc/oracle/interpreted_automata_dataflow_backward.dot \
   tests/misc/oracle/interpreted_automata_dataflow_forward.dot \
@@ -2197,6 +2191,10 @@ BINARY_DISTRIB_TESTS := \
   tests/verisec/suite/programs/apps/sendmail/CVE-1999-0047/mime7to8/array_vs_pointer.ods \
   tests/verisec/suite/programs/apps/sendmail/CVE-1999-0047/mime7to8/data_testing.ods \
 
+TESTS_WITHOUT_NEWLINE := \
+  $(BINARY_DISTRIB_TESTS) \
+  tests/spec/unfinished-oneline-acsl-comment.i \
+
 # OPEN_SOURCE: set it to 'yes' if you want to check open source headers
 # STRICT_HEADERS: set it to 'yes' if you want to consider warnings as errors
 # The target check-headers does the following checks:
-- 
GitLab