diff options
author | Itamar <itamar8910@gmail.com> | 2021-05-17 11:06:30 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-19 23:19:07 +0200 |
commit | 832e9c6e02b3629db8d5303fb94ec9d0e7a7b145 (patch) | |
tree | feba63a26148ac8d52813e395dfa7b6ddba61392 /Meta/lint-clang-format.sh | |
parent | fbf796cd9f8934b3cdcdbb398dc78b61a6e830c1 (diff) | |
download | serenity-832e9c6e02b3629db8d5303fb94ec9d0e7a7b145.zip |
LibCpp: Add regression tests for the parser
For each .cpp file in the test suite data, there is a .ast file that
represents the "known good" baseline of the parser result.
Each .cpp file goes through the parser, and the result of
invoking `ASTNode::dump()` on the root node is compared to the
baseline to find regressions.
We also check that there were no parser errors when parsing the .cpp
files.
Diffstat (limited to 'Meta/lint-clang-format.sh')
-rwxr-xr-x | Meta/lint-clang-format.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Meta/lint-clang-format.sh b/Meta/lint-clang-format.sh index 7542a77695..3f83ef7c38 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/Libraries/LibC/syslog.h' \ - ':!:Userland/DevTools/HackStudio/LanguageServers/Cpp/Tests/*' + ':!:Userland/DevTools/HackStudio/LanguageServers/Cpp/Tests/*' \ + ':!:Userland/Libraries/LibCpp/Tests/*' ) else files=() |