diff --git a/tests/mini_parser.py b/tests/mini_parser.py
index fbeaff8e59ffd7d6e442a0e97eb498fdec3c2a70..5dfda06954de1b4a45da5590f4ee86a9568e1ae7 100644
--- a/tests/mini_parser.py
+++ b/tests/mini_parser.py
@@ -77,6 +77,9 @@ class MiniCilParser:
             self._parseTypeattribute(stmt)
         elif re.match(r"typeattributeset\s+.+", stmt):
             self._parseTypeattributeset(stmt)
+        elif re.match(r"expandtypeattribute\s+.+", stmt):
+            # To silence the build warnings.
+            pass
         else:
             m = re.match(r"(\w+)\s+.+", stmt)
             ret = "Warning: Unknown statement type (" + m.group(1) + ") in "