1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 08:34:57 +00:00

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.
This commit is contained in:
Itamar 2021-08-13 19:24:16 +03:00 committed by Andreas Kling
parent a38c330c68
commit e57fdb63f8
13 changed files with 101 additions and 3 deletions

View file

@ -23,7 +23,8 @@ def run():
"**/CMake*.txt",
":!: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/*'
],
check=True,
capture_output=True