mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03:00
LibCpp: Move parser tests to Userland/Libraries/LibCpp/Tests/parser
This commit is contained in:
parent
fd864fbb74
commit
a38c330c68
Notes:
sideshowbarker
2024-07-18 06:59:39 +09:00
Author: https://github.com/itamar8910 Commit: https://github.com/SerenityOS/serenity/commit/a38c330c686 Pull-request: https://github.com/SerenityOS/serenity/pull/9402
@ -151,7 +151,7 @@ cp "$SERENITY_SOURCE_DIR"/README.md mnt/home/anon/
|
|||||||
cp -r "$SERENITY_SOURCE_DIR"/Userland/Libraries/LibJS/Tests mnt/home/anon/js-tests
|
cp -r "$SERENITY_SOURCE_DIR"/Userland/Libraries/LibJS/Tests mnt/home/anon/js-tests
|
||||||
cp -r "$SERENITY_SOURCE_DIR"/Userland/Libraries/LibWeb/Tests mnt/home/anon/web-tests
|
cp -r "$SERENITY_SOURCE_DIR"/Userland/Libraries/LibWeb/Tests mnt/home/anon/web-tests
|
||||||
cp -r "$SERENITY_SOURCE_DIR"/Userland/DevTools/HackStudio/LanguageServers/Cpp/Tests mnt/home/anon/cpp-tests/comprehension
|
cp -r "$SERENITY_SOURCE_DIR"/Userland/DevTools/HackStudio/LanguageServers/Cpp/Tests mnt/home/anon/cpp-tests/comprehension
|
||||||
cp -r "$SERENITY_SOURCE_DIR"/Userland/Libraries/LibCpp/Tests mnt/home/anon/cpp-tests/parser
|
cp -r "$SERENITY_SOURCE_DIR"/Userland/Libraries/LibCpp/Tests/parser mnt/home/anon/cpp-tests/parser
|
||||||
cp -r "$SERENITY_SOURCE_DIR"/Userland/Libraries/LibWasm/Tests mnt/home/anon/wasm-tests
|
cp -r "$SERENITY_SOURCE_DIR"/Userland/Libraries/LibWasm/Tests mnt/home/anon/wasm-tests
|
||||||
cp -r "$SERENITY_SOURCE_DIR"/Userland/Libraries/LibJS/Tests/test-common.js mnt/home/anon/wasm-tests
|
cp -r "$SERENITY_SOURCE_DIR"/Userland/Libraries/LibJS/Tests/test-common.js mnt/home/anon/wasm-tests
|
||||||
chmod 700 mnt/root
|
chmod 700 mnt/root
|
||||||
|
@ -23,7 +23,7 @@ def run():
|
|||||||
"**/CMake*.txt",
|
"**/CMake*.txt",
|
||||||
":!:Kernel/FileSystem/ext2_fs.h",
|
":!:Kernel/FileSystem/ext2_fs.h",
|
||||||
':!:Userland/DevTools/HackStudio/LanguageServers/Cpp/Tests/*',
|
':!:Userland/DevTools/HackStudio/LanguageServers/Cpp/Tests/*',
|
||||||
':!:Userland/Libraries/LibCpp/Tests/*'
|
':!:Userland/Libraries/LibCpp/Tests/parser/*'
|
||||||
],
|
],
|
||||||
check=True,
|
check=True,
|
||||||
capture_output=True
|
capture_output=True
|
||||||
|
@ -12,7 +12,7 @@ cd "$script_path/.." || exit 1
|
|||||||
# */
|
# */
|
||||||
GOOD_LICENSE_HEADER_PATTERN=$'^/\*\n( \* Copyright \(c\) [0-9]{4}(-[0-9]{4})?, .*\n)+ \*\n \* SPDX-License-Identifier: BSD-2-Clause\n \*/\n\n'
|
GOOD_LICENSE_HEADER_PATTERN=$'^/\*\n( \* Copyright \(c\) [0-9]{4}(-[0-9]{4})?, .*\n)+ \*\n \* SPDX-License-Identifier: BSD-2-Clause\n \*/\n\n'
|
||||||
BAD_LICENSE_HEADER_ERRORS=()
|
BAD_LICENSE_HEADER_ERRORS=()
|
||||||
LICENSE_HEADER_CHECK_EXCLUDES=(AK/Checked.h AK/Function.h Userland/Libraries/LibC/elf.h Userland/DevTools/HackStudio/LanguageServers/Cpp/Tests/* Userland/Libraries/LibCpp/Tests/*)
|
LICENSE_HEADER_CHECK_EXCLUDES=(AK/Checked.h AK/Function.h Userland/Libraries/LibC/elf.h Userland/DevTools/HackStudio/LanguageServers/Cpp/Tests/* Userland/Libraries/LibCpp/Tests/parser/*)
|
||||||
|
|
||||||
# We check that "#pragma once" is present
|
# We check that "#pragma once" is present
|
||||||
PRAGMA_ONCE_PATTERN='#pragma once'
|
PRAGMA_ONCE_PATTERN='#pragma once'
|
||||||
|
@ -13,7 +13,7 @@ if [ "$#" -eq "1" ]; then
|
|||||||
':!:Base' \
|
':!:Base' \
|
||||||
':!:Kernel/FileSystem/ext2_fs.h' \
|
':!:Kernel/FileSystem/ext2_fs.h' \
|
||||||
':!:Userland/DevTools/HackStudio/LanguageServers/Cpp/Tests/*' \
|
':!:Userland/DevTools/HackStudio/LanguageServers/Cpp/Tests/*' \
|
||||||
':!:Userland/Libraries/LibCpp/Tests/*'
|
':!:Userland/Libraries/LibCpp/Tests/parser/*'
|
||||||
)
|
)
|
||||||
else
|
else
|
||||||
files=()
|
files=()
|
||||||
|
Loading…
Reference in New Issue
Block a user