diff options
author | Tom de Vries <tdevries@suse.de> | 2025-05-20 11:05:54 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2025-05-20 11:05:54 +0200 |
commit | 289efc7a383b01b00ad10a3b2ce92e4cc76b20d3 (patch) | |
tree | 1fc5a8705468ab9ccb646a6565fd03dc06d2637f | |
parent | 8dacc75d9ad8075d1ca903534857829b4e68ccb8 (diff) | |
download | binutils-289efc7a383b01b00ad10a3b2ce92e4cc76b20d3.zip binutils-289efc7a383b01b00ad10a3b2ce92e4cc76b20d3.tar.gz binutils-289efc7a383b01b00ad10a3b2ce92e4cc76b20d3.tar.bz2 |
[gdb/testsuite] Make gdb.pascal codespell-clean
Make gdb.pascal codespell-clean and add the dir to the pre-commit
configuration.
Approved-By: Tom Tromey <tom@tromey.com>
-rw-r--r-- | .pre-commit-config.yaml | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.pascal/integers.exp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e2c140d..90d7519 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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: diff --git a/gdb/testsuite/gdb.pascal/integers.exp b/gdb/testsuite/gdb.pascal/integers.exp index 5c878c5..c9974a1 100644 --- a/gdb/testsuite/gdb.pascal/integers.exp +++ b/gdb/testsuite/gdb.pascal/integers.exp @@ -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 *-*-* } |