diff --git a/testsuite/drivers/unparser_driver.py b/testsuite/drivers/unparser_driver.py index 4159078b4..37159a04c 100644 --- a/testsuite/drivers/unparser_driver.py +++ b/testsuite/drivers/unparser_driver.py @@ -2,6 +2,8 @@ import os.path +from e3.testsuite.driver.classic import TestSkip + from drivers.base_driver import BaseDriver @@ -28,6 +30,12 @@ def unparsing_config_filename(self) -> str: ) def run(self) -> None: + # TODO (eng/libadalang/prettier-ada#10) Prettier-ada is known to leak + # memory. Until this is fixed, do not bother running related tests in + # Valgrind mode. + if self.env.options.valgrind: + raise TestSkip("Prettier-ada is known to leak memory") + # Run the unparser on "input.ada" for the given grammar rule and # unparse it with the default unparsing configuration, with a dump of # the Prettier document.