This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH][ld/testsuite] Fix sysroot-prefix.exp on Windows.


Hi,

On Windows, the linker works with Windows-style paths, However,
when tests run in MSYS2 environment, they use Unix-style paths.
This patch converts $base_dir into the native style on *-*-mingw*
and *-*-cygwin hosts.

Best regards,
Igor Kudrin

---
ld/ChangeLog

	testsuite/ld-scripts/sysroot-prefix.exp
	(get_base_dir_for_scripts): New function.
	(run_sysroot_prefix_test): Use get_base_dir_for_scripts.

Attachment: ld-test-sysroot-prefix-on-windows.patch.txt
Description: ld-test-sysroot-prefix-on-windows.patch.txt


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]