From 30cca01e2442e9ac6dc38f5e8a1bb42d878d3266 Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Tue, 13 Sep 2022 23:23:55 +0200 Subject: [PATCH] HeaderCheck: Also check AK for broken headers --- Meta/HeaderCheck/generate_all.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Meta/HeaderCheck/generate_all.py b/Meta/HeaderCheck/generate_all.py index f311efa97e..d566f9d7df 100755 --- a/Meta/HeaderCheck/generate_all.py +++ b/Meta/HeaderCheck/generate_all.py @@ -12,7 +12,9 @@ TEST_FILE_TEMPLATE = '''\ def get_headers_here(): - result = subprocess.run(['git', 'ls-files', 'Userland/Libraries/*.h'], check=True, capture_output=True, text=True) + result = subprocess.run( + ['git', 'ls-files', 'AK/*.h', 'Userland/Libraries/*.h'], + check=True, capture_output=True, text=True) assert result.stderr == '' output = result.stdout.split('\n') assert output[-1] == '' # Trailing newline