[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Driving DejaGNU from Linux for testing arm-none-eabi toolchain execu

From: Rob Savoye
Subject: Re: Driving DejaGNU from Linux for testing arm-none-eabi toolchain executed on Windows
Date: Fri, 2 Oct 2020 11:24:28 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0

On 10/2/20 9:29 AM, Torbjorn SVENSSON wrote:

> Is it possible to run DejaGNU on a Linux system for the Windows tests too, 
> but use scp/ssh, or something similar, to connect to the Windows system to 
> run the toolchain binaries?

  Yes, DejaGnu has been able to do this since it was created. The rough
concept is called a Canadian Cross. We used to use telnet, to use ssh
you'd need an ssh server, but Cygwin works quite well.

> 1. Build the toolchain using the Arm provided scripts

  I'd suggest using the ABE tool
(, not sure what ARM uses now,
but Linaro uses ABE. ABE does support build a windows hosted toolchain.

> 2. Copy the source tree to the Windows system. (Is this needed for includes 
> to work...?)

  You don't need to do this.

> Is this possible? If so, how do I configure DejaGNU to do this?

  It's a mix of board files, and the global site.exp file.

> To reduce the risk of introducing different QEMU results on Linux and 
> Windows, I have created a simulator script that transfers the built binary to 
> the Linux system and executes QEMU on the Linux system.

  DejaGnu handles all of this.

        - rob -

reply via email to

[Prev in Thread] Current Thread [Next in Thread]