This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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]

Re: [buildbot] Customized build and board file


On Thursday, October 13 2016, Pedro Alves wrote:

> On 10/13/2016 08:21 PM, Sergio Durigan Junior wrote:
>> 
>> So, I'm trying to decide what is the best way to use the board file.  It
>> needs to be placed in the gdb/testsuite/boards/ directory, right?  
>
> You can run tests against a board file that is elsewhere.
> See the steps described here:
>
>  https://sourceware.org/gdb/wiki/TestingGDB#Testing_gdbserver_in_a_remote_cross-target_configuration
>
> ~~~
>     Create an empty file named site.exp.
>     Create a directory named boards in the same location as site.exp.
>     Create a file named remote-gdbserver.exp in the boards directory (see below).
>     Set the DEJAGNU environment variable to point to the empty site.exp.
>     Run the testsuite with make check-gdb RUNTESTFLAGS="--target_board remote-gdbserver". 
> ~~~
>
> That used to be the only way people could run tests with the
> gdbserver board files before "magic" was added that made it possible
> to import the files into the tree.

Nice, thanks Pedro.  I was reading that page :-).

Yao, could you please put the board file somewhere in your machine,
follow the instructions above, and let me know the path to the site.exp
file that you create?  I can instruct BuildBot to set the DEJAGNU
environment variable to this file, then.

Thanks,

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/


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