diff --git a/share/test/test_aslint/test_check_files.py b/share/test/test_aslint/test_check_files.py
index b6378805d2f0373a658ef21106ce895241efd3ff..cd7ab9fa21676789e376f77d149b380939261318 100644
--- a/share/test/test_aslint/test_check_files.py
+++ b/share/test/test_aslint/test_check_files.py
@@ -75,11 +75,11 @@ def test_get_file_type():
             )
             or path in top
             or (typ is None and base in ("fermetur", "histor"))
-            or (typ == "c" and base in ("bibc", "mfront"))
+            or (typ == "c" and base in ("bibc", "mfront", "libs"))
             or (typ == "h" and base == "bibc" and path.endswith(".h"))
-            or (typ == "cxx" and base == "bibcxx")
+            or (typ == "cxx" and base in ("bibcxx", "libs"))
             or (typ == "hxx" and base == "bibcxx" and path.endswith(".h"))
-            or (typ == "for" and base == "bibfor")
+            or (typ == "for" and base in ("bibfor", "libs"))
             or (typ == "hf" and base == "bibfor" and path.endswith(".h"))
             or (typ == "py" and base in ("bibpyt", "code_aster", "run_aster"))
             or (typ == "cython" and base == "code_aster")