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 \