Skip to content
Snippets Groups Projects
Commit 5aa40269 authored by dedner's avatar dedner Committed by Martin Nolte
Browse files

also change preprocessorTest -> preprocessorAssert

parent 65182e67
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ import sys
import logging
logger = logging.getLogger(__name__)
from dune.common.checkconfiguration import assertHave, preprocessorTest, ConfigurationError
from dune.common.checkconfiguration import assertHave, preprocessorAssert, ConfigurationError
try:
assertHave("HAVE_DUNE_ALUGRID")
......@@ -15,7 +15,7 @@ try:
if not dimgrid:
dimgrid = getDimgrid(constructor)
try:
preprocessorTest([ ("#if HAVE_DUNE_ALUGRID","ALUGrid is not available") ])
preprocessorAssert([ ("#if HAVE_DUNE_ALUGRID","ALUGrid is not available") ])
except checkconfiguration.ConfigurationError as err:
if logger.getEffectiveLevel() == logging.DEBUG:
raise
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment