1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-08 23:47:14 +00:00

HeaderCheck: Also check AK for broken headers

This commit is contained in:
Ben Wiederhake 2022-09-13 23:23:55 +02:00 committed by Tim Flynn
parent 9c75d9e2cb
commit 30cca01e24

View File

@ -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