binutils-gdb/binutils/testsuite
Clément Chigot 2b69325792 testsuite: prune DOS drive letter in test outputs
On DOS systems, absolute paths start with the drive letter. This can
trigger failures in the regexp from dump tests, especially for those
checking for warnings or errors. They are usually skipping everything
before the first ":" as it has to be the file path.
  | [^:]*: warning: ...

In order to avoid modifying many regexps to allow such drive letters,
prune them from all the outputs if they are found at the beginning of
a line.

binutils/ChangeLog:

	* testsuite/lib/binutils-common.exp (prune_dump_output): New
	(run_dump_test): Use it.

ld/ChangeLog:

	* testsuite/ld-elf/noinit-sections-2.l: Remove DOS drive letter
	handler.
2023-02-24 14:35:10 +01:00
..
binutils-all opcodes/mips: disassemble unknown micromips instructions as two shorts 2023-02-13 12:05:32 +00:00
config Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
lib testsuite: prune DOS drive letter in test outputs 2023-02-24 14:35:10 +01:00
ChangeLog-0411
ChangeLog-1215
ChangeLog-9303
gentestdlls.c Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30