[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dejagnu-bug
Subject:    bug#44712: Inconsistent directory lookup of executable in dejagnu.exp/host_execute
From:       Jacob Bachmeyer <jcb62281 () gmail ! com>
Date:       2020-11-18 3:58:08
Message-ID: 5FB49BD0.8030806 () gmail ! com
[Download RAW message or body]

Robert Menteer via Bug-dejagnu via wrote:
> This is because the lookup of the executable is done using:
>
> if {![file exists ${executable}]} 
>
> And the executing is done using:
>
> spawn -noecho "*_./_*$executable" ${params}
>
> Please make the usage of $executable consistent and document how 
> host_execute should be called.

The code you are complaining about was fixed in commit 
89f58b27832f8fc7b443988d02e56cfaba12eb5a as part of support for 
regression testing for bug#42399 and documentation for host_execute was 
added in the node "Running unit tests" in commit 
aa173cea24b94d3f714f07bbbfda85740e8e77db.  These will be in 1.6.3.

Closing report as already fixed; not in current master.


-- Jacob



_______________________________________________
Bug-dejagnu mailing list
Bug-dejagnu@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-dejagnu

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic