summaryrefslogtreecommitdiff
path: root/Meta/check-style.sh
AgeCommit message (Collapse)Author
2021-08-14Tests: Add regression tests for the LibCpp preprocessorItamar
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.
2021-08-14LibCpp: Move parser tests to Userland/Libraries/LibCpp/Tests/parserItamar
2021-05-19LibCpp: Add regression tests for the parserItamar
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.
2021-05-19CppLanguageServer: Put cpp test files in /home/anon/cpp-tests/Itamar
This is similar to the LibJS test data that resides in /home/anon/js-tests. It's more convenient than storing the test programs as raw strings in the code.
2021-05-15Meta: Check that copyright headers are followed by a blank lineLinus Groh
2021-04-29Meta: Make copyright header check more strictLinus Groh
2021-04-19Meta: Remove references to Userland/Libraries/LibELF/exec_elf.hBrendan Coles
2021-04-18Meta: Update check-style.sh to ignore CVS $id$ tagsGunnar Beutner
Userlands/Libraries/LibC/sys/exec_elf.h has an $id$ tag which fails this lint check.
2021-03-03Meta: Stop excluding getopt.cpp from lintingIdan Horowitz
This file was already "serenified" by @bugaevc long ago.
2021-03-03LibCore+LibHTTP+LibGfx: Switch to LibCompressIdan Horowitz
This commit removes the only 3rd party library (and its usages) in serenity: puff, which is used for deflate decompression. and replaces it with the existing original serenity implementation in LibCompress. :^)
2021-01-22Meta: Get building on NixOS (#5005)Jonathan Turner
2021-01-12Libraries: Move to Userland/Libraries/Andreas Kling
2020-09-05Meta: Fix wonky copyright headers in TestsBen Wiederhake
2020-08-12Meta: Check that "#include <LibM/math.h>" is not being usedLinus Groh
2020-07-29Meta: make check-style.sh ignore Libraries/LibCore/puff.cppEmanuele Torre
This file was formerly named `Libraries/LibCore/puff.c` and it was not checked by `check-style.sh` because it only checks .h and .cpp files. Since this file was not written by us, we shouldn't check its style. This file was also causing our Travis builds to fail.
2020-05-29Meta: Add a script check the presence of "#pragma once" in header filesEmanuele Torre
.. and make travis run it. I renamed check-license-headers.sh to check-style.sh and expanded it so that it now also checks for the presence of "#pragma once" in .h files. It also checks the presence of a (single) blank line above and below the "#pragma once" line. I also added "#pragma once" to all the files that need it: even the ones we are not check. I also added/removed blank lines in order to make the script not fail. I also ran clang-format on the files I modified.