It turns out that sometimes [1] the testsuite picks up revision.h (and
config.h) as well.
revision.h does not include config.h and the test subsequently fails with
the DEAL_II_NAMESPACE_* not being found. Disable this check for the
revision.h test.
[1] For an in-source build and if an installed deal.II is tested.
//
// ---------------------------------------------------------------------
-#ifndef dealii___config_h
-#define dealii___config_h
+#ifndef dealii__config_h
+#define dealii__config_h
/***********************************************************************
//
// ---------------------------------------------------------------------
-#ifndef dealii___revision_h
-#define dealii___revision_h
+#ifndef dealii__revision_h
+#define dealii__revision_h
/**
* Name of the local git branch of the source directory.
// ---------------------------------------------------------------------
//
-// Copyright (C) 2013 - 2014 by the deal.II authors
+// Copyright (C) 2013 - 2015 by the deal.II authors
//
// This file is part of the deal.II library.
//
#include HEADER
-// Make sure that config.h is always included:
-DEAL_II_NAMESPACE_OPEN
-DEAL_II_NAMESPACE_CLOSE
+#if !defined(DEAL_II_NAMESPACE_OPEN) && !defined(dealii__revision_h)
+#error "HEADER does not include config.h."
+#endif
+
int main()
{
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams