diff options
-rwxr-xr-x | Meta/build-root-filesystem.sh | 2 | ||||
-rwxr-xr-x | Meta/check-newlines-at-eof.py | 2 | ||||
-rwxr-xr-x | Meta/check-style.sh | 2 | ||||
-rwxr-xr-x | Meta/lint-clang-format.sh | 2 | ||||
-rw-r--r-- | Userland/Libraries/LibCpp/Tests/parser/class.ast (renamed from Userland/Libraries/LibCpp/Tests/class.ast) | 0 | ||||
-rw-r--r-- | Userland/Libraries/LibCpp/Tests/parser/class.cpp (renamed from Userland/Libraries/LibCpp/Tests/class.cpp) | 0 | ||||
-rw-r--r-- | Userland/Libraries/LibCpp/Tests/parser/function-decl.ast (renamed from Userland/Libraries/LibCpp/Tests/function-decl.ast) | 0 | ||||
-rw-r--r-- | Userland/Libraries/LibCpp/Tests/parser/function-decl.cpp (renamed from Userland/Libraries/LibCpp/Tests/function-decl.cpp) | 0 | ||||
-rw-r--r-- | Userland/Libraries/LibCpp/Tests/parser/if-else.ast (renamed from Userland/Libraries/LibCpp/Tests/if-else.ast) | 0 | ||||
-rw-r--r-- | Userland/Libraries/LibCpp/Tests/parser/if-else.cpp (renamed from Userland/Libraries/LibCpp/Tests/if-else.cpp) | 0 | ||||
-rw-r--r-- | Userland/Libraries/LibCpp/Tests/parser/local-vars.ast (renamed from Userland/Libraries/LibCpp/Tests/local-vars.ast) | 0 | ||||
-rw-r--r-- | Userland/Libraries/LibCpp/Tests/parser/local-vars.cpp (renamed from Userland/Libraries/LibCpp/Tests/local-vars.cpp) | 0 | ||||
-rw-r--r-- | Userland/Libraries/LibCpp/Tests/parser/strace.ast (renamed from Userland/Libraries/LibCpp/Tests/strace.ast) | 0 | ||||
-rw-r--r-- | Userland/Libraries/LibCpp/Tests/parser/strace.cpp (renamed from Userland/Libraries/LibCpp/Tests/strace.cpp) | 0 | ||||
-rw-r--r-- | Userland/Libraries/LibCpp/Tests/parser/struct.ast (renamed from Userland/Libraries/LibCpp/Tests/struct.ast) | 0 | ||||
-rw-r--r-- | Userland/Libraries/LibCpp/Tests/parser/struct.cpp (renamed from Userland/Libraries/LibCpp/Tests/struct.cpp) | 0 |
16 files changed, 4 insertions, 4 deletions
diff --git a/Meta/build-root-filesystem.sh b/Meta/build-root-filesystem.sh index 8eb8de7dbf..1bf5230e5c 100755 --- a/Meta/build-root-filesystem.sh +++ b/Meta/build-root-filesystem.sh @@ -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/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/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/LibJS/Tests/test-common.js mnt/home/anon/wasm-tests chmod 700 mnt/root diff --git a/Meta/check-newlines-at-eof.py b/Meta/check-newlines-at-eof.py index a7ad1f0321..1ac8a40875 100755 --- a/Meta/check-newlines-at-eof.py +++ b/Meta/check-newlines-at-eof.py @@ -23,7 +23,7 @@ def run(): "**/CMake*.txt", ":!:Kernel/FileSystem/ext2_fs.h", ':!:Userland/DevTools/HackStudio/LanguageServers/Cpp/Tests/*', - ':!:Userland/Libraries/LibCpp/Tests/*' + ':!:Userland/Libraries/LibCpp/Tests/parser/*' ], check=True, capture_output=True diff --git a/Meta/check-style.sh b/Meta/check-style.sh index f8e72c83d2..beb50f9278 100755 --- a/Meta/check-style.sh +++ b/Meta/check-style.sh @@ -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' 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 PRAGMA_ONCE_PATTERN='#pragma once' diff --git a/Meta/lint-clang-format.sh b/Meta/lint-clang-format.sh index f320fa740c..f7b2b0f840 100755 --- a/Meta/lint-clang-format.sh +++ b/Meta/lint-clang-format.sh @@ -13,7 +13,7 @@ if [ "$#" -eq "1" ]; then ':!:Base' \ ':!:Kernel/FileSystem/ext2_fs.h' \ ':!:Userland/DevTools/HackStudio/LanguageServers/Cpp/Tests/*' \ - ':!:Userland/Libraries/LibCpp/Tests/*' + ':!:Userland/Libraries/LibCpp/Tests/parser/*' ) else files=() diff --git a/Userland/Libraries/LibCpp/Tests/class.ast b/Userland/Libraries/LibCpp/Tests/parser/class.ast index 6bd2d276d6..6bd2d276d6 100644 --- a/Userland/Libraries/LibCpp/Tests/class.ast +++ b/Userland/Libraries/LibCpp/Tests/parser/class.ast diff --git a/Userland/Libraries/LibCpp/Tests/class.cpp b/Userland/Libraries/LibCpp/Tests/parser/class.cpp index 4ba773a943..4ba773a943 100644 --- a/Userland/Libraries/LibCpp/Tests/class.cpp +++ b/Userland/Libraries/LibCpp/Tests/parser/class.cpp diff --git a/Userland/Libraries/LibCpp/Tests/function-decl.ast b/Userland/Libraries/LibCpp/Tests/parser/function-decl.ast index d0c528e048..d0c528e048 100644 --- a/Userland/Libraries/LibCpp/Tests/function-decl.ast +++ b/Userland/Libraries/LibCpp/Tests/parser/function-decl.ast diff --git a/Userland/Libraries/LibCpp/Tests/function-decl.cpp b/Userland/Libraries/LibCpp/Tests/parser/function-decl.cpp index 1c646d6c17..1c646d6c17 100644 --- a/Userland/Libraries/LibCpp/Tests/function-decl.cpp +++ b/Userland/Libraries/LibCpp/Tests/parser/function-decl.cpp diff --git a/Userland/Libraries/LibCpp/Tests/if-else.ast b/Userland/Libraries/LibCpp/Tests/parser/if-else.ast index d8582109d1..d8582109d1 100644 --- a/Userland/Libraries/LibCpp/Tests/if-else.ast +++ b/Userland/Libraries/LibCpp/Tests/parser/if-else.ast diff --git a/Userland/Libraries/LibCpp/Tests/if-else.cpp b/Userland/Libraries/LibCpp/Tests/parser/if-else.cpp index 91d0fe62fe..91d0fe62fe 100644 --- a/Userland/Libraries/LibCpp/Tests/if-else.cpp +++ b/Userland/Libraries/LibCpp/Tests/parser/if-else.cpp diff --git a/Userland/Libraries/LibCpp/Tests/local-vars.ast b/Userland/Libraries/LibCpp/Tests/parser/local-vars.ast index 3a7bd2718e..3a7bd2718e 100644 --- a/Userland/Libraries/LibCpp/Tests/local-vars.ast +++ b/Userland/Libraries/LibCpp/Tests/parser/local-vars.ast diff --git a/Userland/Libraries/LibCpp/Tests/local-vars.cpp b/Userland/Libraries/LibCpp/Tests/parser/local-vars.cpp index 42a2c3d235..42a2c3d235 100644 --- a/Userland/Libraries/LibCpp/Tests/local-vars.cpp +++ b/Userland/Libraries/LibCpp/Tests/parser/local-vars.cpp diff --git a/Userland/Libraries/LibCpp/Tests/strace.ast b/Userland/Libraries/LibCpp/Tests/parser/strace.ast index b01cb9e790..b01cb9e790 100644 --- a/Userland/Libraries/LibCpp/Tests/strace.ast +++ b/Userland/Libraries/LibCpp/Tests/parser/strace.ast diff --git a/Userland/Libraries/LibCpp/Tests/strace.cpp b/Userland/Libraries/LibCpp/Tests/parser/strace.cpp index 9844198f63..9844198f63 100644 --- a/Userland/Libraries/LibCpp/Tests/strace.cpp +++ b/Userland/Libraries/LibCpp/Tests/parser/strace.cpp diff --git a/Userland/Libraries/LibCpp/Tests/struct.ast b/Userland/Libraries/LibCpp/Tests/parser/struct.ast index a59e9c21e8..a59e9c21e8 100644 --- a/Userland/Libraries/LibCpp/Tests/struct.ast +++ b/Userland/Libraries/LibCpp/Tests/parser/struct.ast diff --git a/Userland/Libraries/LibCpp/Tests/struct.cpp b/Userland/Libraries/LibCpp/Tests/parser/struct.cpp index 4cc7953275..4cc7953275 100644 --- a/Userland/Libraries/LibCpp/Tests/struct.cpp +++ b/Userland/Libraries/LibCpp/Tests/parser/struct.cpp |