[PATCH] Fix 30808 gprofng tests failed
Xi Ruoyao
xry111@xry111.site
Wed Jan 17 11:24:02 GMT 2024
On Fri, 2023-09-01 at 13:04 -0700, Vladimir Mezentsev via Binutils wrote:
> diff --git a/gprofng/testsuite/config/default.exp b/gprofng/testsuite/config/default.exp
> index 1c862d54592..c4a6588bb64 100644
> --- a/gprofng/testsuite/config/default.exp
> +++ b/gprofng/testsuite/config/default.exp
> @@ -32,17 +32,25 @@ if {![info exists CFLAGS]} {
> set CFLAGS "-g -O2"
> }
>
> +remote_exec host "sh -c \"rm -rf tmpdir; mkdir -p tmpdir\""
> if { "$CHECK_TARGET" == "check-install" } {
> set ::env(GPROFNG) "$PREFIX/bin/gprofng"
> } else {
> - set ::env(GPROFNG) "$BUILDDIR/src/gprofng"
> + # Make a temporary install dir to run gprofng from, and point at it
> + remote_exec host "sh -c \"$MAKE -C .. install-gprofng MAKEFLAGS=program_transform_name= DESTDIR=$BUILDDIR/tmpdir/root\""
Unfortunately this has bring back PR29107. I've created PR31252.
--
Xi Ruoyao <xry111@xry111.site>
School of Aerospace Science and Technology, Xidian University
More information about the Binutils
mailing list