mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
HeaderCheck: Also check AK for broken headers
This commit is contained in:
parent
9c75d9e2cb
commit
30cca01e24
Notes:
sideshowbarker
2024-07-17 18:08:55 +09:00
Author: https://github.com/BenWiederhake Commit: https://github.com/SerenityOS/serenity/commit/30cca01e24 Pull-request: https://github.com/SerenityOS/serenity/pull/15231 Reviewed-by: https://github.com/AtkinsSJ Reviewed-by: https://github.com/davidot Reviewed-by: https://github.com/trflynn89
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue