summaryrefslogtreecommitdiff
path: root/Meta/lint-clang-format.sh
diff options
context:
space:
mode:
authorItamar <itamar8910@gmail.com>2021-08-13 19:24:16 +0300
committerAndreas Kling <kling@serenityos.org>2021-08-14 12:40:55 +0200
commite57fdb63f8c1399db066f04a6ac16e13f8ad0f14 (patch)
tree61af37d3daccd9ca871881d95f9a6055652f0e06 /Meta/lint-clang-format.sh
parenta38c330c686d760d1a0d42a60c4012549dad55fb (diff)
downloadserenity-e57fdb63f8c1399db066f04a6ac16e13f8ad0f14.zip
Tests: Add regression tests for the LibCpp preprocessor
Similarly to the LibCpp parser regression tests, these tests run the preprocessor on the .cpp test files under Userland/LibCpp/Tests/preprocessor, and compare the output with existing .txt ground truth files.
Diffstat (limited to 'Meta/lint-clang-format.sh')
-rwxr-xr-xMeta/lint-clang-format.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/Meta/lint-clang-format.sh b/Meta/lint-clang-format.sh
index f7b2b0f840..0024b621af 100755
--- a/Meta/lint-clang-format.sh
+++ b/Meta/lint-clang-format.sh
@@ -13,7 +13,8 @@ if [ "$#" -eq "1" ]; then
':!:Base' \
':!:Kernel/FileSystem/ext2_fs.h' \
':!:Userland/DevTools/HackStudio/LanguageServers/Cpp/Tests/*' \
- ':!:Userland/Libraries/LibCpp/Tests/parser/*'
+ ':!:Userland/Libraries/LibCpp/Tests/parser/*' \
+ ':!:Userland/Libraries/LibCpp/Tests/preprocessor/*'
)
else
files=()