]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog
gdb/testsuite: gdb.base/args.exp: add KFAIL for native-extended-gdbserver
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 17 Jun 2021 13:41:59 +0000 (09:41 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Thu, 17 Jun 2021 13:41:59 +0000 (09:41 -0400)
commit18263be7565782a9c07045a7a72d80c507a5be09
tree13653998a640338b8834275203894ea0b88c626d
parentd30e32637d2993aab95a2a1848b045b7bfd90473
gdb/testsuite: gdb.base/args.exp: add KFAIL for native-extended-gdbserver

This test tests passing arguments made of exactly two single-quotes
('') or a single newline character through the --args argument of GDB.
For some reason, GDB adds some extra single quotes when transmitting the
arguments to GDBserver.  This produces some FAILs when testing with the
native-extended-gdbserver board:

    FAIL: gdb.base/args.exp: argv[2] for one empty (with single quotes)
    FAIL: gdb.base/args.exp: argv[2] for two empty (with single quotes)
    FAIL: gdb.base/args.exp: argv[3] for two empty (with single quotes)
    FAIL: gdb.base/args.exp: argv[2] for one newline
    FAIL: gdb.base/args.exp: argv[2] for two newlines
    FAIL: gdb.base/args.exp: argv[3] for two newlines

This is documented as PR 27989.  Add some appropriate KFAILs.

gdb/testsuite/ChangeLog:

* gdb.base/args.exp: Check target, KFAIL if remote.
(args_test): Add parameter and use it.

Change-Id: I49225d1c7df7ebaba480ebdd596df80f8fbf62f0
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/args.exp