]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb/testsuite] Make gdb.pascal codespell-clean
authorTom de Vries <tdevries@suse.de>
Tue, 20 May 2025 09:05:54 +0000 (11:05 +0200)
committerTom de Vries <tdevries@suse.de>
Tue, 20 May 2025 09:05:54 +0000 (11:05 +0200)
Make gdb.pascal codespell-clean and add the dir to the pre-commit
configuration.

Approved-By: Tom Tromey <tom@tromey.com>
.pre-commit-config.yaml
gdb/testsuite/gdb.pascal/integers.exp

index e2c140dd8cdbd125df04460f53be8367d82b4da2..90d7519d2afeff8c2d8fcdb63db87fc0372adb7b 100644 (file)
@@ -70,7 +70,7 @@ repos:
     rev: v2.4.1
     hooks:
     - id: codespell
-      files: '^(gdbsupport|gdbserver|gdb/(tui|target|data-directory|po|system-gdbinit|mi|syscalls|arch|regformats|compile|python|guile|config|unittests|cli|testsuite/gdb.(ctf|dap|gdb|go|modula2|objc|opencl|perf|replay|reverse|rocm|server|stabs|testsuite|tui|xml)))/'
+      files: '^(gdbsupport|gdbserver|gdb/(tui|target|data-directory|po|system-gdbinit|mi|syscalls|arch|regformats|compile|python|guile|config|unittests|cli|testsuite/gdb.(ctf|dap|gdb|go|modula2|objc|opencl|pascal|perf|replay|reverse|rocm|server|stabs|testsuite|tui|xml)))/'
       args: [--config, gdb/contrib/setup.cfg]
   - repo: local
     hooks:
index 5c878c50df3c0ff6deaca0ab8278a760b491b695..c9974a17a86d8a3715e17871223182d0d9fa8a73 100644 (file)
@@ -59,7 +59,7 @@ gdb_test "next" "l := k;" "next to 'l := k' line"
 gdb_test "print j" " = 2"
 # k should be equal to 3
 gdb_test "print k" " = 3"
-# But l shoud still be zero
+# But l should still be zero
 if { $pascal_compiler_is_gpc } {
   setup_xfail *-*-*
 }