From 7ae7e2e8311433d900e81712c2c39815bb2c7678 Mon Sep 17 00:00:00 2001 From: Etienne Renault Date: Thu, 16 Mar 2017 10:14:39 +0100 Subject: [PATCH] includes: must not check *.hxx * tests/sanity/includes.test: here. --- tests/sanity/includes.test | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/sanity/includes.test b/tests/sanity/includes.test index bb9af12b4..0692ee42b 100755 --- a/tests/sanity/includes.test +++ b/tests/sanity/includes.test @@ -1,6 +1,6 @@ #! /bin/sh # -*- coding: utf-8 -*- -# Copyright (C) 2008, 2011-2012, 2016, 2018-2019 Laboratoire de +# Copyright (C) 2008, 2011-2012, 2016-2019 Laboratoire de # Recherche et Développement de l'Epita (LRDE). # Copyright (C) 2004, 2005 Laboratoire d'Informatique de Paris 6 # (LIP6), département Systèmes Répartis Coopératifs (SRC), Université @@ -48,6 +48,9 @@ for file in `find "$INCDIR" \( -name "${1-*}.hh" \ continue fi + # If it is an hxx file the file may not be autocontaining + case $file in *.hxx ) continue ;; esac + echo "#include " >incltest.cc if $CXX $CPPFLAGS -DSKIP_DEPRECATED_WARNING $CXXFLAGS \ -I$top_builddir -I$top_srcdir -I$top_srcdir/buddy/src \